{"id":"CVE-2026-74391","aliases":["CVE-2026-74391"],"related":[],"kind":"vulnerability","state":"published","title":"tracing: Bound synthetic-field strings with seq_buf","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Bound synthetic-field strings with seq_buf\n\nThe synthetic field helpers build a prefixed synthetic variable name and\na generated hist command in fixed MAX_FILTER_STR_VAL buffers. The\ncurrent code appends those strings with raw strcat(), so long key lists,\nfield names, or saved filters can run past the end of the staging\nbuffers.\n\nBuild both strings with seq_buf and propagate -E2BIG if either the\nsynthetic variable name or the generated command exceeds\nMAX_FILTER_STR_VAL. This keeps the existing tracing-side limit while\nusing the helper intended for bounded command construction.\n\n[ sdr: Moved struct seq_buf *s for upside-down x-mas tree formatting ]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Bound synthetic-field strings with seq_buf\n\nThe synthetic field helpers build a prefixed synthetic variable name and\na generated hist command in fixed MAX_FILTER_STR_VAL buffers. The\ncurrent code appends those strings with raw strcat(), so long key lists,\nfield names, or saved filters can run past the end of the staging\nbuffers.\n\nBuild both strings with seq_buf and propagate -E2BIG if either the\nsynthetic variable name or the generated command exceeds\nMAX_FILTER_STR_VAL. This keeps the existing tracing-side limit while\nusing the helper intended for bounded command construction.\n\n[ sdr: Moved struct seq_buf *s for upside-down x-mas tree formatting ]","source":"cvelist"}],"published":"2026-08-15T05:59:05.127Z","modified":"2026-10-30T13:19:56.620Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"02205a6752f223779a1b0e9e8ffacbea6e717851","fixed":"9f8ef2e1e95a42044e614b0a5277e3f53f545135","status":"affected"},{"type":"git","introduced":"02205a6752f223779a1b0e9e8ffacbea6e717851","fixed":"0c584c27f6649a93ec12061cc779a4bd8f7c1434","status":"affected"},{"type":"git","introduced":"02205a6752f223779a1b0e9e8ffacbea6e717851","fixed":"88b901fdc1662b131ff908cbd017333b61e7acc8","status":"affected"},{"type":"git","introduced":"02205a6752f223779a1b0e9e8ffacbea6e717851","fixed":"baa333b2700a7fa3529d504529c8c10060fd687c","status":"affected"},{"type":"git","introduced":"02205a6752f223779a1b0e9e8ffacbea6e717851","fixed":"cf334620036ad2250e008c7e7bb6646a3938b7b0","status":"affected"},{"type":"git","introduced":"02205a6752f223779a1b0e9e8ffacbea6e717851","fixed":"f07883450eb14d1cf020b55d9f3a7ec5683bcd26","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.17","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9f8ef2e1e95a42044e614b0a5277e3f53f545135","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0c584c27f6649a93ec12061cc779a4bd8f7c1434","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/88b901fdc1662b131ff908cbd017333b61e7acc8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/baa333b2700a7fa3529d504529c8c10060fd687c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf334620036ad2250e008c7e7bb6646a3938b7b0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f07883450eb14d1cf020b55d9f3a7ec5683bcd26","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74391","url":"https://www.cve.org/CVERecord?id=CVE-2026-74391","licence":"CVE Terms of Use","modified":"2026-10-30T12:29:55.331Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74391","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74391","licence":"Public domain","modified":"2026-10-30T13:19:56.620Z"}],"updatedAt":"2026-11-25T22:59:33.193Z","epss":{"score":0.00206,"percentile":0.11291,"date":"2026-12-01T12:00:22.000Z"}}