{"id":"CVE-2026-89771","aliases":["CVE-2026-89771"],"related":[],"kind":"vulnerability","state":"published","title":"ring-buffer: Fix subbuf resize race with ring buffer readers","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-11T19:47:10.381Z","modified":"2026-10-19T09:18:20.377Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f9b94daa542a8d2532f0930f01cd9aec2d19621b","fixed":"6d666f0b8b36c0765cf19fbe6de5a7ba5a73aad9","status":"affected"},{"type":"git","introduced":"f9b94daa542a8d2532f0930f01cd9aec2d19621b","fixed":"50f4a793c4ff24826efb0ac700989a5063cc53df","status":"affected"},{"type":"git","introduced":"f9b94daa542a8d2532f0930f01cd9aec2d19621b","fixed":"0c7c517827a453128a8f58bfd849546a29813b27","status":"affected"},{"type":"git","introduced":"f9b94daa542a8d2532f0930f01cd9aec2d19621b","fixed":"8a5f63637890f03177146efddaba5ec7a1b4d61f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/6d666f0b8b36c0765cf19fbe6de5a7ba5a73aad9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/50f4a793c4ff24826efb0ac700989a5063cc53df","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0c7c517827a453128a8f58bfd849546a29813b27","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8a5f63637890f03177146efddaba5ec7a1b4d61f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89771","url":"https://www.cve.org/CVERecord?id=CVE-2026-89771","licence":"CVE Terms of Use","modified":"2026-10-19T08:52:24.715Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89771","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89771","licence":"Public domain","modified":"2026-10-19T09:18:20.377Z"}],"updatedAt":"2026-11-25T22:59:38.145Z","epss":{"score":0.0012,"percentile":0.01992,"date":"2026-12-01T12:00:22.000Z"}}