Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-27431

HIGH 7.8EPSS 19%

cpumap: Zero-initialise xdp_rxq_info struct before running XDP program

Mitigation

  • Upgrade Linux to 2487007aa3b9fafbd2cb14068f49791ce1d7ede5 or later.

Who should check

  • Anyone running Linux >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 5f4e51abfbe6eb444fa91906a5cd083044278297; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < f0363af9619c77730764f10360e36c6445c12f7b; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < f562e4c4aab00986dde3093c4be919c3f2b85a4a; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < eaa7cb836659ced2d9f814ac32aa3ec193803ed6; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 2487007aa3b9fafbd2cb14068f49791ce1d7ede5
  • Anyone running Linux 5.9

Vulnerability facts

Affected
Linux >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 5f4e51abfbe6eb444fa91906a5cd083044278297; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < f0363af9619c77730764f10360e36c6445c12f7b; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < f562e4c4aab00986dde3093c4be919c3f2b85a4a; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < eaa7cb836659ced2d9f814ac32aa3ec193803ed6; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 2487007aa3b9fafbd2cb14068f49791ce1d7ede5; Linux 5.9
Fixed in
Linux 5f4e51abfbe6eb444fa91906a5cd083044278297, Linux 3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95, Linux 2487007aa3b9fafbd2cb14068f49791ce1d7ede5
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.33% chance of exploitation in 30 days (percentile 19, 2026-11-26)
CWE
CWE-908
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: cpumap: Zero-initialise xdp_rxq_info struct before running XDP program When running an XDP program that is attached to a cpumap entry, we don't initialise the xdp_rxq_info data structure being used in the xdp_buff that backs the XDP program invocation. Tobias noticed that this leads to random values being returned as the xdp_md->rx_queue_index value for XDP programs running in a cpumap. This means we're basically returning the contents of the uninitialised memory, which is bad. Fix this by zero-initialising the rxq data structure before running the XDP program.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 5f4e51abfbe6eb444fa91906a5cd083044278297; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < f0363af9619c77730764f10360e36c6445c12f7b; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < f562e4c4aab00986dde3093c4be919c3f2b85a4a; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < eaa7cb836659ced2d9f814ac32aa3ec193803ed6; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 2487007aa3b9fafbd2cb14068f49791ce1d7ede5—cvelist
Linux5.9—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2024-27431.md
Affected: Linux >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 5f4e51abfbe6eb444fa91906a5cd083044278297; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < f0363af9619c77730764f10360e36c6445c12f7b; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95; >= 9216477449f33cdbc9c9a99…
Fixed in: Linux 5f4e51abfbe6eb444fa91906a5cd083044278297, Linux 3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95, Linux 2487007aa3b9fafbd2cb14068f49791ce1d7ede5

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.

References

FAQ

Is CVE-2024-27431 being exploited?

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

How serious is CVE-2024-27431?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-27431?

Linux >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 5f4e51abfbe6eb444fa91906a5cd083044278297; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < f0363af9619c77730764f10360e36c6445c12f7b; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < f562e4c4aab00986dde3093c4be919c3f2b85a4a; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < eaa7cb836659ced2d9f814ac32aa3ec193803ed6; >= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 2487007aa3b9fafbd2cb14068f49791ce1d7ede5; Linux 5.9.

Is there a fix for CVE-2024-27431?

Yes. Fixed in Linux 5f4e51abfbe6eb444fa91906a5cd083044278297, Linux 3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95, Linux 2487007aa3b9fafbd2cb14068f49791ce1d7ede5. Upgrade Linux to 2487007aa3b9fafbd2cb14068f49791ce1d7ede5 or later.

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

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.

Sponsors