{"id":"CVE-2024-27431","title":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpumap: Zero-initialise xdp_rxq_info struct before running XDP program\n\nWhen running an XDP program that is attached to a cpumap entry, we don't\ninitialise the xdp_rxq_…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpumap: Zero-initialise xdp_rxq_info struct before running XDP program\n\nWhen running an XDP program that is attached to a cpumap entry, we don't\ninitialise the xdp_rxq_…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-908"],"vendor":"linux","product":"linux_kernel","affected":["linux_kernel >= 5.9, < 5.10.213","linux_kernel >= 5.11, < 5.15.152","linux_kernel >= 5.16, < 6.1.82","linux_kernel >= 6.2, < 6.6.22","linux_kernel >= 6.7, < 6.7.10","linux_kernel = 6.8","debian_linux = 10.0"],"patched":["linux_kernel 6.7.10"],"published":"2024-05-17","updated":"2026-10-15","sourceUpdated":"2026-10-15T01:17:40.920","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-27431","references":[{"url":"https://git.kernel.org/stable/c/2487007aa3b9fafbd2cb14068f49791ce1d7ede5","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/5f4e51abfbe6eb444fa91906a5cd083044278297","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/eaa7cb836659ced2d9f814ac32aa3ec193803ed6","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f0363af9619c77730764f10360e36c6445c12f7b","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f562e4c4aab00986dde3093c4be919c3f2b85a4a","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2487007aa3b9fafbd2cb14068f49791ce1d7ede5","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/5f4e51abfbe6eb444fa91906a5cd083044278297","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/eaa7cb836659ced2d9f814ac32aa3ec193803ed6","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/f0363af9619c77730764f10360e36c6445c12f7b","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/f562e4c4aab00986dde3093c4be919c3f2b85a4a","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}],"tags":["nvd","cve.org"],"epss":0.00232,"epssPercentile":0.14031,"ingestedAt":"2026-10-15T03:30:12.678Z","ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-17T16:29:06.840486Z"},"slug":"CVE-2024-27431","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\ncpumap: Zero-initialise xdp_rxq_info struct before running XDP program\n\nWhen running an XDP program that is attached to a cpumap entry, we don't\ninitialise the xdp_rxq_info data structure being used in the xdp_buff\nthat backs the XDP program invocation. Tobias noticed that this leads to\nrandom values being returned as the xdp_md->rx_queue_index value for XDP\nprograms running in a cpumap.\n\nThis means we're basically returning the contents of the uninitialised\nmemory, which is bad. Fix this by zero-initialising the rxq data\nstructure before running the XDP program.\n\n## Affected\n\n- `linux_kernel >= 5.9, < 5.10.213`\n- `linux_kernel >= 5.11, < 5.15.152`\n- `linux_kernel >= 5.16, < 6.1.82`\n- `linux_kernel >= 6.2, < 6.6.22`\n- `linux_kernel >= 6.7, < 6.7.10`\n- `linux_kernel = 6.8`\n- `debian_linux = 10.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 6.7.10`","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}