CVE-2026-74391

Source
https://cve.org/CVERecord?id=CVE-2026-74391
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74391.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74391
Downstream
Published
2026-08-15T05:59:05.127Z
Modified
2026-08-18T03:31:13.789037596Z
Summary
tracing: Bound synthetic-field strings with seq_buf
Details

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 MAXFILTERSTR_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 seqbuf and propagate -E2BIG if either the synthetic variable name or the generated command exceeds MAXFILTERSTRVAL. 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 ]

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74391.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
02205a6752f223779a1b0e9e8ffacbea6e717851
Fixed
0c584c27f6649a93ec12061cc779a4bd8f7c1434
Fixed
88b901fdc1662b131ff908cbd017333b61e7acc8
Fixed
baa333b2700a7fa3529d504529c8c10060fd687c
Fixed
cf334620036ad2250e008c7e7bb6646a3938b7b0
Fixed
f07883450eb14d1cf020b55d9f3a7ec5683bcd26

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.17.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

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