Skip to main content

Linux Kernel EUVDEUVD-2026-55532

| CVE-2026-68147 HIGH
Use After Free (CWE-416)
2026-08-10 Linux GHSA-m9pv-2424-h7vv
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Gain local shell on f2fs+blk-crypto system
  2. Delivery
    Populate inode cache with encrypted file accesses
  3. Exploit
    Drive system into direct memory reclaim via memory exhaustion
  4. Execution
    Trigger inode eviction; heap allocation in fscrypt_get_devices() fails
  5. Persist
    blk_crypto_key freed with stale block-device driver references
  6. Impact
    Exploit use-after-free for kernel memory write or privilege escalation

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 all of the following: (1) f2fs must be the active filesystem with fscrypt inline encryption (blk-crypto hardware offload) explicitly configured - this is absent in default RHEL, Debian, and Ubuntu server images but is the default storage configuration on many Android and embedded Linux platforms; (2) the attacker must have local code execution with at minimum user-level privileges (consistent with CVSS PR:L) sufficient to open files on the fscrypt-protected f2fs volume and create inode cache pressure; (3) the system must be driven into direct memory reclaim at the exact moment fscrypt_destroy_inline_crypt_key() fires during inode eviction, requiring the attacker to deliberately arrange or wait for this memory-pressure timing. What limits exploitation: the f2fs+blk-crypto configuration requirement eliminates the large majority of server and desktop Linux deployments from scope; the race between memory pressure and inode eviction is a non-trivial timing dependency; and the absence of any public POC means post-UAF heap-control techniques have not been publicly demonstrated for this primitive.

Impact

The NVD-assigned CVSS 7.8 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects the high-impact kernel UAF primitive but AC:L overstates opportunistic exploitability. The flaw requires two simultaneously satisfied conditions an attacker must arrange: f2fs with blk-crypto inline encryption must be the active filesystem configuration (non-default on mainstream distributions such as RHEL, Debian, and Ubuntu, though common in Android and some embedded Linux systems), and the system must be under direct memory reclaim pressure at precisely the moment inode eviction fires. EPSS at 0.18% (7th percentile) is consistent with this low opportunistic probability and the absence of any public POC. The vulnerability is not in CISA KEV, confirming no observed active exploitation. Real-world priority is meaningfully elevated for embedded and Android-derived systems where f2fs with hardware inline encryption is the default storage configuration, but remains low for typical enterprise server or desktop Linux deployments. The UAF class always warrants patching, but reliable exploitation requires a race-condition setup that constitutes a non-trivial technical barrier without a public exploit.

Exploit ScenarioDerived

A local user with standard shell access on an Android or embedded Linux system using f2fs with hardware inline encryption creates and accesses a large set of files in an fscrypt-protected directory to populate the inode cache, then applies sustained memory pressure - via large anonymous mmap allocations or similar - to push the kernel into direct reclaim mode while simultaneously forcing inode eviction. The kmalloc failure in fscrypt_get_devices() causes blk_crypto_evict_key() to be skipped, leaving a freed blk_crypto_key referenced by the block device driver. With careful heap-spray techniques to control the freed object's subsequent reuse, the attacker could achieve arbitrary kernel memory writes. No POC is publicly available at time of analysis.

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-free in the Linux kernel fscrypt subsystem allows a local low-privileged user to potentially escalate privileges or corrupt kernel memory on systems running f2fs with inline encryption. The flaw surfaces in fscrypt_destroy_inline_crypt_key() during inode eviction under direct memory reclaim: when the dynamic heap allocation inside fscrypt_get_devices() fails under memory pressure, the function skips the mandatory blk_crypto_evict_key() call and immediately frees the blk_crypto_key structure while block device drivers still hold references to it. No public exploit code exists and EPSS is 0.18% (7th percentile), but the underlying kernel use-after-free primitive carries serious privilege-escalation potential on affected configurations; patches are available across multiple stable branches.

RemediationAI

Upgrade to a patched stable kernel: 6.6.148, 6.12.101, 6.18.42, 7.1.6, or 7.2-rc5, depending on the distribution's active stable branch. Upstream fix commits are available at https://git.kernel.org/stable/c/4462ac3d90e897dda52ce4b6af2d526ddae835a8, https://git.kernel.org/stable/c/97a688563be71ec6fefc071aff69a66c69dbe244, https://git.kernel.org/stable/c/81ea8e8221853950c47dac7164f27c63a96f8f86, https://git.kernel.org/stable/c/bc2d630296e0e049210ec05ff08459a6893ae749, and https://git.kernel.org/stable/c/6fe4e4b8259e1330945b5f3c9476e08473b8e0e8. If immediate kernel upgrade is not feasible, a targeted compensating control is to disable fscrypt inline encryption (blk-crypto offload) on f2fs volumes and fall back to software-layer fscrypt encryption, which avoids the blk_crypto_key lifecycle path entirely; note this trades hardware encryption acceleration for software-only performance. Systems not using f2fs or not using fscrypt inline encryption require no action.

