| commit | 873f2db84b5c40b7a0efab7db35eff2471f51e16 | [log] [tgz] |
|---|---|---|
| author | Herbert Xu <[email protected]> | Wed Oct 08 15:54:20 2025 +0800 |
| committer | Kevin Liu <[email protected]> | Thu Oct 16 19:03:01 2025 -0700 |
| tree | b0241171b8fb33d4305296b5f54da20c7ceb57b6 | |
| parent | 31aa23ae89168b5f97ed2ae67c6388c9b3d32a7f [diff] |
crypto: essiv - Check ssize for decryption and in-place encryption Move the ssize check to the start in essiv_aead_crypt so that it's also checked for decryption and in-place encryption. BUG=b/451938643 TEST=presubmit RELEASE_NOTE=Fixed KCTF-6bb73db in the Linux Kernel. cos-patch: security-high Reported-by: Muhammad Alifa Ramdhan <[email protected]> Fixes: be1eb7f78aa8 ("crypto: essiv - create wrapper template for ESSIV generation") Change-Id: I71a6403f3163b12d41331375b059cd6bbb1c24d9 Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: Kevin Liu <[email protected]> Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/114121 Tested-by: Cusky Presubmit Bot <[email protected]> Reviewed-by: Kevin Berry <[email protected]>