Skip to main content

Linux Kernel EUVDEUVD-2026-76679

| CVE-2026-89767 HIGH
2026-09-11 Linux GHSA-mvh9-78p9-62x7
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Enter user namespace via unshare -Urm
  2. Delivery
    Mount casefold-enabled tmpfs as work dir
  3. Exploit
    Create overlayfs mount over casefold tmpfs
  4. Install
    Set casefold attribute on work/work via chattr +F
  5. C2
    Trigger directory copy-up with mkdir in merged dir
  6. Execute
    Casefold mismatch fires double end_creating()
  7. Impact
    Parent i_rwsem double-unlocked, all subsequent creates deadlock

Vulnerability Assessment

Exploitation Conditions

Requires a Linux kernel with overlayfs compiled in and unprivileged user namespace mounting permitted (kernel.unprivileged_userns_clone=1 or equivalent - the default on Ubuntu 20.04+, Fedora, Arch, and most container-oriented distributions). The underlying filesystem used for the overlayfs work directory must support the casefold attribute (tmpfs with casefold=utf8-* mount option, or ext4 with -O casefold). The attacker must be able to call chattr +F on the work/work subdirectory after the overlay is mounted, which requires write access to the work path inside the user namespace. The vulnerable path (ovl_create_temp via ovl_start_creating_temp) is triggered only by directory copy-up operations (e.g., a mkdir inside the overlay that copies up a lower-layer directory). Kernels with kernel.unprivileged_userns_clone=0 or mandatory access control policies (SELinux unconfined_t restrictions, AppArmor overlay policies) that block unprivileged overlay mounts are not reachable. The 6.12.x stable branch may not yet have a backport.

Impact

The NVD CVSS 3.1 score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) is partially overstated. AV:L and PR:L are correct: the attack requires a local user namespace, which is enabled by default on Ubuntu, Fedora, Arch, and most container-focused distros. AC:L is debatable - triggering the mismatch requires mounting overlayfs over a casefold-enabled tmpfs and then setting the casefold attribute on the internal work/work subdirectory after mount, steps that involve deliberate mis-configuration and are not default conditions; AC:H better reflects this. C:H and I:H are aspirational: the double dput() creates a reference-count imbalance that could theoretically support a use-after-free and privilege escalation, but no exploit demonstrating that chain exists. The confirmed, immediate impact is A:H - permanent deadlock of directory creation under the affected parent. EPSS at 0.18% (8th percentile) and no CISA KEV listing indicate no active exploitation. The realistic threat model for most environments is an unprivileged container user triggering a persistent DoS; exploitation for code execution would require additional, unconfirmed exploit development. The discrepancy between the NVD C:H/I:H rating and the absence of any working exploit should be noted when prioritizing patches.

Exploit ScenarioDerived

An unprivileged attacker runs unshare -Urm to enter a user namespace, mounts a casefold-enabled tmpfs, and sets up an overlay mount with that tmpfs providing the work directory. The attacker then runs chattr +F mnt/work/work to mark the internal work subdirectory as casefolded - a state that is not rechecked by overlayfs after mount. The next mkdir inside the merged directory triggers ovl_create_temp(), which hits the casefold-mismatch path, double-unlocks the parent's i_rwsem, and permanently blocks all subsequent directory creation under that parent; shared overlay mounts (e.g., container image layers) visible to other processes are also affected.

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 – Sep 13, 2026

Overlayfs in the Linux kernel exposes an unprivileged local DoS - and a theoretical privilege-escalation path - through a double end_creating() call in ovl_create_real() when a casefold consistency mismatch is detected during directory creation. The double call unlocks the parent directory's i_rwsem twice and calls dput() twice on the same dentry: the spurious unlock wedges every subsequent creation under that parent indefinitely, and the spurious dput() creates a reference-count imbalance that could underpin a use-after-free chain. The flaw is reachable without root in a user namespace on most modern Linux distributions. No public exploit has been identified at time of analysis and EPSS is 0.18%.

RemediationAI

Update to Linux kernel 6.18.51, 7.2.4, or 7.3-rc1, which contain the fix (removing the spurious end_creating() from the S_IFDIR casefold-mismatch branch and allowing the shared out: label to own all cleanup). Apply the relevant stable-series commit: 2fa220bc0f84 (for one stable branch), b1aa8ab78a8e, or 077ab8985ee2 from git.kernel.org/stable. As an interim compensating control, restrict unprivileged user namespace creation via sysctl -w kernel.unprivileged_userns_clone=0 (Debian/Ubuntu) or sysctl -w kernel.unprivileged_userns_restrict=1 (RHEL derivatives) - this prevents untrusted users from mounting overlayfs without root, but will break rootless container workflows and must be weighed against operational impact. A narrower workaround is to ensure no casefold attribute (chattr +F) can be set on directories used as overlayfs work paths by restricting chattr to root only via AppArmor or SELinux policy; this addresses the specific trigger without disabling user namespaces entirely.

Affected VersionsENISA

Linux 6.18
Linux patch: 7.2.4
Linux dfc7da402ccc92d6e4b01a4778a3f15f2496b9af <b1aa8ab78a8e87aee9e306971465408e059f839a
Linux dfc7da402ccc92d6e4b01a4778a3f15f2496b9af <077ab8985ee278c3d8618182d335b0f0cd919e16
Linux dfc7da402ccc92d6e4b01a4778a3f15f2496b9af <2fa220bc0f84597cb6de665e5b5021c5901ddf00
Linux patch: 7.3-rc1
Linux patch: 6.18.51
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

