CVE-2024-50164

HIGHNVD 7.17.1
EchelonGraph scoreMEDIUM confidence

Score 7.1 from GitHub Security Advisory (severity: HIGH) published 2024-11-07. NVD baseline CVSS 7.1; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, nvd
7.1EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 7.1Exploit: None knownExposed: 0

A fix is available — apply it.

In the Linux kernel, the following vulnerability has been resolved:

bpf: Fix overloading of MEM_UNINIT's meaning

Lonial reported an issue in the BPF verifier where check_mem_size_reg() has the following code:

if (!tnum_is_const(reg->var_off)) /* For unprivileged variable accesses, disable raw * mode so that the program is required to * initialize all the memory that the helper could * just partially fill up. */ meta = NULL;

This means that writes are not checked when the register containing the size of the passed buffer has not a fixed size. Through this bug, a BPF program can write to a map which is marked as read-only, for example, .rodata global maps.

The problem is that MEM_UNINIT's initial meaning that "the passed buffer to the BPF helper does not need to be initialized" which was added back in commit 435faee1aae9 ("bpf, verifier: add ARG_PTR_TO_RAW_STACK type") got overloaded over time with "the passed buffer is being written to".

The problem however is that checks such as the above which were added later via 06c1c049721a ("bpf: allow helpers access to variable memory") set meta to NULL in order force the user to always initialize the passed buffer to the helper. Due to the current double meaning of MEM_UNINIT, this bypasses verifier write checks to the memory (not boundary checks though) and only assumes the latter memory is read instead.

Fix this by reverting MEM_UNINIT back to its original meaning, and having MEM_WRITE as an annotation to BPF helpers in order to then trigger the BPF verifier checks for writing to memory.

Some notes: check_arg_pair_ok() ensures that for ARG_CONST_SIZE{,_OR_ZERO} we can access fn->arg_type[arg - 1] since it must contain a preceding ARG_PTR_TO_MEM. For check_mem_reg() the meta argument can be removed altogether since we do check both BPF_READ and BPF_WRITE. Same for the equivalent check_kfunc_mem_size_reg().

CVSS v3
7.1
EG Score
7.1(medium)
EG Risk
37(Track)
EG Risk 37/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity71% × 45%
Exploitation0% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
12%
KEV
Not listed

Published

November 7, 2024

Last Modified

September 8, 2026

Advisory Details (6)

Auto-updated Jul 14, 2026
Patch available.
generic Patch Available

[SECURITY] [DLA 4076-1] linux-6.1 security update

https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
generic

bpf: Fix overloading of MEM_UNINIT's meaning - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/8ea607330a39184f51737c6ae706db7fdca7628e
generic

bpf: Fix overloading of MEM_UNINIT's meaning - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/54bc31682660810af1bed7ca7a19f182df8d3df8
generic

bpf: Fix overloading of MEM_UNINIT's meaning - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/48068ccaea957469f1adf78dfd2c1c9a7e18f0fe
generic

bpf: Fix overloading of MEM_UNINIT's meaning - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/43f4df339a4d375bedcad29a61ae6f0ee7a048f8

