CVE-2026-89791
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.8
- Severity
- 7.8
- EPSS
- 0.2 %
- Percentile
- 8
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn the Linux kernel, the following vulnerability has been resolved: perf: Fix use-after-free when perf mmap() revival races with the last munmap() perf_mmap_close() drops rb->mmap_count *without* holding event->mmap_mutex (the refcount_dec_and_test() right before the refcount_dec_and_mutex_lock() of event->mmap_count). A concurrent perf_mmap_rb() can slot its entire "revival" path into that window (perf_mmap holds event->mmap_mutex for its whole duration, including rb_alloc): munmap side (perf_mmap_close) mmap side (perf_mmap_rb) ----------------------------------- -------------------------------- rb->mmap_count 1 -> 0 (no lock) (holds event->mmap_mutex) inc_not_zero(rb->mmap_count) fails ring_buffer_attach(event, NULL) rb_alloc() + attach new rb refcount_set(&event->mmap_count, 1) lock; event->mmap_count 1 -> 0 ring_buffer_attach(event, NULL) ring_buffer_put() -> frees the *new* rb The revival's refcount_set(&event->mmap_count, 1) is an invisible 1 -> 1 write: the close frees the just-revived buffer although the other process still has it mapped -- a page-level use-after-free allowing local privilege escalation to root by any unprivileged user (default kernel.perf_event_paranoid=2). Swap the order of the two counter updates: event->mmap_count is dropped first via refcount_dec_and_mutex_lock(), so its 1 -> 0 transition and the ring_buffer_attach() stay serialized with perf_mmap(). rb->mmap_count == 0 then implies every event using the buffer is detached already, so the result of the rb->mmap_count drop can gate the remaining teardown directly and detach_rest is no longer needed. An earlier fix for this race from Kyle Zeng and David Lee takes event->mmap_mutex around both counter updates [0]; here the not-last close stays lockless.
- Published
- 16.09.2026
- Modified
- 19.10.2026
- Status
- Received
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor updates
15- Ubuntu: USN-9160-1 – Linux kernel (Azure) vulnerabilities 19.11.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:24691-1 – Security update for the Linux Kernel 12.11.2026 · Critical · Patch day
- Red Hat: RHSA-2026:98608 – RHSA-2026:98608 kernel security update 11.11.2026 · Patch day
- SUSE: SUSE-SU-2026:24543-1 – Security update for the Linux Kernel 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9020-1 – Linux kernel vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9021-1 – Linux kernel (Raspberry Pi) vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9019-1 – Linux kernel (Azure) vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-8959-1 – Linux kernel vulnerabilities 03.11.2026 · Critical · Patch day
- Ubuntu: USN-8960-1 – Linux kernel (OEM) vulnerabilities 03.11.2026 · Critical · Patch day
- Red Hat: RHSA-2026:88477 – RHSA-2026:88477 kernel security update 23.10.2026 · Patch day
- Microsoft: Mariner 22.10.2026 · High · Patch day
- SUSE: SUSE-SU-2026:24197-1 – Security update for the Linux Kernel 20.10.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:24235-1 – Security update for the Linux Kernel 20.10.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:24179-1 – Security update for the Linux Kernel 19.10.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:24184-1 – Security update for the Linux Kernel 19.10.2026 · Critical · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.