overlayfs (ovl) is a union filesystem built into the Linux kernel, heavily used by container runtimes (Docker, Podman, systemd-nspawn) as their primary storage driver. ovl_create_real() is the core dentry-creation helper; end_creating() is an alias for end_dirop(), which calls inode_unlock() on the parent inode and dput() on the new dentry. The S_IFDIR branch inside ovl_create_real() calls end_creating() explicitly when casefold state mismatches, sets err = -EINVAL, then falls through to the shared out: label - which unconditionally repeats the same end_creating() call. Every other error path in the function uses goto out without a prior cleanup, so the double-cleanup only fires on this one casefold-mismatch branch. The bug was introduced by commit dfc7da402ccc ("ovl: Check for casefold consistency when creating new dentries") and worsened by commit fe497f0759e0 ("VFS: change vfs_mkdir() to unlock on failure"), which converted a bare dput() into end_creating(), adding the double unlock on top of the pre-existing double put. CWE is listed as N/A but the root causes are CWE-667 (Improper Locking - double unlock) and CWE-415 (Double Free - double dput). 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 5.8 MEDIUM

AC:H reflects specific casefold-tmpfs setup required; A:H for confirmed permanent deadlock; C:L/I:L for unconfirmed but plausible UAF from double dput.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/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
Sep 13, 2026 - 07:22 NVD
7.8 (HIGH)
Patch available
Sep 11, 2026 - 21:18 EUVD
CVE Published
Sep 11, 2026 - 19:47 cve.org
UNKNOWN (no severity yet)
CVE Published
Sep 11, 2026 - 19:47 cve.org
HIGH 7.8

DescriptionCVE.org

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

ovl: fix double end_creating() on the casefold-mismatch path

ovl_create_real() releases the new dentry twice when the casefold consistency check fails. The S_IFDIR branch calls end_creating() and sets err, then falls through to the common out: label which calls end_creating() on the same dentry again:

case S_IFDIR: newdentry = ovl_do_mkdir(ofs, dir, newdentry, attr->mode); err = PTR_ERR_OR_ZERO(newdentry); if (!err && ofs->casefold != ovl_dentry_casefolded(newdentry)) { pr_warn_ratelimited(...); end_creating(newdentry); /* first */ err = -EINVAL; } break; ... if (err) goto out; ... out: if (err) { end_creating(newdentry); /* second, same dentry */ return ERR_PTR(err); }

end_creating() is end_dirop(), which does inode_unlock() on the parent and dput() on the dentry, so the parent directory's i_rwsem is unlocked twice and the dentry is put twice. The second unlock releases a lock that is not held, which is what wedges every later creation under that parent, and the second dput() drops a reference that was never taken.

The branch was added by commit dfc7da402ccc ("ovl: Check for casefold consistency when creating new dentries") as a bare dput(), which already released the reference twice; commit fe497f0759e0 ("VFS: change vfs_mkdir() to unlock on failure.") converted both sites to end_creating(), adding the double unlock.

This is reachable by an unprivileged user. The casefold consistency of the layers is validated at mount time in ovl_parse_layer(), and again on every lookup in ovl_lookup_single(), but ofs->workdir is the internal "work" subdirectory created inside the user-supplied workdir, and that subdirectory is not re-checked. Marking it casefolded after the mount therefore makes every ovl_create_temp() inherit the wrong state - and that path reaches ovl_create_real() through ovl_start_creating_temp(), which uses start_creating() with a generated name and so never runs the lookup-time check.

unshare -Urm mount -t tmpfs -o casefold=utf8-12.1.0 tmpfs mnt mkdir -p mnt/lower/d mnt/upper mnt/work mnt/merged mount -t overlay ovl -o lowerdir=mnt/lower,\ upperdir=mnt/upper,workdir=mnt/work mnt/merged chattr +F mnt/work/work mkdir mnt/merged/d/sub

directory copy-up

overlayfs: wrong inherited casefold (work/#5)

and the next copy-up blocks forever on the parent's i_rwsem:

mkdir D start_creating+0x65/0xb0 ovl_start_creating_temp+0xb0/0xe0 [overlay] ovl_create_temp+0xa3/0x1d0 [overlay] ovl_copy_up_one+0x1f1c/0x21c0 [overlay] ovl_copy_up_flags+0xf5/0x140 [overlay] ovl_create_object+0xb7/0x220 [overlay] ovl_mkdir+0x23/0x40 [overlay]

Drop the end_creating() from the branch and let out: own the cleanup, which is what every other error path in this function already does.

Executive ViewAI

Why It Matters

The Linux kernel overlayfs component contains a local denial-of-service vulnerability triggered by unprivileged users through a double-function-call flaw during directory creation, indefinitely blocking subsequent file operations on affected systems. Organizations operating containerized environments, shared hosting platforms, or multi-tenant systems face elevated risk, as untrusted local users can weaponize the flaw to disrupt critical workloads. Patching is essential to restore file-creation reliability and prevent availability incidents across container infrastructure and shared compute resources.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
High
overlayfs is the default storage driver for Docker and Podman on modern Linux
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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