# CVE-2024-38579: crypto: bcm - Fix pointer arithmetic

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-06-19T13:37:37.154Z
- Modified: 2026-10-15T01:18:29.910Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2 before c256b616067bfd6d274c679c06986b78d2402434; from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2 before e719c8991c161977a67197775067ab456b518c7b; from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2 before ebed0d666fa709bae9e8cafa8ec6e7ebd1d318c6; from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2 before c69a1e4b419c2c466dd8c5602bdebadc353973dd; from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2 before 49833a8da6407e7e9b532cc4054fdbcaf78f5fdd; from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2 before d0f14ae223c2421b334c1f1a9e48f1e809aee3a0; from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2 before c0082ee420639a97e40cae66778b02b341b005e5; from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2 before 3b7a40740f04e2f27114dfd6225c5e721dda9d57; from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2 before 2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9; 4.11 (not affected: before 4.11; from 4.19.316 up to 4.19.*; from 5.4.278 up to 5.4.*; from 5.10.219 up to 5.10.*; from 5.15.161 up to 5.15.*; from 6.1.93 up to 6.1.*; from 6.6.33 up to 6.6.*; from 6.8.12 up to 6.8.*; from 6.9.3 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 4.11 before 4.19.316; from 4.20 before 5.4.278; from 5.5 before 5.10.219; from 5.11 before 5.15.161; from 5.16 before 6.1.93; from 6.2 before 6.6.33; from 6.7 before 6.8.12; from 6.9 before 6.9.3

## References

- <https://git.kernel.org/stable/c/c256b616067bfd6d274c679c06986b78d2402434> (patch)
- <https://git.kernel.org/stable/c/e719c8991c161977a67197775067ab456b518c7b> (patch)
- <https://git.kernel.org/stable/c/ebed0d666fa709bae9e8cafa8ec6e7ebd1d318c6> (patch)
- <https://git.kernel.org/stable/c/c69a1e4b419c2c466dd8c5602bdebadc353973dd> (patch)
- <https://git.kernel.org/stable/c/49833a8da6407e7e9b532cc4054fdbcaf78f5fdd> (patch)
- <https://git.kernel.org/stable/c/d0f14ae223c2421b334c1f1a9e48f1e809aee3a0> (patch)
- <https://git.kernel.org/stable/c/c0082ee420639a97e40cae66778b02b341b005e5> (patch)
- <https://git.kernel.org/stable/c/3b7a40740f04e2f27114dfd6225c5e721dda9d57> (patch)
- <https://git.kernel.org/stable/c/2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>

## Sources

- CVE List: [CVE-2024-38579](https://www.cve.org/CVERecord?id=CVE-2024-38579), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-38579](https://nvd.nist.gov/vuln/detail/CVE-2024-38579), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-38579 · Whole record: https://cve.day/CVE-2024-38579.json · Rebuilt by cve.day 2026-11-25T22:58:42.025Z
