CVE-2026-98032

tracing: Fix subbuf resize races with trace_pipe_raw readers

Published Sep 25, 2026 CVSS 3.1 · 7.0 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

This Linux kernel vulnerability is a race condition in the tracing subsystem, specifically during concurrent resizing of subbuffers that interact with trace_pipe_raw readers. If a resize occurs while a reader is accessing stale size information, the kernel may crash or a user‑space process may read uninitialized memory, leading to potential denial of service or leakage of sensitive data. The flaw involves improper synchronization between ring_buffer_alloc_read_page, ring_buffer_read_page, and ring_buffer_subbuf_size_get.

Affected Systems

Affected systems include any Linux kernel installation that implements the trace_pipe_raw interface and performs subbuffer resizing. Because the patch is applied to all current kernel releases, older kernels before the commit that introduced ring_buffer_read_page_size are potentially vulnerable, regardless of vendor.

Risk and Exploitability

The CVSS score of 7.0 indicates a high severity, while the EPSS of <1% shows a low current exploitation probability. The vulnerability is not listed in CISA KEV, so no publicly known exploits are reported. Exploitability likely requires local access to trace_pipe_raw, which can be granted to any process that reads tracing data. An attacker could trigger a crash or cause memory exposure by inducing concurrent subbuffer resizing, resulting in denial of service or sensitive information leakage.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a patched release that includes the ring_buffer_read_page_size fix.
  • If an upgrade is delayed, disable the trace_pipe_raw interface or turn off the tracing subsystem for workloads that do not require tracing.
  • Ensure that no legacy applications consume trace_pipe_raw until the patch is applied, or restrict access to the tracing interface with appropriate permissions or namespaces.

Generated by OpenCVE AI on September 30, 2026 at 14:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9175-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-3 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9174-2 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9191-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-362
CWE-665
Type Values Removed Values Added
Weaknesses CWE-366
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-362
CWE-665
Type Values Removed Values Added
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.
Title tracing: Fix subbuf resize races with trace_pipe_raw readers
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-366

    Race Condition within a Thread

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 21, 2026, 12:54 PM
Reserved
Sep 25, 2026, 10:19 AM
Status
Received
Published
Sep 25, 2026, 11:17 AM
Modified
Oct 21, 2026, 1:21 PM
Severity
Moderate
Public date
Sep 25, 2026, 12:00 AM