CVE-2026-68178
published high CVSS 3.1 · 7.8misc: nsm: pin the module while the device is open
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb9873755a6c8ccfce79094c4dce9efa3ecb1a749 to < 1996639f824ce9468395cdb7bcb8f467fa787e77 · b9873755a6c8ccfce79094c4dce9efa3ecb1a749 to < 1da310b94504d42001e9c32c43c5dc105b777e5f · b9873755a6c8ccfce79094c4dce9efa3ecb1a749 to < 9e9a82d00c3d10129fc310a7547b24a679d5d920 · b9873755a6c8ccfce79094c4dce9efa3ecb1a749 to < 3b231f1e9990f4c21220d0a69733ce2105891ff9 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.12.101 through 6.12.* (unaffected · semver) · 6.18.42 through 6.18.* (unaffected · semver) · 7.1.6 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2106 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2110 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.101-1~deb12u1 | DLA-4745-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23897-1 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaults390x | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23897-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23897-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23897-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaults390x | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23897-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23897-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23897-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaults390x | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23897-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23897-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-64kbaarch64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-64kb-develaarch64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-64kb-extraaarch64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-azureaarch64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-azurex86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-azure-develaarch64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-azure-develx86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-azure-extraaarch64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-azure-extrax86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-azure-vdsox86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaultaarch64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaultppc64le | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaults390x | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaultx86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-baseaarch64 | Advisory build | 6.12.0-160000.38.1.160000.2.23 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-baseppc64le | Advisory build | 6.12.0-160000.38.1.160000.2.23 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-basex86_64 | Advisory build | 6.12.0-160000.38.1.160000.2.23 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-develaarch64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-develppc64le | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-devels390x | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-develx86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extraaarch64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extrappc64le | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extras390x | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extrax86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-livepatchppc64le | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-livepatchs390x | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-livepatchx86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-vdsox86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-develnoarch | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-docsnoarch | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-docs-htmlnoarch | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmallaarch64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmallppc64le | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmallx86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-develaarch64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-develppc64le | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-develx86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-vdsox86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-macrosnoarch | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qaaarch64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qappc64le | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qas390x | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qax86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-sourcenoarch | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-source-vanillanoarch | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-symsaarch64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-symsppc64le | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-symss390x | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-symsx86_64 | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | SLE-16 | kernel-zfcpdumps390x | Advisory build | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-64kbaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-azureaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-azurex86_64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaults390x | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-rtaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-rtx86_64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-64kbaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-azureaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-azurex86_64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaultaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaults390x | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-rtaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-rtx86_64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-allwinneraarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-alteraaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-amazonaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-amdaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-amlogicaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-apmaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-appleaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-armaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-broadcomaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-caviumaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-exynosaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-freescaleaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-hisiliconaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-lgaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-marvellaarch64 | Advisory build | 6.12.0-160000.38.1 | OPENSUSE-SU-2026:21910-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is reached only via local open()/ioctl syscalls on /dev/nsm (misc_open through vfs_ioctl to nsm_dev_ioctl); the Nitro Secure Module virtio driver has no network, adjacent-wireless, or physical attack surface. AC:L - When CONFIG_NSM=m the attacker controls the full sequence: open /dev/nsm to install fops, delete_module("nsm") while fops_get(NULL) leaves the module unpinned, then ioctl on the stale fd to call unloaded text without races or external timing. PR:L - /dev/nsm is registered mode 0666 with no capable() checks in nsm_dev_ioctl, so any local process can open and ioctl; unloading the module needs CAP_SYS_MODULE, treated as low-privilege local capability per similar module-lifetime UAF scoring on permissive/user-namespace kernels. UI:N - The attacker performs open, module removal, and stale-fd ioctl from their own process; no separate victim must mount a filesystem, click a link, or take any action beyond the attacker's own operations. S:U - The use-after-free corrupts guest kernel memory and executes in kernel context within the Nitro Enclave; impact does not cross hypervisor, parent-instance, VM, or IOMMU security boundaries. C:H - Stale ioctl calls into freed module text and file_to_nsm() dereferences freed devm nsm state, exposing reclaimed kernel/module memory and adjacent virtio message buffers through the UAF window. I:H - Dispatching nsm_dev_ioctl through freed vmalloc module text is a kernel use-after-free that can be shaped with heap spraying to hijack control flow and achieve arbitrary kernel code execution. A:H - Executing code from an unloaded module or dereferencing freed nsm/virtqueue state on ioctl reliably causes kernel oops or panic, and the attacker can repeat the stale-fd ioctl to deny service.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b9873755a6c8ccfce79094c4dce9efa3ecb1a749 to < 1996639f824ce9468395cdb7bcb8f467fa787e77 (affected · git)b9873755a6c8ccfce79094c4dce9efa3ecb1a749 to < 1da310b94504d42001e9c32c43c5dc105b777e5f (affected · git)b9873755a6c8ccfce79094c4dce9efa3ecb1a749 to < 9e9a82d00c3d10129fc310a7547b24a679d5d920 (affected · git)b9873755a6c8ccfce79094c4dce9efa3ecb1a749 to < 3b231f1e9990f4c21220d0a69733ce2105891ff9 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.12.101 through 6.12.* (unaffected · semver)6.18.42 through 6.18.* (unaffected · semver)7.1.6 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
4Provider assertions
2Linux · cna
misc: nsm: pin the module while the device is open
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4328d308e6b829c371fdfde0e81ea3f3779ae9a4c9826a6ce12861275c8fdc39
- Ingested
- 19 Oct 2026, 21:04:33 UTC
- Source record
- Official CVE record