# CVE-2026-98032: tracing: Fix subbuf resize races with trace_pipe_raw readers

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-25T10:23:48.169Z
- Modified: 2026-10-21T13:21:19.397Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

tracing: Fix subbuf resize races with trace_pipe_raw readers

Concurrent subbuffer resizes may crash trace_pipe_raw readers or leak
uninitialized memory to userspace due to stale size values.

Modify ring_buffer_alloc_read_page() to handle the resizing of an
existing buffer_data_read_page if necessary and add a new
ring_buffer_read_page_size(). This new function enables ring-buffer
buffer_data_read_page users to not call the racy
ring_buffer_subbuf_size_get(). This makes the spare_size member of
ftrace_buffer_info redundant.

Finally, handle buffer_data_read_page/reader_page order discrepancy in
ring_buffer_read_page(). On a mismatch simply copy manually the data to
the buffer_data_read_page.

(As written by CVE List.)

## Affected

- Linux Linux: from bce761d757452ba5eb77e11fecc37a04b67494e7 before 574efd988d116bd56ac688ab2d64e06ba0da982a; from bce761d757452ba5eb77e11fecc37a04b67494e7 before 3f30b2cd4eba45c05f822f03f1b0f4077d6d4dc3; from bce761d757452ba5eb77e11fecc37a04b67494e7 before 75b37b8369778b69ce9738d1c97685a1615cb252; from bce761d757452ba5eb77e11fecc37a04b67494e7 before dae8dda341d2d9034a90d59e8a7d502e1263813f; 6.8 (not affected: before 6.8; from 6.12.114 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/574efd988d116bd56ac688ab2d64e06ba0da982a>
- <https://git.kernel.org/stable/c/3f30b2cd4eba45c05f822f03f1b0f4077d6d4dc3>
- <https://git.kernel.org/stable/c/75b37b8369778b69ce9738d1c97685a1615cb252>
- <https://git.kernel.org/stable/c/dae8dda341d2d9034a90d59e8a7d502e1263813f>

## Sources

- CVE List: [CVE-2026-98032](https://www.cve.org/CVERecord?id=CVE-2026-98032), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-98032](https://nvd.nist.gov/vuln/detail/CVE-2026-98032), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-98032 · Whole record: https://cve.day/CVE-2026-98032.json · Rebuilt by cve.day 2026-11-25T22:59:41.030Z
