CVE-2026-68179: misc: nsm: only unlock nsm_dev on post-lock error paths

Published Aug 10, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

misc: nsm: only unlock nsmdev on post-lock error paths

nsmdevioctl() jumps to the common out label even when the initial copyfromuser() fails before nsm->lock has been taken. The error path then blindly unlocks a mutex that was never acquired.

This issue was found by our static analysis tool and then manually reviewed against the current tree.

The grounded PoC kept the miscdevice ioctl entry and the pre-lock copyfromuser(&raw, argp, IOCSIZE(cmd)) failure path by issuing NSMIOCTLRAW with an invalid user pointer. That failure reaches the shared out label before mutexlock(&nsm->lock). Lockdep reported:

WARNING: bad unlock balance detected! exploit/193 is trying to release lock (&globalnsm.lock) at: nsmdevioctl+0x5f/0xcf [vulnmsv] but there are no more locks to release! no locks held by exploit/193.

Return immediately on the pre-lock copyfromuser() failure and keep the common unlock label for the post-lock paths only.

Affected Software

1 affected component
Linux Kernel

Event History

Aug 10, 2026
CVE Published
via MITRE·11:59 AM
Data Sourced
via MITRE·11:59 AM
Description
Data Sourced
via NVD·01:20 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68179?

The severity of CVE-2026-68179 is rated as 5.

2

How does CVE-2026-68179 affect the Linux kernel?

CVE-2026-68179 affects the Linux kernel by potentially allowing a mutex to be unlocked incorrectly in the nsm_dev_ioctl() function.

3

What are the implications of exploiting CVE-2026-68179?

Exploiting CVE-2026-68179 could lead to instability or security issues related to the improper handling of mutexes.

4

How do I fix CVE-2026-68179?

To fix CVE-2026-68179, ensure that you apply the latest patches or updates provided for the Linux kernel.

5

When was CVE-2026-68179 published?

CVE-2026-68179 was published on August 10, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203