CVE-2026-74391

tracing: Bound synthetic-field strings with seq_buf

Published Aug 15, 2026 CVSS 3.1 · 7.0 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

tracing: Bound synthetic-field strings with seq_buf

The synthetic field helpers build a prefixed synthetic variable name and
a generated hist command in fixed MAX_FILTER_STR_VAL buffers. The
current code appends those strings with raw strcat(), so long key lists,
field names, or saved filters can run past the end of the staging
buffers.

Build both strings with seq_buf and propagate -E2BIG if either the
synthetic variable name or the generated command exceeds
MAX_FILTER_STR_VAL. This keeps the existing tracing-side limit while
using the helper intended for bounded command construction.

[ sdr: Moved struct seq_buf *s for upside-down x-mas tree formatting ]

Analysis

AI-generated

Technical impact

The vulnerability arises in the Linux kernel tracing subsystem where synthetic variable names and histogram commands are built by appending strings into a fixed MAX_FILTER_STR_VAL buffer with the unsafe C library function strcat. When an attacker supplies a key list, field name, or filter that exceeds the buffer size, the resulting overflow corrupts kernel memory. This uncontrolled buffer overflow (CWE‑120) can lead to a kernel crash or, if the corruption is controlled, to arbitrary code execution with kernel privileges.

Affected Systems

The flaw impacts all Linux kernel builds that include the unpatched tracing code. Any distribution using the default Linux kernel where the seq_buf bounds patch has not been applied remains vulnerable. No specific kernel release numbers are specified, so the risk applies to every kernel version that predates the fix.

Risk and Exploitability

The CVSS score is 7.0, the EPSS score is below 1%, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is local, requiring the attacker to invoke tracing commands that generate long synthetic fields. While exploitation complexity appears low for a knowledgeable attacker who can trigger the overflow, the very low EPSS indicates that widespread exploitation is currently unlikely. Nevertheless, the potential for kernel privilege escalation makes this a significant risk for exposed systems.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the seq_buf bounds patch for synthetic-field string construction.
  • If an immediate upgrade is not possible, apply the kernel patch from the stable commits that bound the synthetic field strings and propagate an E2BIG error when limits are exceeded.
  • Reboot the system to load the patched kernel and ensure the tracing subsystem no longer overflows the buffer.

Generated by OpenCVE AI on August 22, 2026 at 01:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4906-1 linux security update
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8917-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8918-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
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-119
CWE-120
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: tracing: Bound synthetic-field strings with seq_buf The synthetic field helpers build a prefixed synthetic variable name and a generated hist command in fixed MAX_FILTER_STR_VAL buffers. The current code appends those strings with raw strcat(), so long key lists, field names, or saved filters can run past the end of the staging buffers. Build both strings with seq_buf and propagate -E2BIG if either the synthetic variable name or the generated command exceeds MAX_FILTER_STR_VAL. This keeps the existing tracing-side limit while using the helper intended for bounded command construction. [ sdr: Moved struct seq_buf *s for upside-down x-mas tree formatting ]
Title tracing: Bound synthetic-field strings with seq_buf
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:29 PM
Reserved
Aug 15, 2026, 5:44 AM
Status
Received
Published
Aug 15, 2026, 6:22 AM
Modified
Oct 30, 2026, 1:19 PM
Severity
Moderate
Public date
Aug 15, 2026, 12:00 AM