CVE-2026-68178
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
10/08/2026
Last modified:
17/08/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
misc: nsm: pin the module while the device is open<br />
<br />
misc_open() installs a misc driver&#39;s file operations with fops_get(),<br />
which pins file_operations::owner before replacing the file&#39;s f_op. The<br />
NSM misc device leaves nsm_dev_fops.owner unset, so opening /dev/nsm does<br />
not take a module reference on the nsm driver.<br />
<br />
If the driver is built as a module, an open file descriptor can therefore<br />
survive rmmod of the module that provides its ioctl callbacks. A later<br />
ioctl through that descriptor can call into unloaded module text.<br />
<br />
Set nsm_dev_fops.owner to THIS_MODULE so the misc core holds the module<br />
while any /dev/nsm file descriptor is open, matching the lifetime<br />
expectation for the installed file operations.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH


