{"id":"CVE-2024-27431","summary":"cpumap: Zero-initialise xdp_rxq_info struct before running XDP program","details":"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_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-\u003erx_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.","modified":"2026-03-20T12:35:27.567841Z","published":"2024-05-17T12:02:10.274Z","related":["SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2135-1","SUSE-SU-2024:2190-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27431.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2487007aa3b9fafbd2cb14068f49791ce1d7ede5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5f4e51abfbe6eb444fa91906a5cd083044278297"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eaa7cb836659ced2d9f814ac32aa3ec193803ed6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f0363af9619c77730764f10360e36c6445c12f7b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f562e4c4aab00986dde3093c4be919c3f2b85a4a"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27431.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27431"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9216477449f33cdbc9c9a99d49f500b7fbb81702"},{"fixed":"5f4e51abfbe6eb444fa91906a5cd083044278297"},{"fixed":"f0363af9619c77730764f10360e36c6445c12f7b"},{"fixed":"3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95"},{"fixed":"f562e4c4aab00986dde3093c4be919c3f2b85a4a"},{"fixed":"eaa7cb836659ced2d9f814ac32aa3ec193803ed6"},{"fixed":"2487007aa3b9fafbd2cb14068f49791ce1d7ede5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27431.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}