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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **Published:** 2024-06-19T13:37:37.154Z
- **Modified:** 2026-10-15T01:18:29.910Z

## Who should check

- Anyone running Linux \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< c256b616067bfd6d274c679c06986b78d2402434; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< e719c8991c161977a67197775067ab456b518c7b; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< ebed0d666fa709bae9e8cafa8ec6e7ebd1d318c6; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< c69a1e4b419c2c466dd8c5602bdebadc353973dd; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< 49833a8da6407e7e9b532cc4054fdbcaf78f5fdd; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< d0f14ae223c2421b334c1f1a9e48f1e809aee3a0; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< c0082ee420639a97e40cae66778b02b341b005e5; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< 3b7a40740f04e2f27114dfd6225c5e721dda9d57; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< 2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9
- Anyone running Linux 4.11

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

## Affected and fixed versions

- Linux: \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< c256b616067bfd6d274c679c06986b78d2402434; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< e719c8991c161977a67197775067ab456b518c7b; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< ebed0d666fa709bae9e8cafa8ec6e7ebd1d318c6; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< c69a1e4b419c2c466dd8c5602bdebadc353973dd; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< 49833a8da6407e7e9b532cc4054fdbcaf78f5fdd; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< d0f14ae223c2421b334c1f1a9e48f1e809aee3a0; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< c0082ee420639a97e40cae66778b02b341b005e5; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< 3b7a40740f04e2f27114dfd6225c5e721dda9d57; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< 2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9 (cvelist)
- Linux: 4.11 (cvelist)

## Mitigation

- Upgrade Linux to 2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-38579. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-38579.md
Affected: Linux >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < c256b616067bfd6d274c679c06986b78d2402434; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < e719c8991c161977a67197775067ab456b518c7b; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < ebed0d666fa709bae9e8cafa8ec6e7ebd1d318c6; >= 9d12ba86f818aa9cfe9f01b…
Fixed in: Linux 49833a8da6407e7e9b532cc4054fdbcaf78f5fdd, Linux 3b7a40740f04e2f27114dfd6225c5e721dda9d57, Linux 2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-38579 being exploited?

There is no confirmed exploitation: CVE-2024-38579 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-38579?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-38579?

Linux \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< c256b616067bfd6d274c679c06986b78d2402434; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< e719c8991c161977a67197775067ab456b518c7b; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< ebed0d666fa709bae9e8cafa8ec6e7ebd1d318c6; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< c69a1e4b419c2c466dd8c5602bdebadc353973dd; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< 49833a8da6407e7e9b532cc4054fdbcaf78f5fdd; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< d0f14ae223c2421b334c1f1a9e48f1e809aee3a0; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< c0082ee420639a97e40cae66778b02b341b005e5; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< 3b7a40740f04e2f27114dfd6225c5e721dda9d57; \>= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, \< 2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9; Linux 4.11.

### Is there a fix for CVE-2024-38579?

Yes. Fixed in Linux 49833a8da6407e7e9b532cc4054fdbcaf78f5fdd, Linux 3b7a40740f04e2f27114dfd6225c5e721dda9d57, Linux 2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9. Upgrade Linux to 2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9 or later.

### How do I check if I'm affected by CVE-2024-38579?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-38579>

HTML: <https://flawdb.com/CVE-2024-38579> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-38579>
