<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 30 Sep 2026 03:40:36 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-68179 — misc: nsm: only unlock nsm_dev on post-lock error paths</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-68179</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;misc: nsm: only unlock nsm_dev on post-lock error paths&lt;/p&gt;
&lt;p&gt;nsm_dev_ioctl() jumps to the common out label even when the initial
copy_from_user() fails before nsm-&amp;gt;lock has been taken.  The error path
then blindly unlocks a mutex that was never acquired.&lt;/p&gt;
&lt;p&gt;This issue was found by our static analysis tool and then manually
reviewed against the current tree.&lt;/p&gt;
&lt;p&gt;The grounded PoC kept the miscdevice ioctl entry and the pre-lock
copy_from_user(&amp;amp;raw, argp, _IOC_SIZE(cmd)) failure path by issuing
NSM_IOCTL_RAW with an invalid user pointer.  That failure reaches the
shared out label before mutex_lock(&amp;amp;nsm-&amp;gt;lock).  Lockdep reported:&lt;/p&gt;
&lt;p&gt;WARNING: bad unlock balance detected!
  exploit/193 is trying to release lock (&amp;amp;global_nsm.lock) at:
  nsm_dev_ioctl+0x5f/0xcf [vuln_msv]
  but there are no more locks to release!
  no locks held by exploit/193.&lt;/p&gt;
&lt;p&gt;Return immediately on the pre-lock copy_from_user() failure and keep the
common unlock label for the post-lock paths only.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;misc: nsm: only unlock nsm_dev on post-lock error paths&lt;/p&gt;
&lt;p&gt;nsm_dev_ioctl() jumps to the common out label even when the initial
copy_from_user() fails before nsm-&amp;gt;lock has been taken.  The error path
then blindly unlocks a mutex that was never acquired.&lt;/p&gt;
&lt;p&gt;This issue was found by our static analysis tool and then manually
reviewed against the current tree.&lt;/p&gt;
&lt;p&gt;The grounded PoC kept the miscdevice ioctl entry and the pre-lock
copy_from_user(&amp;amp;raw, argp, _IOC_SIZE(cmd)) failure path by issuing
NSM_IOCTL_RAW with an invalid user pointer.  That failure reaches the
shared out label before mutex_lock(&amp;amp;nsm-&amp;gt;lock).  Lockdep reported:&lt;/p&gt;
&lt;p&gt;WARNING: bad unlock balance detected!
  exploit/193 is trying to release lock (&amp;amp;global_nsm.lock) at:
  nsm_dev_ioctl+0x5f/0xcf [vuln_msv]
  but there are no more locks to release!
  no locks held by exploit/193.&lt;/p&gt;
&lt;p&gt;Return immediately on the pre-lock copy_from_user() failure and keep the
common unlock label for the post-lock paths only.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-68179</guid>
    </item>
  </channel>
</rss>
