{"id":21259,"date":"2026-09-12T04:30:56","date_gmt":"2026-09-11T20:30:56","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80926"},"modified":"2026-09-12T04:30:56","modified_gmt":"2026-09-11T20:30:56","slug":"cve-2026-80926","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80926","title":{"rendered":"CVE-2026-80926 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix use-after-"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ksmbd: fix use-after-free in oplock break notification<\/p>\n<p>smb2_oplock_break_noti() reads opinfo-&gt;conn without any lock and<br \/>\ndereferences it after two allocations which may sleep.  When the<br \/>\ndurable handle owning the oplock is disconnected, session_fd_check()<br \/>\nclears opinfo-&gt;conn and drops its conn reference under ci-&gt;m_lock, and<br \/>\nthe last ksmbd_conn_put() frees the connection.  A break triggered by<br \/>\nanother connection that races with the teardown can then resurrect the<br \/>\nfreed connection: ksmbd_conn_get() is a plain atomic_inc, and the<br \/>\nqueued break work later dereferences the stale conn via<br \/>\nksmbd_conn_write(), a use-after-free reachable by any authenticated<br \/>\nclient holding a durable batch oplock.<\/p>\n<p>Thread the caller&#8217;s inode into the notification path instead of taking<br \/>\na new reference on it.  Every caller of oplock_break() already holds a<br \/>\nlive ksmbd_file (or an explicit ksmbd_inode_lookup_lock() reference,<br \/>\nin the parent lease break paths) on the inode that owns the break<br \/>\ntarget&#8217;s oplock list, so ci cannot be freed during the call, and its<br \/>\nlock can be taken without dereferencing opinfo-&gt;o_fp, which a<br \/>\nconcurrent close may free.  Select and pin the connection under<br \/>\nci-&gt;m_lock, the same lock session_fd_check() and<br \/>\nksmbd_reopen_durable_fd() use to update opinfo-&gt;conn, so a concurrent<br \/>\ndetach either loses the race to the clear or keeps the connection<br \/>\nalive until the notification work releases it.  Transfer the reference<br \/>\nto the work item and release it on allocation failures.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ksmbd: fix use-after-free in oplock break notification<\/p>\n<p>smb2_oplock_break_noti() reads opinfo-&gt;conn without any lock and<br \/>\ndereferenc<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21259","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21259","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=21259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21259"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}