Bug 2516876 (CVE-2026-74391) - CVE-2026-74391 kernel: tracing: Bound synthetic-field strings with seq_buf
Summary: CVE-2026-74391 kernel: tracing: Bound synthetic-field strings with seq_buf
Keywords:
Status: NEW
Alias: CVE-2026-74391
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-15 06:38 UTC by OSIDB Bzimport
Modified: 2026-08-20 20:25 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-15 06:38:06 UTC
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 ]


Note You need to log in before you can comment on or make changes to this bug.