{"id":7202,"date":"2026-09-04T18:49:28","date_gmt":"2026-09-04T10:49:28","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74268"},"modified":"2026-09-04T18:49:28","modified_gmt":"2026-09-04T10:49:28","slug":"cve-2026-74268","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74268","title":{"rendered":"CVE-2026-74268 [CRITICAL] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: clear sock_ops c"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>tcp: clear sock_ops cb flags before force-closing a child socket<\/p>\n<p>A child socket inherits the listener&#8217;s bpf_sock_ops_cb_flags via<br \/>\nsk_clone_lock(). If its setup fails in tcp_v4_syn_recv_sock() \/<br \/>\ntcp_v6_syn_recv_sock(), the child is freed through put_and_exit, where<br \/>\ninet_csk_prepare_forced_close() drops the socket lock and tcp_done() runs<br \/>\nwithout it.<\/p>\n<p>If BPF_SOCK_OPS_STATE_CB_FLAG was inherited, tcp_done() -&gt; tcp_set_state()<br \/>\ncalls tcp_call_bpf(), which expects the lock and trips sock_owned_by_me():<\/p>\n<p>  WARNING: include\/net\/sock.h:1799 at tcp_set_state+0x433\/0x550<br \/>\n  RIP: 0010:tcp_set_state+0x433\/0x550 include\/net\/sock.h:1799<br \/>\n  Call Trace:<\/p>\n<p>   tcp_done+0xba\/0x250 net\/ipv4\/tcp.c:5095<br \/>\n   tcp_v4_syn_recv_sock+0x850\/0xa50 net\/ipv4\/tcp_ipv4.c:1787<br \/>\n   tcp_check_req+0xf30\/0x1360 net\/ipv4\/tcp_minisocks.c:926<br \/>\n   tcp_v4_rcv+0x1047\/0x1b50 net\/ipv4\/tcp_ipv4.c:2164<\/p>\n<p>The child is freed before it is ever established, so it should run no<br \/>\nsock_ops callback. Clear its cb flags in inet_csk_prepare_for_destroy_sock(),<br \/>\nthe common point for the IPv4, IPv6 and chtls forced-close paths and for the<br \/>\nMPTCP -&gt;syn_recv_sock() failure path (dispose_child), which reaches tcp_done()<br \/>\non a child that was never established too.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>tcp: clear sock_ops cb flags before force-closing a child socket<\/p>\n<p>A child socket inherits the listener&#8217;s bpf_sock_ops_cb_flags via<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-7202","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/7202","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=7202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}