Skip to main content
Network Thinking Solutions Logo

CVE-2024-27431

Linux kernel: cpumap: Zero-initialise xdp_rxq_info struct before running XDP program

All CVEs
CVE-2024-27431Published 5/17/2024

Linux kernel: cpumap: Zero-initialise xdp_rxq_info struct before running XDP program

Vendor advisory
CVSS7.8High

Overview

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.

Published
5/17/2024
Last modified
10/15/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.9, < 5.10.213

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.152

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.82

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.22

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.7.10

Verify advisory

Source
linux kernel
linux
6.8

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
debian linux
debian
10.0

Verify advisory

Source
Linux
Linux
≥ 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 5f4e51abfbe6eb444fa91906a5cd083044278297

Verify advisory

Source
Linux
Linux
≥ 9216477449f33cdbc9c9a99d49f500b7fbb81702, < f0363af9619c77730764f10360e36c6445c12f7b

Verify advisory

Source
Linux
Linux
≥ 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95

Verify advisory

Source
Linux
Linux
≥ 9216477449f33cdbc9c9a99d49f500b7fbb81702, < f562e4c4aab00986dde3093c4be919c3f2b85a4a

Verify advisory

Source
Linux
Linux
≥ 9216477449f33cdbc9c9a99d49f500b7fbb81702, < eaa7cb836659ced2d9f814ac32aa3ec193803ed6

Verify advisory

Source
Linux
Linux
≥ 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 2487007aa3b9fafbd2cb14068f49791ce1d7ede5

Verify advisory

Source
Linux
Linux
5.9

Verify advisory

Source
linux_kernel
linux
9216477449f3

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
linux_kernel
linux
5.9

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Siemens
< V1.1.1

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.