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 ]
Published: 2026-08-15
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Sat, 22 Aug 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Fri, 21 Aug 2026 00:15:00 +0000

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


Sat, 15 Aug 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-120

Sat, 15 Aug 2026 06:15:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:18:30.085Z

Reserved: 2026-08-15T05:44:03.891Z

Link: CVE-2026-74391

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:41.067

Modified: 2026-08-17T06:19:34.167

Link: CVE-2026-74391

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74391 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T02:00:17Z

Weaknesses
  • CWE-120

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