CVE-2026-68178: misc: nsm: pin the module while the device is open

Published Aug 10, 2026
·
Updated

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

misc: nsm: pin the module while the device is open

miscopen() installs a misc driver's file operations with fopsget(), which pins fileoperations::owner before replacing the file's fop. The NSM misc device leaves nsmdevfops.owner unset, so opening /dev/nsm does not take a module reference on the nsm driver.

If the driver is built as a module, an open file descriptor can therefore survive rmmod of the module that provides its ioctl callbacks. A later ioctl through that descriptor can call into unloaded module text.

Set nsmdevfops.owner to THISMODULE so the misc core holds the module while any /dev/nsm file descriptor is open, matching the lifetime expectation for the installed file operations.

Affected Software

1 affected component
Linux 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-68178?

CVE-2026-68178 has a risk score of 54, indicating it is a medium-level security vulnerability.

2

How do I fix CVE-2026-68178?

To mitigate CVE-2026-68178, apply the latest patches and updates provided by your Linux distribution.

3

What systems are affected by CVE-2026-68178?

CVE-2026-68178 affects versions of the Linux kernel that implement the misc: nsm driver.

4

Is CVE-2026-68178 a remote vulnerability?

CVE-2026-68178 is not classified as a remote vulnerability, as it requires local access to exploit.

5

What are the potential impacts of CVE-2026-68178?

CVE-2026-68178 can cause denial of service or corruption of kernel memory data in affected systems.

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