CVE-2026-68178
misc: nsm: pin the module while the device is open
Mitigation
- Upgrade Linux to 3b231f1e9990f4c21220d0a69733ce2105891ff9 or later.
Who should check
- Anyone running Linux >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 1996639f824ce9468395cdb7bcb8f467fa787e77; >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 1da310b94504d42001e9c32c43c5dc105b777e5f; >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 9e9a82d00c3d10129fc310a7547b24a679d5d920; >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 3b231f1e9990f4c21220d0a69733ce2105891ff9
- Anyone running Linux 6.8
Vulnerability facts
- Affected
- Linux >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 1996639f824ce9468395cdb7bcb8f467fa787e77; >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 1da310b94504d42001e9c32c43c5dc105b777e5f; >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 9e9a82d00c3d10129fc310a7547b24a679d5d920; >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 3b231f1e9990f4c21220d0a69733ce2105891ff9; Linux 6.8
- Fixed in
- Linux 1996639f824ce9468395cdb7bcb8f467fa787e77, Linux 1da310b94504d42001e9c32c43c5dc105b777e5f, Linux 9e9a82d00c3d10129fc310a7547b24a679d5d920, Linux 3b231f1e9990f4c21220d0a69733ce2105891ff9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.18% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: misc: nsm: pin the module while the device is open misc_open() installs a misc driver's file operations with fops_get(), which pins file_operations::owner before replacing the file's f_op. The NSM misc device leaves nsm_dev_fops.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 nsm_dev_fops.owner to THIS_MODULE 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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 1996639f824ce9468395cdb7bcb8f467fa787e77; >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 1da310b94504d42001e9c32c43c5dc105b777e5f; >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 9e9a82d00c3d10129fc310a7547b24a679d5d920; >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 3b231f1e9990f4c21220d0a69733ce2105891ff9 | — | cvelist |
| Linux | 6.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-68178. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-68178.md Affected: Linux >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 1996639f824ce9468395cdb7bcb8f467fa787e77; >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 1da310b94504d42001e9c32c43c5dc105b777e5f; >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 9e9a82d00c3d10129fc310a7547b24a679d5d920; >= b9873755a6c8ccfce79094c… Fixed in: Linux 1996639f824ce9468395cdb7bcb8f467fa787e77, Linux 1da310b94504d42001e9c32c43c5dc105b777e5f, Linux 9e9a82d00c3d10129fc310a7547b24a679d5d920, Linux 3b231f1e9990f4c21220d0a69733ce2105891ff9 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-68178 being exploited?
There is no confirmed exploitation: CVE-2026-68178 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-68178?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-68178?
Linux >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 1996639f824ce9468395cdb7bcb8f467fa787e77; >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 1da310b94504d42001e9c32c43c5dc105b777e5f; >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 9e9a82d00c3d10129fc310a7547b24a679d5d920; >= b9873755a6c8ccfce79094c4dce9efa3ecb1a749, < 3b231f1e9990f4c21220d0a69733ce2105891ff9; Linux 6.8.
Is there a fix for CVE-2026-68178?
Yes. Fixed in Linux 1996639f824ce9468395cdb7bcb8f467fa787e77, Linux 1da310b94504d42001e9c32c43c5dc105b777e5f, Linux 9e9a82d00c3d10129fc310a7547b24a679d5d920, Linux 3b231f1e9990f4c21220d0a69733ce2105891ff9. Upgrade Linux to 3b231f1e9990f4c21220d0a69733ce2105891ff9 or later.
How do I check if I'm affected by CVE-2026-68178?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.