angler-fishThe Vulnerability History Project

crypto: ccp - Validate buffer lengths for copy operations

      The CCP driver copies data between scatter/gather lists and DMA buffers.
The length of the requested copy operation must be checked against
the available destination buffer length.

Reported-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
    
commit b698a9f4c5c52317db486b069190c7e3d2b97e7e
+78 -30
expand_less