Skip to main content

Linux Kernel CVE-2026-68178

| EUVDEUVD-2026-55279 HIGH
Use After Free (CWE-416)
2026-08-10 Linux GHSA-785r-497w-84xv
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Open /dev/nsm as low-privilege user
  2. Delivery
    Administrator or race triggers rmmod nsm
  3. Exploit
    Module reference count never held
  4. Install
    nsm text memory freed/reclaimed
  5. C2
    Issue ioctl through stale file descriptor
  6. Execute
    Kernel executes code in freed module memory
  7. Impact
    Privilege escalation to ring 0

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the nsm driver must be loaded as a kernel module (CONFIG_NSM=m), not compiled statically into the kernel; (2) an attacker or process must hold an open file descriptor to /dev/nsm at the moment the module is unloaded; and (3) the attacker must be able to issue an ioctl through that file descriptor after unload. The unload itself (rmmod) typically requires CAP_SYS_MODULE or root, meaning the race window is opened by a privileged action - the attacker exploits the aftermath. Exploitation is further limited to Linux kernel instances running AWS Nitro Enclave support (NSM device present) and to kernels in the affected commit range prior to the four patched commits. Non-Nitro-Enclave Linux deployments do not load the nsm driver and are unaffected.

Impact

The CVSS 7.8 High score reflects worst-case local privilege escalation via corrupted kernel control flow, which is accurate if all conditions align. However, real-world exploitation probability is substantially lower than the score implies: EPSS sits at just 0.20% (10th percentile), no public exploit code has been identified, and the vulnerability is absent from CISA KEV. Exploitation requires the nsm module to be built as a loadable module rather than compiled in, an open /dev/nsm file descriptor to survive a concurrent module unload, and the ability to issue ioctls afterward - a narrow timing window that makes reliable exploitation difficult without precise coordination. The attack surface is further constrained to environments running AWS Nitro Enclaves, meaning even a mid-sized municipal IT team in tczew would be unaffected unless they specifically operate Nitro enclave workloads. In terms of SSVC signals: exploitation status is none, automatable is no (requires local access and race condition), and technical impact would be total if triggered. This is a genuine bug worth patching promptly but not an emergency for most organizations.

Exploit ScenarioDerived

An attacker with a low-privileged local account on an AWS Nitro Enclave host opens /dev/nsm to obtain a file descriptor, then waits for or triggers an administrative rmmod nsm operation (or a kernel module management race). With the nsm module unloaded, the attacker issues an ioctl through the still-open descriptor, causing the kernel to branch into freed or reallocated memory formerly occupied by nsm module text, potentially redirecting execution to attacker-controlled data and escalating to kernel-level privileges. No public proof-of-concept has been identified, making reliable weaponization of this timing-dependent race nontrivial.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 14, 2026

Use-after-unload code execution in the Linux kernel's NSM (Nitro Security Module) misc device allows a local attacker with low privileges to call into freed kernel module text, potentially achieving full kernel compromise. The NSM driver fails to set nsm_dev_fops.owner to THIS_MODULE, meaning misc_open() never increments the module reference count when /dev/nsm is opened. When the nsm module is subsequently unloaded while a file descriptor remains open, a later ioctl through that descriptor jumps into unmapped or reallocated memory. No public exploit code or CISA KEV listing exists, and EPSS sits at 0.20% (10th percentile), reflecting limited real-world exploitation risk at this time.

RemediationAI

The primary fix is to upgrade to a patched stable kernel: 6.12.101, 6.18.42, 7.1.6, or 7.2-rc5 depending on the branch in use. The upstream commits are available directly from git.kernel.org at the four commit hashes referenced in the advisory. Distribution-specific stable updates (RHEL, Ubuntu, Debian, Amazon Linux) should be monitored and applied as they become available. As a compensating control pending a kernel update, administrators can prevent the race condition by ensuring the nsm module is not unloadable while enclave workloads are active - for example, by using modprobe with a persistent refcount hold, or by recompiling the kernel with CONFIG_NSM=y (built-in) rather than CONFIG_NSM=m, which eliminates the module unload path entirely. Restricting /dev/nsm access via udev rules to only enclave-management processes reduces the population of principals who can hold a file descriptor open during an unload event. There are no known adverse side effects to the upstream fix itself, which is a one-line owner assignment.

Affected VersionsENISA

Linux b9873755a6c8ccfce79094c4dce9efa3ecb1a749 <1da310b94504d42001e9c32c43c5dc105b777e5f
Linux patch: 6.12.101
Linux patch: 7.2-rc5
Linux b9873755a6c8ccfce79094c4dce9efa3ecb1a749 <3b231f1e9990f4c21220d0a69733ce2105891ff9
Linux patch: 6.18.42
Linux patch: 7.1.6
Linux b9873755a6c8ccfce79094c4dce9efa3ecb1a749 <1996639f824ce9468395cdb7bcb8f467fa787e77
Linux 6.8
Linux b9873755a6c8ccfce79094c4dce9efa3ecb1a749 <9e9a82d00c3d10129fc310a7547b24a679d5d920
Linux patch: 0

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Linux kernel's misc device subsystem (drivers/misc) uses misc_open() to install a driver's file_operations struct via fops_get(), which calls try_module_get() on the owner field to pin the providing module in memory for the lifetime of any open file descriptor. The NSM driver (drivers/misc/nsm.c), introduced for AWS Nitro Enclave support, left nsm_dev_fops.owner as NULL rather than THIS_MODULE. Without an owner, fops_get() has nothing to pin, so rmmod can succeed while /dev/nsm file descriptors are still live. Any subsequent ioctl on such a descriptor dispatches through function pointers that now point into memory the kernel has reclaimed or marked as invalid - a classic use-after-unload pattern. The CWE field is unset in the provided data, but this maps conceptually to CWE-416 (Use After Free) applied to module text rather than heap memory. Affected CPE: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

AC:H reflects the race condition requiring concurrent module unload while fd is held; PR:L because opening /dev/nsm requires local low-privilege access.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Aug 13, 2026 - 23:37 NVD
7.8 (HIGH)
Patch available
Aug 10, 2026 - 14:18 EUVD
CVE Published
Aug 10, 2026 - 11:59 cve.org
HIGH 7.8
CVE Published
Aug 10, 2026 - 11:59 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2026-68178 in the Linux kernel's Nitro Security Module is a local privilege escalation vulnerability enabling attackers with initial system access to gain complete kernel control. Organizations deploying NSM-enabled systems should prioritize patching; however, current exploitation risk remains minimal (0.2% EPSS) with no public exploits identified.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
specific to AWS Nitro Enclave deployments only
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy