# bpf: Fix overloading of MEM_UNINIT's meaning

CVE record · `CVE-2024-50164`

- **Identifiers:** `CVE-2024-50164`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 7 Nov 2024
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 7 Nov 2024, 09:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `97e6d7dab1ca4648821c790a2b7913d6d5d549db to before 43f4df339a4d375bedcad29a61ae6f0ee7a048f8` (git)
  - affected: `97e6d7dab1ca4648821c790a2b7913d6d5d549db to before 48068ccaea957469f1adf78dfd2c1c9a7e18f0fe` (git)
  - affected: `97e6d7dab1ca4648821c790a2b7913d6d5d549db to before 54bc31682660810af1bed7ca7a19f182df8d3df8` (git)
  - affected: `97e6d7dab1ca4648821c790a2b7913d6d5d549db to before 8ea607330a39184f51737c6ae706db7fdca7628e` (git)
  - affected: `6099a6c8a749a5c8d5f8b4c4342022a92072a02b` (git)
  - affected: `bfe25df63048edd4ceaf78a2fc755d5e2befc978` (git)
  - affected: `717c39718dbc4f7ebcbb7b625fb11851cd9007fe` (git)
  - affected: `5d0bba8232bf22ce13747cbfc8f696318ff01a50` (git)
  - affected: `70674d11d14eeecad90be4b409a22b902112ba32` (git)
  - affected: `a08d942ecbf46e23a192093f6983cb1d779f4fa8` (git)
  - affected: `5.15.45 to before 5.16` (semver)
  - affected: `5.17.13 to before 5.18` (semver)
  - and 1 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.19`
  - unaffected: `before 5.19` (semver)
  - unaffected: `6.1.125 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.59 to 6.6.*, inclusive` (semver)
  - unaffected: `6.11.6 to 6.11.*, inclusive` (semver)
  - unaffected: `6.12 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel BPF verifier is affected from version 5.19 until the fixes. A BPF program can bypass write checks when a helper's size argument is not a constant, letting it write to read-only maps such as .rodata global maps. Upgrade to Linux 6.1.125, 6.6.59, 6.11.6, 6.12 or later.

Written 19 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0021, the 11th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 7 Nov 2024, 09:31 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2024-50164)
- 7 Nov 2024, 10:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-50164)

## Sources

- [CVE List: CVE-2024-50164](https://www.cve.org/CVERecord?id=CVE-2024-50164)
- [NVD: CVE-2024-50164](https://nvd.nist.gov/vuln/detail/CVE-2024-50164)

### References from the CNA

- <https://git.kernel.org/stable/c/43f4df339a4d375bedcad29a61ae6f0ee7a048f8>
- <https://git.kernel.org/stable/c/48068ccaea957469f1adf78dfd2c1c9a7e18f0fe>
- <https://git.kernel.org/stable/c/54bc31682660810af1bed7ca7a19f182df8d3df8>
- <https://git.kernel.org/stable/c/8ea607330a39184f51737c6ae706db7fdca7628e>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-50164>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-50164/>. Everything for agents: <https://agentprime.io/llms.txt>.
