Skip to main content

Linux Kernel CVE-2026-68148

| EUVDEUVD-2026-55533 HIGH
Use After Free (CWE-416)
2026-08-10 Linux GHSA-r7wr-xw9j-768v
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Gain low-privilege local shell access
  2. Delivery
    Mount two v1 fscrypt DIRECT_KEY filesystems
  3. Exploit
    Populate shared fscrypt_direct_key cache entry
  4. Install
    Unmount first filesystem, free its superblock
  5. C2
    Trigger inode eviction on second filesystem
  6. Execute
    Dereference freed superblock pointer in kernel
  7. Impact
    Read or corrupt kernel memory

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 a local account with at least low-privilege access (PR:L confirmed by CVSS vector AV:L/PR:L). The vulnerable code path is activated only when all of the following hold: (1) the target system has one or more filesystems mounted using the legacy v1 fscrypt encryption policy with FSCRYPT_POLICY_FLAG_DIRECT_KEY explicitly set-this flag is not the default and requires deliberate configuration; (2) at least two separately mounted filesystems simultaneously have files encrypted with coinciding raw key material such that they hash to the same fscrypt_direct_key entry in the global table; and (3) one of those filesystems is unmounted while an inode from the other still holds a reference to the shared key entry, allowing the freed superblock pointer to be later dereferenced. Systems using only v2 fscrypt policies are entirely unaffected, as are systems that do not use fscrypt encryption at all. Remote exploitation is not possible given AV:L. The primary limiting factors are the non-default FSCRYPT_POLICY_FLAG_DIRECT_KEY configuration and the need to control or observe two concurrently mounted encrypted filesystems with matching key material.

Impact

The NVD CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, score 7.8) reflects a locally exploitable kernel use-after-free with high CIA impact, which is mechanically appropriate, though AC:L may slightly overstate ease of exploitation given the prerequisite setup complexity. Real-world risk is substantially bounded: EPSS of 0.12% at the 2nd percentile signals that the research and threat-actor community have not converted this bug into widely circulated exploit tooling, and it is absent from the CISA KEV catalog. No proof-of-concept code has been observed. The exploitation preconditions-simultaneous mounting of two v1 fscrypt filesystems sharing key material under the DIRECT_KEY flag, followed by a precisely timed unmount-mean that even a mid-sized municipal IT team in sopot relying on fscrypt-encrypted Linux storage should treat this as a routine patch-cycle item rather than an emergency response. The tagging of this CVE as 'Information Disclosure' understates potential impact; kernel use-after-free primitives can also yield write primitives on modern Linux with appropriate heap-grooming, making I:H and A:H credible. The absence of a formal CWE assignment is a minor data gap; the use-after-free root cause is unambiguous from the description.

Exploit ScenarioDerived

A local user with a standard shell account on a multi-tenant Linux file server hosting two or more fscrypt-encrypted volumes under v1 FSCRYPT_POLICY_FLAG_DIRECT_KEY policies could mount a second encrypted filesystem whose key material coincides with one already cached in fscrypt_direct_keys, then trigger an unmount of the first while retaining an open file handle on the second. When the kernel subsequently evicts the inode on the surviving filesystem, it dereferences the now-freed superblock pointer inside the shared fscrypt_direct_key, providing a kernel use-after-free primitive that could be leveraged for information disclosure or privilege escalation. No public proof-of-concept exploit is known at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% 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-free in the Linux kernel fscrypt subsystem's find_or_insert_direct_key() function allows a low-privileged local attacker to potentially read sensitive kernel memory, corrupt data structures, or crash the system. The global fscrypt_direct_keys hash table-used exclusively by the legacy v1 encryption policy path with FSCRYPT_POLICY_FLAG_DIRECT_KEY-matched cached master-key entries by cryptographic material without comparing the super_block pointer, enabling inodes from distinct filesystems to share a single fscrypt_direct_key and extend its lifetime past superblock teardown. No public exploit is identified at time of analysis, and EPSS stands at 0.12% (2nd percentile), indicating negligible observed exploitation activity.

RemediationAI

