{"id":"CVE-2026-80670","published":"2026-08-28T06:49:11Z","modified":"2026-08-29T06:21:56Z","title":"perf tools: Use perf_env__get_cpu_topology() in machine__resolve()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf tools: Use perf_env__get_cpu_topology() in machine__resolve()\n\nmachine__resolve() accesses env->cpu[al->cpu].socket_id after checking\nal->cpu >= 0 and env->cpu != NULL, but without validating al->cpu\nagainst env->nr_cpus_avail.  Since al->cpu comes from the untrusted\nperf.data sample, a crafted file with a large CPU index causes an\nout-of-bounds heap read.\n\nUse perf_env__get_cpu_topology() which validates both NULL and bounds.\nAlso bounds-check al->cpu before the cast to struct perf_cpu (int16_t):\nwithout this, values like 65536 silently truncate to 0, bypassing the\naccessor's internal check and returning CPU 0's topology.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00671,"percentile":0.47034,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b9e8406651dcc1c19238aad11861a758683525b4","tags":[]},{"url":"https://git.kernel.org/stable/c/eb266a14c16a93eb4db7b56a452d6be93f8bdcd4","tags":[]},{"url":"https://git.kernel.org/stable/c/5484b43a0ec8231c36fba6ead654cb72dbba8b8f","tags":[]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":9.41},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0c4c4debb0adda4c18c158d95031dc2b9f637869, < b9e8406651dcc1c19238aad11861a758683525b4",">= 0c4c4debb0adda4c18c158d95031dc2b9f637869, < eb266a14c16a93eb4db7b56a452d6be93f8bdcd4",">= 0c4c4debb0adda4c18c158d95031dc2b9f637869, < 5484b43a0ec8231c36fba6ead654cb72dbba8b8f"]},{"vendor":"Linux","product":"Linux","versions":["4.4"]}],"euvd":{"id":"EUVD-2026-67546","exploited":false,"provenance":"source"}}