{"id":"CVE-2026-80626","summary":"powerpc/perf: fix preempt count underflow in fsl_emb_pmu_del","details":"In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/perf: fix preempt count underflow in fsl_emb_pmu_del\n\nfsl_emb_pmu_del() unconditionally calls put_cpu_var(cpu_hw_events) at\nthe 'out:' label, but only calls the matching get_cpu_var() after the\n'i \u003c 0' early-return check. When event-\u003ehw.idx is negative the\nfunction jumps to 'out:' without having taken get_cpu_var(), and the\ntrailing put_cpu_var() then issues an unmatched preempt_enable(),\nunderflowing preempt_count.\n\nOn a CONFIG_PREEMPT=y kernel preempt_count would underflow and\neventually present as a 'scheduling while atomic' BUG.\n\nMove put_cpu_var() to pair with get_cpu_var() so the percpu access is\ncorrectly bracketed and the 'out:' label only handles perf_pmu_enable.","modified":"2026-08-30T03:48:20.946461822Z","published":"2026-08-28T06:48:44.182Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80626.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5397142d60aa29dcf636f5459d960bfc4f97c42a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/67aeb1eb93d4ffd898a3e74a7f3fe46ee71feb28"},{"type":"WEB","url":"https://git.kernel.org/stable/c/73711688479df333acc134e3730fff1acba1843e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/81e3a86030462824a67d697739cf3f387f4ba350"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a515e00b00132b6fc3f1dd62dc5204bbda8cb10"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b504fd953664c3f4d176ae8cb594adb3fda9d577"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b89477077c834d94381c7bf07d81193bebefcff9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c0c7722308c5f303117d8bd555290fdf26b098da"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80626.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80626"},{"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":"a11106544f33c104706ae42d27219a409b67478e"},{"fixed":"c0c7722308c5f303117d8bd555290fdf26b098da"},{"fixed":"67aeb1eb93d4ffd898a3e74a7f3fe46ee71feb28"},{"fixed":"9a515e00b00132b6fc3f1dd62dc5204bbda8cb10"},{"fixed":"5397142d60aa29dcf636f5459d960bfc4f97c42a"},{"fixed":"b89477077c834d94381c7bf07d81193bebefcff9"},{"fixed":"73711688479df333acc134e3730fff1acba1843e"},{"fixed":"b504fd953664c3f4d176ae8cb594adb3fda9d577"},{"fixed":"81e3a86030462824a67d697739cf3f387f4ba350"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80626.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.34"},{"fixed":"5.10.261"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.212"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.178"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.97"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.40"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80626.json"}}],"schema_version":"1.9.0"}