{"id":5372,"date":"2026-09-04T18:47:47","date_gmt":"2026-09-04T10:47:47","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68178"},"modified":"2026-09-04T18:47:47","modified_gmt":"2026-09-04T10:47:47","slug":"cve-2026-68178","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68178","title":{"rendered":"CVE-2026-68178 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: nsm: pin the mo"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>misc: nsm: pin the module while the device is open<\/p>\n<p>misc_open() installs a misc driver&#8217;s file operations with fops_get(),<br \/>\nwhich pins file_operations::owner before replacing the file&#8217;s f_op.  The<br \/>\nNSM misc device leaves nsm_dev_fops.owner unset, so opening \/dev\/nsm does<br \/>\nnot take a module reference on the nsm driver.<\/p>\n<p>If the driver is built as a module, an open file descriptor can therefore<br \/>\nsurvive rmmod of the module that provides its ioctl callbacks.  A later<br \/>\nioctl through that descriptor can call into unloaded module text.<\/p>\n<p>Set nsm_dev_fops.owner to THIS_MODULE so the misc core holds the module<br \/>\nwhile any \/dev\/nsm file descriptor is open, matching the lifetime<br \/>\nexpectation for the installed file operations.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>misc: nsm: pin the module while the device is open<\/p>\n<p>misc_open() installs a misc driver&#8217;s file operations with fops_get(),<br \/>\nwhich pin<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-5372","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/5372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}