{"id":11283,"date":"2026-09-04T18:53:08","date_gmt":"2026-09-04T10:53:08","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74715"},"modified":"2026-09-04T18:53:08","modified_gmt":"2026-09-04T10:53:08","slug":"cve-2026-74715","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74715","title":{"rendered":"CVE-2026-74715 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix netns refere"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Fix netns reference imbalance in conntrack kfuncs<\/p>\n<p>The opts argument of the BPF conntrack kfuncs can point to a shared<br \/>\nmap value.  __bpf_nf_ct_lookup() and __bpf_nf_ct_alloc_entry() read<br \/>\nopts-&gt;netns_id separately when acquiring and releasing the network<br \/>\nnamespace reference.<\/p>\n<p>The reference imbalance can occur as follows:<\/p>\n<p>  CPU 0                                  CPU 1<br \/>\n  read opts-&gt;netns_id (-1)<br \/>\n  skip get_net_ns_by_id()<br \/>\n                                         write opts-&gt;netns_id (id)<br \/>\n  read opts-&gt;netns_id (id)<br \/>\n  put_net(net) \/* no matching get *\/<\/p>\n<p>The reverse transition leaks the reference.  Repeating the unmatched put<br \/>\ncan destroy a live namespace and crash later users.<\/p>\n<p>The kernel reported:<\/p>\n<p>  Oops: general protection fault, probably for non-canonical address<br \/>\n  KASAN: null-ptr-deref in range [0x00000000000000e8-0x00000000000000ef]<br \/>\n  RIP: 0010:bpf_prog_test_run_xdp+0x52c\/0x1700<br \/>\n  Call Trace:<br \/>\n   __sys_bpf+0x1662\/0x50c0<br \/>\n   __x64_sys_bpf+0x73\/0xb0<br \/>\n   do_syscall_64+0xf9\/0x540<br \/>\n   entry_SYSCALL_64_after_hwframe+0x77\/0x7f<br \/>\n  Kernel panic &#8211; not syncing: Fatal exception<\/p>\n<p>Snapshot every input field of opts with READ_ONCE() before validating or<br \/>\nusing it.  The netns_id snapshot keeps the namespace get\/put pair<br \/>\nbalanced, while the other snapshots keep the remaining options from<br \/>\nchanging partway through an invocation.  The individual reads can still<br \/>\nobserve an inconsistent combination during a concurrent update, but each<br \/>\nselected field value remains stable for that invocation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Fix netns reference imbalance in conntrack kfuncs<\/p>\n<p>The opts argument of the BPF conntrack kfuncs can point to a shared<br \/>\nmap val<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-11283","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/11283","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=11283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}