CVE-2024-27431

cpumap: Zero-initialise xdp_rxq_info struct before running XDP program

MEDIUM
5.5
CVSS Score
Published: May 17, 2024 at 12:02 PM UTC
Updated: October 15, 2026 at 01:17 AM UTC
3 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1525.16 ≤ v < 6.1.825.9 ≤ v < 5.10.2136.2 ≤ v < 6.6.226.7 ≤ v < 6.7.106.86.8 rc16.8 rc26.8 rc36.8 rc46.8 rc56.8 rc66.8 rc79216477449f39216477449f33cdbc9c9a99d49f500b7fbb81702
Vendor states this is fixed in 2487007aa3b9fafbd2cb14068f49791ce1d7ede5 (fixed)
Vendor states this is fixed in 3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95 (fixed)
Vendor states this is fixed in 5f4e51abfbe6eb444fa91906a5cd083044278297 (fixed)
Vendor states this is fixed in eaa7cb836659ced2d9f814ac32aa3ec193803ed6 (fixed)
Vendor states this is fixed in f0363af9619c77730764f10360e36c6445c12f7b (fixed)
Vendor states this is fixed in f562e4c4aab00986dde3093c4be919c3f2b85a4a (fixed)
Vendor states this is fixed in 5.10.213 (unaffected)
Vendor states this is fixed in 5.15.152 (unaffected)
Vendor states this is fixed in 5.9 (unaffected)
Vendor states this is fixed in 6.1.82 (unaffected)
Vendor states this is fixed in 6.6.22 (unaffected)
Vendor states this is fixed in 6.7.10 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2487007aa3b9fafbd2cb14068f49791ce1d7ede5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5f4e51abfbe6eb444fa91906a5cd083044278297
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eaa7cb836659ced2d9f814ac32aa3ec193803ed6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f0363af9619c77730764f10360e36c6445c12f7b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f562e4c4aab00986dde3093c4be919c3f2b85a4a
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
Source: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-265688.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-908NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card