CVE-2024-27431CWE-908

CVE-2024-27431

High · published May 17, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
13.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00232 · 13.3th percentile
Weakness
CWE-908 · Use of Uninitialized Resource
Published
2024-05-17T16:15Z
Affected products (13)
ProductVersionsFixed in
linux/linux_kernel≥ 5.9, < 5.10.2135.10.213
linux/linux_kernel≥ 5.11, < 5.15.1525.15.152
linux/linux_kernel≥ 5.16, < 6.1.826.1.82
linux/linux_kernel≥ 6.2, < 6.6.226.6.22
linux/linux_kernel≥ 6.7, < 6.7.106.7.10
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
debian/debian_linuxall versions—
References (14)
https://git.kernel.org/stable/c/2487007aa3b9fafbd2cb14068f49791ce1d7ede5 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/5f4e51abfbe6eb444fa91906a5cd083044278297 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/eaa7cb836659ced2d9f814ac32aa3ec193803ed6 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f0363af9619c77730764f10360e36c6445c12f7b · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f562e4c4aab00986dde3093c4be919c3f2b85a4a · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/2487007aa3b9fafbd2cb14068f49791ce1d7ede5 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/5f4e51abfbe6eb444fa91906a5cd083044278297 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/eaa7cb836659ced2d9f814ac32aa3ec193803ed6 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/f0363af9619c77730764f10360e36c6445c12f7b · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/f562e4c4aab00986dde3093c4be919c3f2b85a4a · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-265688.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 17 MAY 12:02Z
    cpumap: Zero-initialise xdp_rxq_info struct before running XDP program
    cvelistv5