ring-buffer: Make cpu_buffer::free_page a buffer_data_read_page
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d8f52dc3c3f1f987d8cf920ccd8d66590870bf3f, Kernel 7a1fb95de5404134f8758c1295ce88986bdf117c, Kernel a1dabe68fb53730bc0be60c5dbfd3f4c560084e7 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: ring-buffer: Make cpu_buffer::free_page a buffer_data_read_page Discarding a cached reader page after a concurrent ring buffer resize uses the new global subbuf_order for the free_pages() call. This mismatched order may crashes the kernel or leaks memory because the cached page was allocated under the old size. Save the actual free_page order alongside the page address to ensure we always refer to the correct value and do not rely on the potentially stalled cpu_buffer->subbuf_order value. The simplest is to make free_page a buffer_data_read_page which already covers exactly what we need: a page address and a page order.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=8e7b58c27b3c567316a51079b375b846f9223bba <d8f52dc3c3f1f987d8cf920ccd8d66590870bf3f, >=8e7b58c27b3c567316a51079b375b846f9223bba <7a1fb95de5404134f8758c1295ce88986bdf117c, >=8e7b58c27b3c567316a51079b375b846f9223bba <a1dabe68fb53730bc0be60c5dbfd3f4c560084e7, >=8e7b58c27b3c567316a51079b375b846f9223bba <d787d509bdf6c88c85e095247daf7456cb7fb772, =6.8 | d8f52dc3c3f1f987d8cf920ccd8d66590870bf3f, 7a1fb95de5404134f8758c1295ce88986bdf117c, a1dabe68fb53730bc0be60c5dbfd3f4c560084e7, d787d509bdf6c88c85e095247daf7456cb7fb772 |
| linux-kernel: Kernel | >=6.19.0 <7.2.4, >=6.8.0 <6.12.112, >=6.13.0 <6.18.51 | 7.2.4, 6.12.112, 6.18.51 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket