Skip to content
7.8 High

CVE-2024-27431 In the Linux kernel, the following vulnerability has been resolved: cpumap: Zero-initialise xdp_rxq_info struct before…

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 products and versions

Product Affected versions Fixed in
Linux 6.8 earliest → < 6.8 6.8
Linux 6.7 earliest → < 6.7.10 6.7.10
Linux 6.6 earliest → < 6.6.22 6.6.22
Linux 6.1 earliest → < 6.1.82 6.1.82
Linux 5.15 earliest → < 5.15.152 5.15.152
Linux 5.10 earliest → < 5.10.213 5.10.213
Linux 5.9 No fix stated
linux_kernel 6.8 earliest → < 6.8 6.8
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 earliest → < 1.1.1 1.1.1

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE