{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-27431","id":"CVE-2024-27431","title":"cpumap: Zero-initialise xdp_rxq_info struct before running XDP program","description":"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-","descriptionLong":"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.","published":"2024-05-17T12:02:10.274Z","updated":"2026-10-28T02:30:49.611032367Z","reserved":"2024-02-25T13:47:42.686Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9216477449f33cdbc9c9a99d49f500b7fbb81702","lessThan":"5f4e51abfbe6eb444fa91906a5cd083044278297","status":"affected","versionType":"git"},{"version":"9216477449f33cdbc9c9a99d49f500b7fbb81702","lessThan":"f0363af9619c77730764f10360e36c6445c12f7b","status":"affected","versionType":"git"},{"version":"9216477449f33cdbc9c9a99d49f500b7fbb81702","lessThan":"3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95","status":"affected","versionType":"git"},{"version":"9216477449f33cdbc9c9a99d49f500b7fbb81702","lessThan":"f562e4c4aab00986dde3093c4be919c3f2b85a4a","status":"affected","versionType":"git"},{"version":"9216477449f33cdbc9c9a99d49f500b7fbb81702","lessThan":"eaa7cb836659ced2d9f814ac32aa3ec193803ed6","status":"affected","versionType":"git"},{"version":"9216477449f33cdbc9c9a99d49f500b7fbb81702","lessThan":"2487007aa3b9fafbd2cb14068f49791ce1d7ede5","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.9","status":"affected"},{"version":"0","lessThan":"5.9","status":"unaffected","versionType":"semver"},{"version":"5.10.213","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.152","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.82","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.22","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7.10","lessThanOrEqual":"6.7.*","status":"unaffected","versionType":"semver"},{"version":"6.8","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-908"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/5f4e51abfbe6eb444fa91906a5cd083044278297","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/f0363af9619c77730764f10360e36c6445c12f7b","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/3420b3ff1ff489c177ea1cb7bd9fbbc4e9a0be95","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/f562e4c4aab00986dde3093c4be919c3f2b85a4a","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/eaa7cb836659ced2d9f814ac32aa3ec193803ed6","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/2487007aa3b9fafbd2cb14068f49791ce1d7ede5","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27431.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27431","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00232,"epssPercentile":0.14277,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-27431","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27431","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-27431","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-27431","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}