{"id":6939,"date":"2026-09-04T18:49:21","date_gmt":"2026-09-04T10:49:21","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72315"},"modified":"2026-09-04T18:49:21","modified_gmt":"2026-09-04T10:49:21","slug":"cve-2026-72315","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72315","title":{"rendered":"CVE-2026-72315 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix busy"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>smb: client: fix busy dentry warning on unmount after DIO<\/p>\n<p>Commit c68337442f03 (&#8220;cifs: Fix busy dentry used after unmounting&#8221;) fixed<br \/>\nthe issue in cifs where deferred close of a file led to a dentry reference<br \/>\ncount not being released in umount, by flushing deferredclose_wq in<br \/>\ncifs_kill_sb() to solve it.<\/p>\n<p>However, the cifs DIO path suffers from the same busy-dentry problem caused<br \/>\nby a delayed dentry reference-count release:<\/p>\n<p>\t[dio]\t\t\t[cifsd]\t\t\t[close + umount]<br \/>\nnetfs_unbuffered_write_iter_locked<br \/>\n&#8230;<br \/>\n\t\t\t\tcifs_demultiplex_thread<br \/>\n netfs_unbuffered_write<br \/>\n  cifs_issue_write<br \/>\n  netfs_wait_for_in_progress_stream [1]<br \/>\n\t\t\t\t&#8230;<br \/>\n\t\t\t\t netfs_write_subrequest_terminated<br \/>\n\t\t\t\t  netfs_subreq_clear_in_progress<br \/>\n\t\t\t\t   netfs_wake_collector \/\/ wake [1]<br \/>\n\t\t\t\t  netfs_put_subrequest<br \/>\n netfs_put_request<br \/>\n  queue_work(system_dfl_wq, xxx) [2]<br \/>\n \/\/ dio write return\t\t\t\t\tcifs_close<br \/>\n\t\t\t\t\t\t\t _cifsFileInfo_put<br \/>\n\t\t\t\t\t\t\t  \/\/ cfile-&gt;count 2-&gt;1<br \/>\n\t\t\t\t\t\t\t  &#8211;cfile-&gt;count [3]<\/p>\n<p>\t\t\t\t\t\t\t\/\/ umount<br \/>\n\t\t\t\t\t\t\tcifs_kill_sb<br \/>\n\t\t\t\t\t\t\t kill_anon_super<br \/>\n\t\t\t\t\t\t\t  \/\/ warning triggered!<br \/>\n\t\t\t\t\t\t\t  shrink_dcache_for_umount [4]<br \/>\n[system_dfl_wq] [5]<br \/>\nnetfs_free_request<br \/>\n &#8230;<br \/>\n _cifsFileInfo_put<br \/>\n  \/\/ cfile-&gt;count 1-&gt;0<br \/>\n  &#8211;cfile-&gt;count<br \/>\n  queue_work(fileinfo_put_wq, xxx)<\/p>\n<p>[fileinfo_put_wq] [6]<br \/>\ncifsFileInfo_put_work<br \/>\n cifsFileInfo_put_final<br \/>\n  dput<\/p>\n<p>If the umount path is triggered before [5], it results warning:<br \/>\nBUG: Dentry 00000000eab1f070{i=9a917b66ae404fec,n=test}  still in use (1)<br \/>\n[unmount of cifs cifs]<\/p>\n<p>The existing per-inode ictx-&gt;io_count wait in cifs_evict_inode() does not<br \/>\nhelp: it lives in the inode eviction path, which runs after<br \/>\nshrink_dcache_for_umount() has already warned about the busy dentries.<\/p>\n<p>Fix it by adding a per-superblock outstanding-rreq counter that is<br \/>\nincremented in cifs_init_request() and decremented in cifs_free_request().<br \/>\nIn cifs_kill_sb(), before kill_anon_super(), wait for this counter to reach<br \/>\n0 &#8211; which guarantees that all cleanup_work for this sb have run and thus<br \/>\nall relevant cfile puts are queued on fileinfo_put_wq or serverclose_wq.<br \/>\nThen drain the workqueue so the dentry refs are dropped.<\/p>\n<p>This is a targeted wait, not a flush of the system-wide system_dfl_wq.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>smb: client: fix busy dentry warning on unmount after DIO<\/p>\n<p>Commit c68337442f03 (&#8220;cifs: Fix busy dentry used after unmounting&#8221;) fixe<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-6939","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/6939","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=6939"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6939"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}