{"id":4651,"date":"2026-09-04T18:46:40","date_gmt":"2026-09-04T10:46:40","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-64575"},"modified":"2026-09-04T18:46:40","modified_gmt":"2026-09-04T10:46:40","slug":"cve-2026-64575","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-64575","title":{"rendered":"CVE-2026-64575 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: tcp: fix double"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: tcp: fix double sock release on batch realloc<\/p>\n<p>bpf_iter_tcp_batch() releases the current batch via<br \/>\nbpf_iter_tcp_put_batch(), which drops the socket refs and rewrites<br \/>\neach slot with the socket cookie, then grows the batch. cur_sk\/end_sk<br \/>\nare kept for bpf_iter_tcp_resume(), but on realloc failure the function<br \/>\nreturns ERR_PTR() before resume runs, leaving cur_sk &lt; end_sk over<br \/>\nslots that now hold cookies rather than sock pointers.<br \/>\nbpf_iter_tcp_seq_stop() then calls bpf_iter_tcp_put_batch() again and<br \/>\ndereferences a cookie as a struct sock.<\/p>\n<p>Empty the batch on the failure path so stop() does not release it<br \/>\nagain. The sockets were already freed by the first<br \/>\nbpf_iter_tcp_put_batch(), so nothing leaks, and a later read() rescans<br \/>\nthe bucket from the start instead of skipping it. The sibling<br \/>\nGFP_NOWAIT failure path still holds real socket references and is left<br \/>\nfor stop() to release.<\/p>\n<p>  BUG: KASAN: null-ptr-deref in __sock_gen_cookie<br \/>\n  Read of size 8 at addr 0000000000000059 by task exploit<br \/>\n   &#8230;<br \/>\n   __sock_gen_cookie (net\/core\/sock_diag.c:28)<br \/>\n   bpf_iter_tcp_put_batch (net\/ipv4\/tcp_ipv4.c:2918)<br \/>\n   bpf_iter_tcp_seq_stop (net\/ipv4\/tcp_ipv4.c:3270)<br \/>\n   bpf_seq_read (kernel\/bpf\/bpf_iter.c:205)<br \/>\n   vfs_read (fs\/read_write.c:572)<br \/>\n   ksys_read (fs\/read_write.c:716)<br \/>\n   do_syscall_64<br \/>\n   entry_SYSCALL_64_after_hwframe<br \/>\n  Kernel panic &#8211; not syncing: Fatal exception<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: tcp: fix double sock release on batch realloc<\/p>\n<p>bpf_iter_tcp_batch() releases the current batch via<br \/>\nbpf_iter_tcp_put_batch(), w<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-4651","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/4651","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=4651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}