Searched hist:"52393 d617af7b554f03531e6756facf2ea687d2e" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-dev.h | diff 52393d617af7b554f03531e6756facf2ea687d2e Thu Jun 27 11:16:23 CDT 2019 Hook, Gary <Gary.Hook@amd.com> crypto: ccp - Validate the the error value used to index error messages
The error code read from the queue status register is only 6 bits wide, but we need to verify its value is within range before indexing the error messages.
Fixes: 81422badb3907 ("crypto: ccp - Make syslog errors human-readable") Cc: <stable@vger.kernel.org> Reported-by: Cfir Cohen <cfir@google.com> Signed-off-by: Gary R Hook <gary.hook@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
H A D | ccp-dev.c | diff 52393d617af7b554f03531e6756facf2ea687d2e Thu Jun 27 11:16:23 CDT 2019 Hook, Gary <Gary.Hook@amd.com> crypto: ccp - Validate the the error value used to index error messages
The error code read from the queue status register is only 6 bits wide, but we need to verify its value is within range before indexing the error messages.
Fixes: 81422badb3907 ("crypto: ccp - Make syslog errors human-readable") Cc: <stable@vger.kernel.org> Reported-by: Cfir Cohen <cfir@google.com> Signed-off-by: Gary R Hook <gary.hook@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|