{"id":"CVE-2024-27431","published":"2024-05-17T12:02:10Z","modified":"2026-10-15T00:40:19Z","title":"cpumap: Zero-initialise xdp_rxq_info struct before running XDP program","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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->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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00331,"percentile":0.18703,"provenance":"source"},"cwes":[{"id":"CWE-908","name":"Use of Uninitialized Resource"}],"references":[{"url":"https://git.kernel.org/stable/c/5f4e51abfbe6eb444fa91906a5cd083044278297","tags":[]},{"url":"https://git.kernel.org/stable/c/f0363af9619c77730764f10360e36c6445c12f7b","tags":[]},{"url":"https://git.kernel.org/stable/c/3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95","tags":[]},{"url":"https://git.kernel.org/stable/c/f562e4c4aab00986dde3093c4be919c3f2b85a4a","tags":[]},{"url":"https://git.kernel.org/stable/c/eaa7cb836659ced2d9f814ac32aa3ec193803ed6","tags":[]},{"url":"https://git.kernel.org/stable/c/2487007aa3b9fafbd2cb14068f49791ce1d7ede5","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[]}],"priority":{"score":9.2,"factors":[{"name":"EPSS percentile","points":3.74},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 5f4e51abfbe6eb444fa91906a5cd083044278297",">= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < f0363af9619c77730764f10360e36c6445c12f7b",">= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95",">= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < f562e4c4aab00986dde3093c4be919c3f2b85a4a",">= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < eaa7cb836659ced2d9f814ac32aa3ec193803ed6",">= 9216477449f33cdbc9c9a99d49f500b7fbb81702, < 2487007aa3b9fafbd2cb14068f49791ce1d7ede5"]},{"vendor":"Linux","product":"Linux","versions":["5.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-17T16:29:06.840486Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24635","exploited":false,"provenance":"source"}}