CVE-2026-98032

Source
https://cve.org/CVERecord?id=CVE-2026-98032
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98032.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98032
Downstream
Published
2026-09-25T10:23:48Z
Modified
2026-09-26T03:48:36Z
Summary
tracing: Fix subbuf resize races with trace_pipe_raw readers
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98032.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bce761d757452ba5eb77e11fecc37a04b67494e7
Fixed
75b37b8369778b69ce9738d1c97685a1615cb252
Fixed
dae8dda341d2d9034a90d59e8a7d502e1263813f

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98032.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
7.2.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98032.json"