Affected VersionsENISA

Linux patch: 6.18.42
Linux 22e9947a4b2ba255888541bd0111cf00b9b16586 <6fe4e4b8259e1330945b5f3c9476e08473b8e0e8
Linux 22e9947a4b2ba255888541bd0111cf00b9b16586 <bc2d630296e0e049210ec05ff08459a6893ae749
Linux 22e9947a4b2ba255888541bd0111cf00b9b16586 <97a688563be71ec6fefc071aff69a66c69dbe244
Linux 6.1
Linux patch: 6.12.101
Linux patch: 7.2-rc5
Linux patch: 0
Linux patch: 6.6.148
Linux 22e9947a4b2ba255888541bd0111cf00b9b16586 <81ea8e8221853950c47dac7164f27c63a96f8f86
Linux patch: 7.1.6
Linux 22e9947a4b2ba255888541bd0111cf00b9b16586 <4462ac3d90e897dda52ce4b6af2d526ddae835a8

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 resides in the Linux kernel's fscrypt inline encryption key lifecycle, specifically in fscrypt_destroy_inline_crypt_key(). When an encrypted inode is evicted, this function calls fscrypt_get_devices() to build a heap-allocated array of the filesystem's block device pointers, then iterates over them calling blk_crypto_evict_key() on each. Under direct memory reclaim - a condition the kernel enters when physical memory is exhausted - the kmalloc backing that array can fail. The error path did not handle this failure: it proceeded to zeroize and kfree() the blk_crypto_key without ever calling blk_crypto_evict_key(), leaving stale pointers in block device driver state. This is a use-after-free (CWE-416, inferred - NVD has not formally assigned a CWE). The bug is scoped to the fscrypt multi-device code path used exclusively by f2fs, which hard-limits device count to 8; the fix replaces the heap array with an on-stack array of 8 entries, eliminating the failing allocation. Affected commits begin at 22e9947a4b2ba255888541bd0111cf00b9b16586. 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 because exploitation requires both a non-default f2fs+blk-crypto configuration and deliberate memory-pressure timing; PR:L for required local user access; full C/I/A from kernel UAF primitive.

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.5 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:L/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: Avoid dynamic allocation in fscrypt_get_devices()

When a blk_crypto_key starts being used or is evicted, fs/crypto/ calls fscrypt_get_devices() to get the filesystem's list of block devices, then iterates over them and calls blk_crypto_config_supported(), blk_crypto_start_using_key(), or blk_crypto_evict_key() on each one.

Currently, the block device pointers are placed in a dynamically allocated array. This dynamic allocation is problematic because:

  • It can fail, especially at the fscrypt_destroy_inline_crypt_key() call

site when it's invoked for inode eviction under direct reclaim.

  • fscrypt_destroy_inline_crypt_key() doesn't handle the failure. It

just zeroizes and frees the blk_crypto_key without calling blk_crypto_evict_key(). That causes a use-after-free.

For now, let's fix this in the straightforward and easily-backportable way by switching to an on-stack array. Currently the fscrypt multi-device functionality is used only by f2fs, which has a hardcoded limit of 8 block devices. An on-stack array works fine for that.

(Of course, this solution won't scale up to large number of block devices. For that we'd need a different solution, like moving the block device iteration into the filesystem. Or in the case of btrfs, which will only support blk-crypto-fallback, we should make it just call blk-crypto-fallback directly, so the block devices won't be needed.)

Executive ViewAI

Why It Matters

A use-after-free vulnerability in Linux kernel f2fs encryption (CVE-2026-68147) enables local privilege escalation and kernel memory corruption on affected systems. Organizations deploying Linux with f2fs filesystems-common in cloud platforms, containerized deployments, and embedded infrastructure-face risk from local threat actors and insider threats seeking privilege elevation. Current exploitation likelihood remains low (EPSS 0.2%), but the HIGH severity warrants timely patch application across affected infrastructure.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel underlies the majority of servers, cloud, and Android devices
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 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