{"id":21316,"date":"2026-09-12T04:31:01","date_gmt":"2026-09-11T20:31:01","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80983"},"modified":"2026-09-12T04:31:01","modified_gmt":"2026-09-11T20:31:01","slug":"cve-2026-80983","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80983","title":{"rendered":"CVE-2026-80983 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nnet\/smc: fix socket r"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>net\/smc: fix socket refcount leak in smc_switch_conns()<\/p>\n<p>smc_switch_conns() takes a reference on the SMC socket before dropping<br \/>\nlgr-&gt;conns_lock, so the connection stays alive while the CDC slot is<br \/>\nfetched:<\/p>\n<p>        sock_hold(&amp;smc-&gt;sk);<br \/>\n        read_unlock_bh(&amp;lgr-&gt;conns_lock);<br \/>\n        \/* pre-fetch buffer outside of send_lock, might sleep *\/<br \/>\n        rc = smc_cdc_get_free_slot(conn, to_lnk, &amp;wr_buf, NULL, &amp;pend);<br \/>\n        if (rc)<br \/>\n                goto err_out;<\/p>\n<p>The err_out label only drops the wr_tx link reference, so this early exit<br \/>\nreturns without the matching sock_put(). The second error exit is not<br \/>\naffected, because sock_put() has already run by then.<\/p>\n<p>A leaked sk_refcnt means the smc_sock is never destroyed. Its send and<br \/>\nreceive buffers stay allocated, and for a user socket the reference held<br \/>\non the network namespace is never released, so the netns can no longer be<br \/>\ntorn down.<\/p>\n<p>smc_cdc_get_free_slot() fails when the target link goes down or when the<br \/>\nconnection has been killed while the switch is in progress. Both are<br \/>\nreachable during the link failover this function implements, so the leak<br \/>\nis triggered by the same hardware events that make smc_switch_conns() run<br \/>\nin the first place.<\/p>\n<p>Restructure so there is a single sock_put() covering both outcomes,<br \/>\ninstead of adding a second one to the error path.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>net\/smc: fix socket refcount leak in smc_switch_conns()<\/p>\n<p>smc_switch_conns() takes a reference on the SMC socket before dropping<br \/>\nlgr<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21316","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21316","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=21316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}