| commit | 4c5be9a246727bd6ede85b46b5df0625cb5ee48e | [log] [tgz] |
|---|---|---|
| author | Herbert Xu <[email protected]> | Wed Oct 08 15:54:20 2025 +0800 |
| committer | Cloud Image Release <[email protected]> | Thu Oct 16 22:31:24 2025 -0700 |
| tree | a2a8c96d675ad635fc389faf76a80858732c275e | |
| parent | f5086976e46da7d1c812aabf51e81e719fe30970 [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/452007080 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]> Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/114161 Tested-by: Cusky Presubmit Bot <[email protected]> Main-Branch-Verified: Cusky Presubmit Bot <[email protected]> Reviewed-by: Kevin Berry <[email protected]> Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/114682