ring-buffer: Prevent subbuf order change when resizing is disabled
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ring-buffer: Prevent subbuf order change when resizing is disabled
Because ring_buffer_subbuf_order_set() frees buffer pages, we can't allow it when resizing is disabled. A non-consuming reader is at risk of use-after-free (rb_advance_iter()).
Return -EBUSY on resize_disabled, matching ring_buffer_resize() behaviour.
From the CVE record · Linux
The Linux kernel ring-buffer can expose a non-consuming reader to use-after-free when the subbuffer order is changed while resizing is disabled. An attacker’s ability to trigger this issue is not specified; the input does not state whether access, authentication, or user interaction is required.
Teams running the Linux kernel should check their installations; affected versions are not specified.