{"id":25486,"date":"2026-09-18T04:31:27","date_gmt":"2026-09-17T20:31:27","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90077"},"modified":"2026-09-18T04:31:27","modified_gmt":"2026-09-17T20:31:27","slug":"cve-2026-90077","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90077","title":{"rendered":"CVE-2026-90077 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nnet: fix a resource l"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>net: fix a resource leak in copy_net_ns() error handling path<\/p>\n<p>Currently, preinit_net() does two things:<\/p>\n<p>  (1) call ns_common_init() which might fail<br \/>\n  (2) initialize resources which does not fail<\/p>\n<p>However, preinit_net() is returning early when (1) fails, and copy_net_ns()<br \/>\nis jumping to the dec_ucounts: label. As a result, resources allocated by<br \/>\nnet_alloc() are leaking. We need to call key_remove_domain() and<br \/>\nnet_passive_dec() in order to release resources allocated by net_alloc().<\/p>\n<p>We cannot simply jump to the put_userns: label when preinit_net() failed,<br \/>\nfor (2) is not yet done. But we can reorder (1) and (2), for there is no<br \/>\ndependency between (1) and (2). Therefore, this patch decouples (1) from<br \/>\npreinit_net() and changes preinit_net() back to a void function, and calls<br \/>\nns_common_init() after preinit_net() succeeded. Then, we can jump to<br \/>\nimmediately after ns_common_free() of the put_userns: label.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>net: fix a resource leak in copy_net_ns() error handling path<\/p>\n<p>Currently, preinit_net() does two things:<\/p>\n<p>  (1) call ns_common_init<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-25486","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/25486","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=25486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}