ring-buffer: Take cpus_read_lock() when changing the subbuf order
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Sep 25, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
ring-buffer: Take cpus_read_lock() when changing the subbuf order
A CPU coming online for the first time gets its per CPU buffer allocated by trace_rb_cpu_prepare(), which then adds it to buffer->cpumask. If that happens while ring_buffer_subbuf_order_set() is running, the CPU shows up after the allocation loop and the install loop walks it with an empty new_pages list, corrupting the buffer.
Take cpus_read_lock() as ring_buffer_resize() does.
| Product | Versions |
|---|---|
| Linux Linux | f9b94daa542a8d2532f0930f01cd9aec2d19621b to before 0677adb0db3cae7489db0ca6b7556d97a7ac1bfa Affectedf9b94daa542a8d2532f0930f01cd9aec2d19621b to before 2c5a807800b5f3349e16af591c9081a65fb4d23d Affectedf9b94daa542a8d2532f0930f01cd9aec2d19621b to before 04162e64f014b90acc5745b28d194eaf596da168 Affectedf9b94daa542a8d2532f0930f01cd9aec2d19621b to before 453d0f47b174cac387af48d303c503b84f82212e Affected |
| Linux Linux | 6.8 Affectedbefore 6.8 Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.