{"id":15100,"date":"2026-09-04T19:02:25","date_gmt":"2026-09-04T11:02:25","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-64140"},"modified":"2026-09-04T19:02:25","modified_gmt":"2026-09-04T11:02:25","slug":"cve-2026-64140","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-64140","title":{"rendered":"CVE-2026-64140 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix null point"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ksmbd: fix null pointer dereference in proc_show_files()<\/p>\n<p>When a SMB2 client opens a file with a durable v2 handle and then issues<br \/>\nSMB2 SESSION_LOGOFF, session_fd_check() clears fp-&gt;tcon = NULL on the<br \/>\nreconnectable file pointer but leaves the fp registered in global_ft.idr<br \/>\nuntil the durable scavenger fires (up to fp-&gt;durable_timeout seconds<br \/>\nlater).<\/p>\n<p>During that window any read of \/proc\/fs\/ksmbd\/files (mode 0400) panics<br \/>\nthe kernel because proc_show_files() walks global_ft.idr and<br \/>\nunconditionally dereferences fp-&gt;tcon-&gt;id with no NULL guard.<\/p>\n<p>Reproducer requires only a successful SMB2 SESSION_SETUP and a share<br \/>\nconfigured with &#8216;durable handles = yes&#8217;. KASAN report on mainline<br \/>\n70390501d194:<\/p>\n<p>  general protection fault, probably for non-canonical address<br \/>\n  0xdffffc0000000000: 0000 [#1] SMP KASAN PTI<br \/>\n  KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]<br \/>\n  RIP: 0010:proc_show_files+0x118\/0x740<br \/>\n  Call Trace:<br \/>\n   proc_show_files+0x118\/0x740<br \/>\n   seq_read_iter+0x4ef\/0xe10<br \/>\n   proc_reg_read_iter+0x1b7\/0x280<br \/>\n   &#8230;<\/p>\n<p>Guard the dereference. A durable-disconnected fp legitimately has no<br \/>\ntcon; report its tree id as 0 rather than oopsing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ksmbd: fix null pointer dereference in proc_show_files()<\/p>\n<p>When a SMB2 client opens a file with a durable v2 handle and then issues<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-15100","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/15100","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=15100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}