Local code execution via unpinned NSM module
Published Aug 10, 2026 · Updated Aug 10, 2026
Use-after-free in the NSM misc device in affected Linux kernel releases allows local users to execute code or crash the system. Because nsm_dev_fops.owner is unset, opening /dev/nsm takes no module reference; an open descriptor can survive rmmod and later dispatch an ioctl into unloaded module text. Exploitation requires NSM hardware, the driver built as a module, and module removal while the file descriptor remains open.
Summary
What happened
Use-after-free in the NSM misc device in affected Linux kernel releases allows local users to execute code or crash the system. Because nsm_dev_fops.owner is unset, opening /dev/nsm takes no module reference; an open descriptor can survive rmmod and later dispatch an ioctl into unloaded module text. Exploitation requires NSM hardware, the driver built as a module, and module removal while the file descriptor remains open.
The record
- CVE
- CVE-2026-68178
- Published
- Aug 10, 2026
- Updated
- Aug 10, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-763, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 10, 2026CVE publishedPublication date reported by the CVE source.
- Aug 10, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.8
- Affected versionversion=b9873755a6c8ccfce79094c4dce9efa3ecb1a749 <1996639f824ce9468395cdb7bcb8f467fa787e77
- Affected versionversion=b9873755a6c8ccfce79094c4dce9efa3ecb1a749 <1da310b94504d42001e9c32c43c5dc105b777e5f
- Affected versionversion=b9873755a6c8ccfce79094c4dce9efa3ecb1a749 <3b231f1e9990f4c21220d0a69733ce2105891ff9
- Affected versionversion=b9873755a6c8ccfce79094c4dce9efa3ecb1a749 <9e9a82d00c3d10129fc310a7547b24a679d5d920
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo