{"id":"CVE-2026-89771","published":"2026-09-11T19:47:10Z","modified":"2026-10-19T08:52:24Z","title":"ring-buffer: Fix subbuf resize race with ring buffer readers","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nring-buffer: Fix subbuf resize race with ring buffer readers\n\ntrace_buffer subbuf_size is read lockless in ring_buffer_read_page() and\nring_buffer_read_start(), while it can simultaneously be resized with\nring_buffer_subbuf_order_set().\n\nInstead of trace_buffer::subbuf_size, use bpage::order in\nring_buffer_read_start() and ring_buffer_read_page().\n\nIn ring_buffer_read_start(), even with resize_disabled, there is still a\npossibility of a race with a buffer modification. Hold the trace_buffer\nmutex to synchronise with any pending ring buffer order modification.\n\ntrace_buffer::subbuf_size is now actually useless, remove it. Also,\ncreate accessors rb_subbuf_capacity() and rb_page_capacity() which\nreturn the actual size available for storing events, while\nrb_subbuf_size() returns the actual subbuf page-size.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0012,"percentile":0.018,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6d666f0b8b36c0765cf19fbe6de5a7ba5a73aad9","tags":[]},{"url":"https://git.kernel.org/stable/c/50f4a793c4ff24826efb0ac700989a5063cc53df","tags":[]},{"url":"https://git.kernel.org/stable/c/0c7c517827a453128a8f58bfd849546a29813b27","tags":[]},{"url":"https://git.kernel.org/stable/c/8a5f63637890f03177146efddaba5ec7a1b4d61f","tags":[]}],"priority":{"score":5.8,"factors":[{"name":"EPSS percentile","points":0.36},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f9b94daa542a8d2532f0930f01cd9aec2d19621b, < 6d666f0b8b36c0765cf19fbe6de5a7ba5a73aad9",">= f9b94daa542a8d2532f0930f01cd9aec2d19621b, < 50f4a793c4ff24826efb0ac700989a5063cc53df",">= f9b94daa542a8d2532f0930f01cd9aec2d19621b, < 0c7c517827a453128a8f58bfd849546a29813b27",">= f9b94daa542a8d2532f0930f01cd9aec2d19621b, < 8a5f63637890f03177146efddaba5ec7a1b4d61f"]},{"vendor":"Linux","product":"Linux","versions":["6.8"]}],"euvd":{"id":"EUVD-2026-76683","exploited":false,"provenance":"source"}}