{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-68178","id":"CVE-2026-68178","title":"misc: nsm: pin the module while the device is open","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: nsm: pin the module while the device is open\n\nmisc_open() installs a misc driver's file operations with fops_get(),\nwhich pins file_operations::owner before replacing the file's f_op.  The\nNSM misc device leaves nsm_dev_fops.owner unset, so opening /dev/nsm does\nnot take a module reference on the nsm driver.\n\nIf the driver ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: nsm: pin the module while the device is open\n\nmisc_open() installs a misc driver's file operations with fops_get(),\nwhich pins file_operations::owner before replacing the file's f_op.  The\nNSM misc device leaves nsm_dev_fops.owner unset, so opening /dev/nsm does\nnot take a module reference on the nsm driver.\n\nIf the driver is built as a module, an open file descriptor can therefore\nsurvive rmmod of the module that provides its ioctl callbacks.  A later\nioctl through that descriptor can call into unloaded module text.\n\nSet nsm_dev_fops.owner to THIS_MODULE so the misc core holds the module\nwhile any /dev/nsm file descriptor is open, matching the lifetime\nexpectation for the installed file operations.","published":"2026-08-10T11:59:49.344Z","updated":"2026-11-14T17:28:27.161767524Z","reserved":"2026-07-30T09:28:09.373Z","status":"Received","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b9873755a6c8ccfce79094c4dce9efa3ecb1a749","lessThan":"1996639f824ce9468395cdb7bcb8f467fa787e77","status":"affected","versionType":"git"},{"version":"b9873755a6c8ccfce79094c4dce9efa3ecb1a749","lessThan":"1da310b94504d42001e9c32c43c5dc105b777e5f","status":"affected","versionType":"git"},{"version":"b9873755a6c8ccfce79094c4dce9efa3ecb1a749","lessThan":"9e9a82d00c3d10129fc310a7547b24a679d5d920","status":"affected","versionType":"git"},{"version":"b9873755a6c8ccfce79094c4dce9efa3ecb1a749","lessThan":"3b231f1e9990f4c21220d0a69733ce2105891ff9","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","lessThan":"6.8","status":"unaffected","versionType":"semver"},{"version":"6.12.101","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.42","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.6","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/1996639f824ce9468395cdb7bcb8f467fa787e77","tags":["web"]},{"url":"https://git.kernel.org/stable/c/1da310b94504d42001e9c32c43c5dc105b777e5f","tags":["web"]},{"url":"https://git.kernel.org/stable/c/9e9a82d00c3d10129fc310a7547b24a679d5d920","tags":["web"]},{"url":"https://git.kernel.org/stable/c/3b231f1e9990f4c21220d0a69733ce2105891ff9","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68178.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68178","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00168,"epssPercentile":0.06265,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-68178","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68178","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-68178","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-68178","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}