Look up another CVE · open CVE-2026-89501 in the interactive tracker
CVE-2026-89501
ring-buffer: Hold cpu_buffer::lock when resizing a subbuf
Published 2026-09-11 (37 days ago) by the Linux kernel CNA. Subsystem kernel/trace. Debian urgency: unimportant.
What to do, per Debian release
Debian's own status for CVE-2026-89501 in every release this site tracks, and what each one means in practice. Every status below is the one the Debian Security Team publishes for this CVE. source
| Release | Status | Version | What this means |
|---|---|---|---|
| Debian 12bookworm | not affected | 6.1.190-1 | Nothing to do. bookworm never shipped the vulnerable code. |
| Debian 13trixie | fixedDSA-6528-1 · 2026-09-29 · text | 6.12.111-1 | Update the kernel and reboot. DSA-6528-1 shipped the fix on 2026-09-29, in 6.12.111-1. A running kernel keeps the old code until the machine restarts. |
| Debian 14forky | fixed | 7.2.6-1 | Update the kernel and reboot. Fixed in 7.2.6-1. A running kernel keeps the old code until the machine restarts. |
| Debian unstablesid | fixed | 7.2.6-1 | Update the kernel and reboot. Fixed in 7.2.6-1. A running kernel keeps the old code until the machine restarts. |
| Debian 12bookworm · linux-6.12 | fixedDLA-4817-1 · 2026-10-04 · text | 6.12.111-1~deb12u1 | Update the kernel and reboot. DLA-4817-1 shipped the fix on 2026-10-04, in 6.12.111-1~deb12u1. A running kernel keeps the old code until the machine restarts. |
The vulnerability
What the bug is
Because, ring_buffer_subbuf_order_set() can clear cpu_buffer->free_page, hold cpu_buffer->lock to prevent races with ring_buffer_alloc_read_page() and ring_buffer_free_read_page().
Where it lives
The fix touches these files. If the subsystem is one you do not use, the practical exposure is lower, though the package is still the vulnerable one.
kernel/trace/ring_buffer.c
- What this is
- TRACINGMAINTAINERS section matched on kernel/trace/ · linux-kernel@vger.kernel.org · Maintained
Check it on the machine
grep -wE 'CONFIG_FUNCTION_TRACER|CONFIG_RETHOOK|CONFIG_RING_BUFFER|CONFIG_TRACEPOINTS|CONFIG_TRACE_CLOCK|CONFIG_TRACING' /boot/config-$(uname -r)Reads the booted kernel's own configuration, on the machine and nowhere else. =y is built in, =m is a module, and an is not set line means the code is not there.
Show whether Debian builds this, per release
Debian builds this, but not on every flavour. At least one release below builds the code on some of its kernel flavours and not on others, so the answer depends on the architecture and flavour installed.
- bookwormYnot built on arm64/arm64, arm64/cloud-arm64, arm64/rt/arm64, armhf/armmp, armhf/armmp-lpae, armhf/rt/armmp, ppc64el/powerpc64le
- trixieYnot built on arm64/arm64, arm64/arm64-16k, arm64/cloud-arm64, arm64/rt/arm64, armel/rpi, armhf/armmp, armhf/armmp-lpae, armhf/rt/armmp
- forky, sidYnot built on arm64/arm64, arm64/arm64-16k, arm64/cloud-arm64, arm64/rt-arm64, armhf/armmp, armhf/armmp-lpae
- bookworm · linux-6.12Ynot built on arm64/arm64, arm64/arm64-16k, arm64/cloud-arm64, arm64/rt/arm64, armhf/armmp, armhf/armmp-lpae, armhf/rt/armmp
- Y
- built in where it is built at all; some flavours do not build it
- Build switches
- CONFIG_FUNCTION_TRACER, CONFIG_RETHOOK, CONFIG_RING_BUFFER, CONFIG_TRACEPOINTS, CONFIG_TRACE_CLOCK, CONFIG_TRACING
- Reads as
- all on means the file is compiled; any one off means it is not.
From the configuration Debian publishes for every kernel flavour it builds. It covers only the architectures Debian ships a linux-config package for, and nothing about a kernel you built yourself. Debian's own status above stays authoritative about the source package.MAINTAINERS kbuild Makefiles Debian linux-config packages
Signals
- Published
- 2026-09-11 (37 days ago)source
- CVSS
- 7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hsource recompute it - Attack vector
- local (AV:L)source
- EPSS
- 0.17%, higher than 5.7% of all CVEssource
- CISA KEV
- not listedthe KEV catalogue
- Debian urgency
- unimportantsource
- Subsystem
- kernel/trace
Upstream fixes
The versions the CNA records as introducing and fixing this, and the commit for each. source
| Introduced | Fixed in | Commit |
|---|---|---|
| 6.8 | 6.12.109 | 8a496aaa3da6 |
| 6.8 | 6.18.50 | 6fcb0b745a0b |
| 6.8 | 7.2.4 | bf242baf58de |
| 6.8 | 7.3 | 24974bd0da1b |
Debian advisories
| Advisory | Date | Shipped to | Debian |
|---|---|---|---|
| DLA-4817-1 | 2026-10-04 | bookworm 6.12.111-1~deb12u1 | tracker |
| DSA-6528-1 | 2026-09-29 | trixie 6.12.111-1 | tracker |
Why the CNA scored it this way
Quoted from the kernel CNA's own scoring file, word for word. A highlighted metric carries the most severe value CVSS v3.1 defines for it, which is what pushes the score up. source
- AV:LAttack vector, local
- The bug is reached only via local tracefs syscalls: write() to buffer_subbuf_size_kb (ring_buffer_subbuf_order_set) racing with read()/close() on per_cpu/*/trace_pipe_raw (ring_buffer_alloc_read_page and ring_buffer_free_read_page). No network, adjacent-radio, or physical path reaches this free_page steal.
- AC:LAttack complexity, low
- The attacker controls both sides of the race: one thread toggles buffer_subbuf_size_kb to copy and NULL cpu_buffer->free_page without cpu_buffer->lock, while another reads or closes trace_pipe_raw, which takes or caches that page under the lock. Success does not depend on an uninfluenced victim state.
- PR:LPrivileges required, low
- tracing_check_open_get_tr() enforces only LOCKDOWN_TRACEFS and DAC with no capable() check. buffer_subbuf_size_kb and trace_pipe_raw are mode 0640 and are routinely delegated via tracefs gid=/mode= to tracing-group members on Android/Perfetto, ChromeOS, and developer kernels, matching prior CNA tracefs UAF scores.
- UI:NUser interaction, none
- Exploitation uses the attacker’s own tracefs file descriptors and threads (open/read/close trace_pipe_raw while writing buffer_subbuf_size_kb). No separate victim mount, click, or configuration action is required.
- S:UScope, unchanged
- The use-after-free and double-free corrupt kernel ring-buffer pages and metadata within the same OS security authority. This enables local privilege escalation but does not cross VM, IOMMU, container-hypervisor, or hardware trust boundaries.
- C:HConfidentiality impact, high
- ring_buffer_subbuf_order_set() can free the cached free_page after alloc_read_page has already claimed it, including after ring_buffer_read_page swaps it into the live reader page. Recycled heap contents are then copied to userspace via tracing_buffers_read, giving a high-impact disclosure primitive.
- I:HIntegrity impact, high
- The same race double-frees the page or installs a freed page as the live ring-buffer reader page, so later tracing writes and free_read_page hit attacker-reclaimable heap. This UAF/double-free is exploitable for arbitrary kernel writes and control-flow hijack, not merely a crash.
- A:HAvailability impact, high
- Concurrent free of a still-in-use reader or spare page corrupts ring-buffer lists and causes kernel oops/panic on UAF or double-free. The attacker can retrigger the race at will through repeated subbuf resizes and raw-buffer reads.