{"id":5468,"date":"2026-09-04T18:47:51","date_gmt":"2026-09-04T10:47:51","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68415"},"modified":"2026-09-04T18:47:51","modified_gmt":"2026-09-04T10:47:51","slug":"cve-2026-68415","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68415","title":{"rendered":"CVE-2026-68415 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: clear mode call"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>xfrm: clear mode callbacks after failed mode setup<\/p>\n<p>xfrm_state_gc_task can run long after a failed IPTFS state setup. In the<br \/>\nreproduced case, __xfrm_init_state() cached x-&gt;mode_cbs, IPTFS setup<br \/>\nreturned -ENOMEM before publishing mode_data, and the temporary module<br \/>\nreference from xfrm_get_mode_cbs() was dropped immediately. The dead state<br \/>\nthen kept x-&gt;mode_cbs until deferred GC ran after xfrm_iptfs had been<br \/>\nunloaded.<\/p>\n<p>Clear x-&gt;mode_cbs when mode init or clone fails before publishing<br \/>\nmode_data. Those states never installed mode-specific state or the<br \/>\nlong-term IPTFS module pin, so deferred GC has nothing mode-specific to<br \/>\ndestroy and must not retain a callback table pointer past the temporary<br \/>\nlookup reference.<\/p>\n<p>The buggy scenario involves two paths, with each column showing the order<br \/>\nwithin that path:<\/p>\n<p>failed setup path:<br \/>\n1. cache x-&gt;mode_cbs<br \/>\n2. mode setup fails before mode_data<br \/>\n3. drop the temporary module ref<br \/>\n4. dead state keeps x-&gt;mode_cbs cached<\/p>\n<p>GC\/unload path:<br \/>\n1. xfrm_state_put() queues GC work<br \/>\n2. xfrm_iptfs unloads later<br \/>\n3. xfrm_state_gc_task runs<br \/>\n4. GC dereferences stale x-&gt;mode_cbs<\/p>\n<p>This also covers the failed clone path where clone_state() returns before<br \/>\npublishing mode_data.<\/p>\n<p>Validation reproduced this kernel report:<br \/>\nKernel panic &#8211; not syncing: Fatal exception<br \/>\nCONFIG_FAULT_INJECTION_STACKTRACE_FILTER=y<br \/>\nfailslab_stacktrace_filter matched xfrm_iptfs frames<br \/>\nack_error=-12<br \/>\nFAULT_INJECTION: forcing a failure<br \/>\nBUG: unable to handle page fault<br \/>\nWorkqueue: events xfrm_state_gc_task<br \/>\nRIP: xfrm_state_gc_task+0x142\/0x650<br \/>\nModules linked in: esp4_offload xfrm_user [last unloaded: xfrm_iptfs]<br \/>\nKernel 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>xfrm: clear mode callbacks after failed mode setup<\/p>\n<p>xfrm_state_gc_task can run long after a failed IPTFS state setup. In the<br \/>\nreprod<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-5468","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/5468","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=5468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}