Home
last modified time | relevance | path

Searched hist:b698a9f4 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/crypto/ccp/
H A Dccp-ops.cb698a9f4 Wed Mar 07 11:31:14 CST 2018 Gary R Hook <gary.hook@amd.com> 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>
b698a9f4 Wed Mar 07 11:31:14 CST 2018 Gary R Hook <gary.hook@amd.com> 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>