{"id":5373,"date":"2026-09-04T18:47:47","date_gmt":"2026-09-04T10:47:47","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68179"},"modified":"2026-09-04T18:47:47","modified_gmt":"2026-09-04T10:47:47","slug":"cve-2026-68179","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68179","title":{"rendered":"CVE-2026-68179 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: nsm: only unloc"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>misc: nsm: only unlock nsm_dev on post-lock error paths<\/p>\n<p>nsm_dev_ioctl() jumps to the common out label even when the initial<br \/>\ncopy_from_user() fails before nsm-&gt;lock has been taken.  The error path<br \/>\nthen blindly unlocks a mutex that was never acquired.<\/p>\n<p>This issue was found by our static analysis tool and then manually<br \/>\nreviewed against the current tree.<\/p>\n<p>The grounded PoC kept the miscdevice ioctl entry and the pre-lock<br \/>\ncopy_from_user(&amp;raw, argp, _IOC_SIZE(cmd)) failure path by issuing<br \/>\nNSM_IOCTL_RAW with an invalid user pointer.  That failure reaches the<br \/>\nshared out label before mutex_lock(&amp;nsm-&gt;lock).  Lockdep reported:<\/p>\n<p>  WARNING: bad unlock balance detected!<br \/>\n  exploit\/193 is trying to release lock (&amp;global_nsm.lock) at:<br \/>\n  nsm_dev_ioctl+0x5f\/0xcf [vuln_msv]<br \/>\n  but there are no more locks to release!<br \/>\n  no locks held by exploit\/193.<\/p>\n<p>Return immediately on the pre-lock copy_from_user() failure and keep the<br \/>\ncommon unlock label for the post-lock paths only.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>misc: nsm: only unlock nsm_dev on post-lock error paths<\/p>\n<p>nsm_dev_ioctl() jumps to the common out label even when the initial<br \/>\ncopy_f<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-5373","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/5373","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=5373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}