Vendor Advisories for CVE-2024-50164(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Patch Availability(13)

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(4 across 4 ecosystems)
Debian:11(1)
PackageVulnerable rangeFixed inDependents
linux-6.16.1.106-3~deb11u1, 6.1.106-3~deb11u2, 6.1.106-3~deb11u3, 6.1.112-1~deb11u1, 6.1.119-1~deb11u16.1.128-1~deb11u1
Debian:12(1)
PackageVulnerable rangeFixed inDependents
linux6.1.106-1 ... 6.1.99-1 (34 versions)6.1.128-1
Debian:13(1)
PackageVulnerable rangeFixed inDependents
linux6.11.6-1
Debian:14(1)
PackageVulnerable rangeFixed inDependents
linux6.11.6-1

All Vendor Advisories

(13)

Data Freshness Timeline

(refreshed 7× in last 7d / 34× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 175 total refreshes for this CVE.

  1. 2026-09-20 20:14 UTCEPSS rescore
  2. 2026-09-20 20:14 UTCEPSS rescore
  3. 2026-09-19 15:40 UTCEPSS rescore
  4. 2026-09-18 19:26 UTCEPSS rescore
  5. 2026-09-17 19:27 UTCEPSS rescore
  6. 2026-09-16 14:06 UTCEPSS rescore
  7. 2026-09-16 05:12 UTCEPSS rescore
  8. 2026-09-15 03:08 UTCEPSS rescore
  9. 2026-09-15 03:08 UTCEPSS rescore
  10. 2026-09-13 16:45 UTCEPSS rescore
  11. 2026-09-12 14:59 UTCEPSS rescore
  12. 2026-09-11 14:51 UTCEPSS rescore
  13. 2026-09-11 09:35 UTCEPSS rescore
  14. 2026-09-10 09:33 UTCEPSS rescore
  15. 2026-09-08 21:58 UTCEPSS rescore
  16. 2026-09-08 09:56 UTCEG score recompute
  17. 2026-09-08 09:56 UTCVendor advisory
  18. 2026-09-08 09:56 UTCGHSA enrichment
  19. 2026-09-07 16:00 UTCEPSS rescore
  20. 2026-09-07 08:47 UTCOSV refresh
  21. 2026-09-06 13:46 UTCEPSS rescore
  22. 2026-09-06 13:46 UTCEPSS rescore
  23. 2026-09-04 13:59 UTCEPSS rescore
  24. 2026-09-04 05:05 UTCEPSS rescore
  25. 2026-09-02 14:10 UTCEPSS rescore
Show 75 more
  1. 2026-09-01 13:52 UTCEPSS rescore
  2. 2026-09-01 13:52 UTCEPSS rescore
  3. 2026-08-30 19:16 UTCEPSS rescore
  4. 2026-08-30 01:20 UTCEPSS rescore
  5. 2026-08-28 21:39 UTCEPSS rescore
  6. 2026-08-27 14:23 UTCEPSS rescore
  7. 2026-08-26 14:44 UTCEPSS rescore
  8. 2026-08-25 13:47 UTCEPSS rescore
  9. 2026-08-24 14:15 UTCEPSS rescore
  10. 2026-08-23 00:18 UTCEPSS rescore
  11. 2026-08-21 23:47 UTCEPSS rescore
  12. 2026-08-20 22:54 UTCEPSS rescore
  13. 2026-08-20 18:01 UTCOSV refresh
  14. 2026-08-19 17:02 UTCEPSS rescore
  15. 2026-08-19 17:02 UTCEPSS rescore
  16. 2026-08-18 13:46 UTCEPSS rescore
  17. 2026-08-17 13:45 UTCEPSS rescore
  18. 2026-08-16 14:54 UTCEPSS rescore
  19. 2026-08-16 02:13 UTCEPSS rescore
  20. 2026-08-15 01:29 UTCEPSS rescore
  21. 2026-08-13 21:59 UTCEPSS rescore
  22. 2026-08-12 13:49 UTCEPSS rescore
  23. 2026-08-11 13:40 UTCEPSS rescore
  24. 2026-08-10 23:58 UTCEPSS rescore
  25. 2026-08-09 13:45 UTCEPSS rescore
  26. 2026-08-08 16:35 UTCEPSS rescore
  27. 2026-08-07 16:25 UTCEPSS rescore
  28. 2026-08-06 13:45 UTCEPSS rescore
  29. 2026-08-05 19:16 UTCEPSS rescore
  30. 2026-08-05 11:55 UTCEG score recompute
  31. 2026-08-05 11:55 UTCVendor advisory
  32. 2026-08-05 11:55 UTCGHSA enrichment
  33. 2026-08-04 15:08 UTCEPSS rescore
  34. 2026-08-04 11:36 UTCEG score recompute
  35. 2026-08-04 11:36 UTCVendor advisory
  36. 2026-08-04 11:35 UTCGHSA enrichment
  37. 2026-08-04 10:36 UTCEPSS rescore
  38. 2026-08-03 10:34 UTCEPSS rescore
  39. 2026-08-02 02:25 UTCEPSS rescore
  40. 2026-08-01 04:14 UTCEPSS rescore
  41. 2026-08-01 04:14 UTCEPSS rescore
  42. 2026-07-31 14:12 UTCOSV refresh
  43. 2026-07-30 16:26 UTCEPSS rescore
  44. 2026-07-30 01:29 UTCEPSS rescore
  45. 2026-07-28 15:35 UTCEPSS rescore
  46. 2026-07-27 14:11 UTCEPSS rescore
  47. 2026-07-26 14:53 UTCEPSS rescore
  48. 2026-07-26 14:53 UTCEPSS rescore
  49. 2026-07-25 14:17 UTCEPSS rescore
  50. 2026-07-25 14:16 UTCEPSS rescore
  51. 2026-07-24 14:16 UTCEPSS rescore
  52. 2026-07-23 14:17 UTCEPSS rescore
  53. 2026-07-23 14:17 UTCEPSS rescore
  54. 2026-07-23 02:42 UTCEG score recompute
  55. 2026-07-22 14:07 UTCEPSS rescore
  56. 2026-07-22 14:07 UTCEPSS rescore
  57. 2026-07-21 15:23 UTCEPSS rescore
  58. 2026-07-20 17:06 UTCEPSS rescore
  59. 2026-07-19 14:30 UTCEPSS rescore
  60. 2026-07-19 14:30 UTCEPSS rescore
  61. 2026-07-18 10:03 UTCEPSS rescore
  62. 2026-07-18 10:03 UTCEPSS rescore
  63. 2026-07-16 17:02 UTCEPSS rescore
  64. 2026-07-15 16:57 UTCEPSS rescore
  65. 2026-07-15 16:56 UTCEPSS rescore
  66. 2026-07-15 01:59 UTCEPSS rescore
  67. 2026-07-15 01:59 UTCEPSS rescore
  68. 2026-07-14 13:19 UTCNVD updateCVSS v3 → 7.1 · severity → HIGH
  69. 2026-07-14 12:40 UTCMITRE cvelistV5
  70. 2026-07-13 22:29 UTCEPSS rescore
  71. 2026-07-13 21:08 UTCOSV refresh
  72. 2026-07-13 06:12 UTCEPSS rescore
  73. 2026-07-12 05:45 UTCEPSS rescore
  74. 2026-07-12 05:45 UTCEPSS rescore
  75. 2026-07-11 08:26 UTCEPSS rescore

Frequently asked(5)

What is CVE-2024-50164?
CVE-2024-50164 is a high vulnerability published on November 7, 2024. In the Linux kernel, the following vulnerability has been resolved: bpf: Fix overloading of MEM_UNINIT's meaning Lonial reported an issue in the BPF verifier where checkmemsize_reg() has the following code: if (!tnumisconst(reg->var_off)) /* For unprivileged variable accesses, disable raw * mode so…
When was CVE-2024-50164 disclosed?
CVE-2024-50164 was first published in the National Vulnerability Database on November 7, 2024, with the most recent update on September 8, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2024-50164 actively exploited?
CVE-2024-50164 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 88.0% of all scored CVEs.
What is the CVSS score of CVE-2024-50164?
CVE-2024-50164 has a CVSS v3 base score of 7.1 (NVD).
How do I remediate CVE-2024-50164?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2024-50164, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-50164

Explore →

Is Your Infrastructure Affected by CVE-2024-50164?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.