{"schema":"threatline.record/2","record":{"id":"CVE-2026-98584","aliases":[],"summary":"net/sched: fix potential stack infoleak in em_text_dump()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: fix potential stack infoleak in em_text_dump()\n\nem_text_dump() allocates struct tcf_em_text on the stack without zeroing\nit.  strscpy() writes the algorithm name and a NUL terminator into\nconf.algo[], leaving the remaining bytes uninitialised.  nla_put_nohdr()\nthen copies the full struct to the netlink response.\n\nKMSAN on Linux 7.2-rc6 reports two kernel-infoleak splats from this path,\none triggered via \"tc filter show\" and one via a raw RTM_GETTFILTER dump:\n\n  BUG: KMSAN: kernel-infoleak in _copy_to_iter+0x1c9/0x2620\n    nla_put_nohdr+0x83/0x130\n    em_text_dump+0x291/0x550\n  Local variable conf created at: em_text_dump+0x5d/0x550\n  Bytes 168-179 of 199 are uninitialized\n\nI am not certain whether this constitutes a real security problem in\npractice: the test was conducted in a controlled KMSAN environment and\nthe leaked stack bytes may or may not carry sensitive data on actual\nproduction kernels.  I am reporting it because KMSAN flagged it as a\nkernel-infoleak and the fix is straightforward.  I can provide a\nuserspace reproducer on request.\n\nThe original code used strncpy() which zero-pads to the destination size.\nCommit b04202d6065c (\"net/sched: replace strncpy with strscpy\") replaced\nit with strscpy(), which does not pad, creating this condition.\nZero-initialising the struct closes it.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98584","source_modified_at":"2026-10-19T09:22:09.980Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"b04202d6065cba5dfd51fb9866400b25573eac67","lessThan":"9923e1c537f91f3530b52d4efce85f3d9c131bf8","status":"affected","versionType":"git"},{"version":"b04202d6065cba5dfd51fb9866400b25573eac67","lessThan":"0b160417826d22f24fc31a5b9cfae3b14aa70f76","status":"affected","versionType":"git"},{"version":"b04202d6065cba5dfd51fb9866400b25573eac67","lessThan":"9c572a83037a7dcd653ba3a9cc468c16b857d0c9","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98584","source_modified_at":"2026-10-19T09:22:09.980Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"6.17","status":"affected"},{"version":"0","lessThan":"6.17","status":"unaffected","versionType":"semver"},{"version":"6.18.55","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.9","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98584","source_modified_at":"2026-10-19T09:22:09.980Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"9923e1c537f91f3530b52d4efce85f3d9c131bf8","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98584","source_modified_at":"2026-10-19T09:22:09.980Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"0b160417826d22f24fc31a5b9cfae3b14aa70f76","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98584","source_modified_at":"2026-10-19T09:22:09.980Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"9c572a83037a7dcd653ba3a9cc468c16b857d0c9","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00198,"percentile":0.09058,"score_date":"2026-10-23"},"published_at":"2026-10-18T15:18:57.204Z","modified_at":"2026-10-19T09:22:09.980Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98584","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:22:09.980Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98584","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/9923e1c537f91f3530b52d4efce85f3d9c131bf8"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/0b160417826d22f24fc31a5b9cfae3b14aa70f76"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/9c572a83037a7dcd653ba3a9cc468c16b857d0c9"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:22:09.980Z","content_hash":"6567fe0d70f499da62fef3ed0f6e688d3c3f44aad13c2ef07192a8eab5e41dd7"}}
