{"id":41056,"date":"2026-10-19T00:31:57","date_gmt":"2026-10-18T16:31:57","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98584"},"modified":"2026-10-19T00:31:57","modified_gmt":"2026-10-18T16:31:57","slug":"cve-2026-98584","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98584","title":{"rendered":"CVE-2026-98584 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nnet\/sched: fix potent"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>net\/sched: fix potential stack infoleak in em_text_dump()<\/p>\n<p>em_text_dump() allocates struct tcf_em_text on the stack without zeroing<br \/>\nit.  strscpy() writes the algorithm name and a NUL terminator into<br \/>\nconf.algo[], leaving the remaining bytes uninitialised.  nla_put_nohdr()<br \/>\nthen copies the full struct to the netlink response.<\/p>\n<p>KMSAN on Linux 7.2-rc6 reports two kernel-infoleak splats from this path,<br \/>\none triggered via &#8220;tc filter show&#8221; and one via a raw RTM_GETTFILTER dump:<\/p>\n<p>  BUG: KMSAN: kernel-infoleak in _copy_to_iter+0x1c9\/0x2620<br \/>\n    nla_put_nohdr+0x83\/0x130<br \/>\n    em_text_dump+0x291\/0x550<br \/>\n  Local variable conf created at: em_text_dump+0x5d\/0x550<br \/>\n  Bytes 168-179 of 199 are uninitialized<\/p>\n<p>I am not certain whether this constitutes a real security problem in<br \/>\npractice: the test was conducted in a controlled KMSAN environment and<br \/>\nthe leaked stack bytes may or may not carry sensitive data on actual<br \/>\nproduction kernels.  I am reporting it because KMSAN flagged it as a<br \/>\nkernel-infoleak and the fix is straightforward.  I can provide a<br \/>\nuserspace reproducer on request.<\/p>\n<p>The original code used strncpy() which zero-pads to the destination size.<br \/>\nCommit b04202d6065c (&#8220;net\/sched: replace strncpy with strscpy&#8221;) replaced<br \/>\nit with strscpy(), which does not pad, creating this condition.<br \/>\nZero-initialising the struct closes it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>net\/sched: fix potential stack infoleak in em_text_dump()<\/p>\n<p>em_text_dump() allocates struct tcf_em_text on the stack without zeroing<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-41056","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/41056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=41056"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41056"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}