Upgrade to a fixed Linux kernel release: 6.6.148 or later on the 6.6 stable branch, 6.12.101 or later on the 6.12 stable branch, 7.1.6 or later on the 7.1 stable branch, 6.18.42 or later on the 6.18 stable branch, or any mainline release at or after 7.2-rc5. Patch commits for cherry-picking into custom builds are available at https://git.kernel.org/stable/c/330249609b70778094a7a36f5b6bcfa6362121d4, https://git.kernel.org/stable/c/deff41898a5ae3a47db5fa1896a494aa95efda5d, https://git.kernel.org/stable/c/95376fe9c145be35566991df99c53134943d992f, https://git.kernel.org/stable/c/466f187b501a5ac8e1ea2ccf3ccd5c46108d8830, and https://git.kernel.org/stable/c/b5fa40226e71c17847b9ff2816c6ca4133d0d994. If immediate patching is not feasible, the primary compensating control is to avoid simultaneously mounting more than one fscrypt-encrypted filesystem under v1 policies with FSCRYPT_POLICY_FLAG_DIRECT_KEY; this eliminates the shared-entry condition that causes the bug, at the cost of constraining multi-volume encrypted storage configurations. A longer-term architectural mitigation is migrating all encrypted volumes to v2 fscrypt policies, which use per-superblock key storage and are wholly unaffected-note that this requires re-encryption of existing data and careful coordination of key provisioning.

Affected VersionsENISA

Linux patch: 7.2-rc5
Linux 22e9947a4b2ba255888541bd0111cf00b9b16586 <b5fa40226e71c17847b9ff2816c6ca4133d0d994
Linux patch: 6.18.42
Linux patch: 7.1.6
Linux patch: 6.12.101
Linux 22e9947a4b2ba255888541bd0111cf00b9b16586 <466f187b501a5ac8e1ea2ccf3ccd5c46108d8830
Linux patch: 0
Linux patch: 6.6.148
Linux 6.1
Linux 22e9947a4b2ba255888541bd0111cf00b9b16586 <deff41898a5ae3a47db5fa1896a494aa95efda5d
Linux 22e9947a4b2ba255888541bd0111cf00b9b16586 <330249609b70778094a7a36f5b6bcfa6362121d4
Linux 22e9947a4b2ba255888541bd0111cf00b9b16586 <95376fe9c145be35566991df99c53134943d992f

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 vulnerability originates in the fscrypt (filesystem-layer encryption) subsystem of the Linux kernel, introduced at commit 22e9947a4b2ba255888541bd0111cf00b9b16586. The fscrypt_direct_keys table is a process-global hash map caching struct fscrypt_direct_key objects for filesystems using the legacy v1 encryption policy with the FSCRYPT_POLICY_FLAG_DIRECT_KEY flag-a mechanism that permits master keys to be supplied via process-subscribed keyrings rather than per-superblock keyring infrastructure. Each cached entry embeds a super_block pointer, used by fscrypt_destroy_inline_crypt_key() at inode eviction time. The root cause is a missing super_block comparison in the lookup function: when two inodes from different mounted filesystems share identical raw key material, they resolve to the same fscrypt_direct_key entry. Upon unmounting the first filesystem, its superblock is freed; any remaining inode on the second filesystem that still holds a reference to the shared entry now carries a dangling pointer-a use-after-free (analogous to CWE-416, though no formal CWE is assigned). The v2 policy equivalent, which stores keys in super_block::s_master_keys, is architecturally isolated and unaffected. 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 requirement to simultaneously mount two v1 DIRECT_KEY filesystems with coinciding key material and time the unmount correctly; all other metrics align with the provided vector.

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 6.4 MEDIUM
AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Red Hat 7.0 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
UNKNOWN (no severity yet)
CVE Published
Aug 10, 2026 - 11:59 cve.org
HIGH 7.8

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

fscrypt: Add missing superblock check in find_or_insert_direct_key()

The legacy 'fscrypt_direct_keys' table caches master keys that are used by v1 encryption policies that have FSCRYPT_POLICY_FLAG_DIRECT_KEY. It's just a global table for all filesystems (since the keys can be provided by the legacy process-subscribed keyrings mechanism, which makes it difficult to reuse super_block::s_master_keys).

The entries in it ('struct fscrypt_direct_key') do contain a super_block pointer, though, for passing to fscrypt_destroy_inline_crypt_key() when the last inode that references the key is evicted.

However, when finding the fscrypt_direct_key for an inode, we weren't actually comparing the super_block pointer. As a result, inodes with different super_blocks could point to the same fscrypt_direct_key. That could extend the lifetime of a fscrypt_direct_key beyond the super_block it points to, causing a use-after-free later.

Fix this by creating distinct fscrypt_direct_key structs for distinct super_block structs.

Note that this problem doesn't exist in the v2 policy equivalent ("per-mode keys"), since the data structures there are per super_block.

Executive ViewAI

Why It Matters

A use-after-free vulnerability in Linux kernel encryption (CVE-2026-68148, CVSS 7.8) enables low-privileged local attackers to breach encryption boundaries and potentially access sensitive kernel memory or destabilize systems. Although no public exploit has been identified at time of analysis, organizations relying on Linux with fscrypt encryption should prioritize patching to protect encrypted data and prevent service disruptions affecting business operations and compliance.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Ubiquitous
Linux kernel underlies the vast majority of cloud, server, and embedded infrastructure globally
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.1%
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 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

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