crypto: bcm - Fix pointer arithmetic
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2 · < d0f14ae223c2421b334c1f1a9e48f1e809aee3a0| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
crypto: bcm - Fix pointer arithmetic
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.
From the CVE record · Linux
The Linux kernel's bcm crypto code advances a pointer by the cipher key length instead of the hash IV length in spu2_dump_omd(), potentially moving it beyond buffer boundaries. The input does not specify an attacker action or whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels with the affected bcm crypto code should check their versions; affected versions are not specified.