Commit fadaefd
committed
crypto: bcm - Fix pointer arithmetic
jira LE-1907
cve CVE-2024-38579
Rebuild_History Non-Buildable kernel-4.18.0-553.22.1.el8_10
commit-author Aleksandr Mishin <[email protected]>
commit 2b3460c
In spu2_dump_omd() value of ptr is increased by ciph_key_len
instead of hash_iv_len which could lead to going beyond the
buffer boundaries.
Fix this bug by changing ciph_key_len to hash_iv_len.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 9d12ba8 ("crypto: brcm - Add Broadcom SPU driver")
Signed-off-by: Aleksandr Mishin <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
(cherry picked from commit 2b3460c)
Signed-off-by: Jonathan Maple <[email protected]>1 parent 272e4bd commit fadaefd
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
| 509 | + | |
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
| |||
0 commit comments