{"id":11266,"date":"2026-09-04T18:53:07","date_gmt":"2026-09-04T10:53:07","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74692"},"modified":"2026-09-04T18:53:07","modified_gmt":"2026-09-04T10:53:07","slug":"cve-2026-74692","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74692","title":{"rendered":"CVE-2026-74692 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nnet\/smc: fix TOCTOU r"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>net\/smc: fix TOCTOU race between smc_listen_out() and listener close<\/p>\n<p>smc_listen_out() reads lsmc-&gt;sk.sk_state without the listener lock,<br \/>\nthen acquires lock_sock_nested() only after the check passes. This<br \/>\nopens a window where smc_close_active() can transition the listener<br \/>\nto SMC_CLOSED, call smc_close_cleanup_listen() to drain the accept<br \/>\nqueue, and release the lock, all between the lockless read and the<br \/>\ndelayed lock acquisition:<\/p>\n<p>  smc_listen_work (smc_hs_wq)          smc_close_active()<br \/>\n  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-      &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n  release_sock(child)<br \/>\n  if (sk_state == SMC_LISTEN) TRUE<br \/>\n                                        lock_sock(listener)<br \/>\n                                        sk_state = SMC_CLOSED<br \/>\n                                        smc_close_cleanup_listen()<br \/>\n                                        release_sock(listener)<br \/>\n                                        flush_work(tcp_listen_work)<br \/>\n  lock_sock_nested(listener)<br \/>\n  smc_accept_enqueue(listener, child) \/* child enqueued on dead listener *\/<\/p>\n<p>smc_close_active() flushes only tcp_listen_work. Work items already<br \/>\ndispatched onto smc_hs_wq for the CLC handshake continue running<br \/>\nunguarded. smc_accept_enqueue() takes a sock_hold() on the child that<br \/>\nis never released, so the child smc_sock, its clcsock, and the<br \/>\nreference all leak. A remote peer that opens TCP connections while the<br \/>\nserver calls close() can exhaust kernel memory.<\/p>\n<p>Move lock_sock_nested() to before the sk_state check so that the test<br \/>\nand the enqueue are atomic under the listener lock.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>net\/smc: fix TOCTOU race between smc_listen_out() and listener close<\/p>\n<p>smc_listen_out() reads lsmc-&gt;sk.sk_state without the listener<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-11266","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/11266","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=11266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}