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

Published Sep 25, 2026
·
Updated

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

tracing: Fix subbuf resize races with tracepiperaw readers

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

Modify ringbufferallocreadpage() to handle the resizing of an existing bufferdatareadpage if necessary and add a new ringbufferreadpagesize(). This new function enables ring-buffer bufferdatareadpage users to not call the racy ringbuffersubbufsizeget(). This makes the sparesize member of ftracebufferinfo redundant.

Finally, handle bufferdatareadpage/readerpage order discrepancy in ringbufferreadpage(). On a mismatch simply copy manually the data to the bufferdatareadpage.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 25, 2026
CVE Published
via MITRE·10:23 AM
Data Sourced
via MITRE·10:23 AM
Description

Frequently Asked Questions

1

What conditions are required for this issue to occur?

The issue requires trace_pipe_raw readers to run concurrently with trace ring-buffer subbuffer resizing. Stale size values during that race can affect readers.

2

What is the potential impact?

Affected trace_pipe_raw readers may crash, and uninitialized kernel memory may be exposed to userspace.

3

What can be done while a fix is being deployed?

Avoid concurrent subbuffer resizing while trace_pipe_raw is being read. The referenced stable kernel commits contain the resolved implementation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203