{"id":"CVE-2026-80670","aliases":["CVE-2026-80670"],"related":[],"kind":"vulnerability","state":"published","title":"perf tools: Use perf_env__get_cpu_topology() in machine__resolve()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-08-28T06:49:11.120Z","modified":"2026-08-29T07:16:49.340Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0c4c4debb0adda4c18c158d95031dc2b9f637869","fixed":"b9e8406651dcc1c19238aad11861a758683525b4","status":"affected"},{"type":"git","introduced":"0c4c4debb0adda4c18c158d95031dc2b9f637869","fixed":"eb266a14c16a93eb4db7b56a452d6be93f8bdcd4","status":"affected"},{"type":"git","introduced":"0c4c4debb0adda4c18c158d95031dc2b9f637869","fixed":"5484b43a0ec8231c36fba6ead654cb72dbba8b8f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.4","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b9e8406651dcc1c19238aad11861a758683525b4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eb266a14c16a93eb4db7b56a452d6be93f8bdcd4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5484b43a0ec8231c36fba6ead654cb72dbba8b8f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80670","url":"https://www.cve.org/CVERecord?id=CVE-2026-80670","licence":"CVE Terms of Use","modified":"2026-08-29T06:21:56.727Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80670","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80670","licence":"Public domain","modified":"2026-08-29T07:16:49.340Z"}],"updatedAt":"2026-11-25T22:59:35.607Z","epss":{"score":0.00469,"percentile":0.42258,"date":"2026-12-01T12:00:22.000Z"}}