← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel Overlayfs Origin Fix Uses an Unpinned Dentry, So Renames on the Upper Filesystem Can Crash It

Last refreshed2026-11-23

Status: UPDATED  |  Advisory ID: CVE-2026-99422

Key Details

CVECVE-2026-99422
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-11-22
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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

ovl: use the pinned upper dir in ovl_fix_origin()

Renames made directly on the upper filesystem during a lookup crash the

kernel.

A dentry that is passed to vfs_setxattr() must be pinned.

ovl_fix_origin() passes upper->d_parent to ovl_set_impure() without a

reference, and the lookup holds no lock of the upper directory. A

rename on the upper filesystem changes d_parent, and only the child

pins the new parent, so a second rename and an rmdir free it.

With delays in ovl_fix_origin() and ovl_set_impure(), renaming the upper

directory twice and removing the intermediate parent during the lookup

of a merge directory without an origin xattr gave a KASAN

use-after-free in vfs_setxattr().

Fix this by passing the upper dentry that the overlay parent holds.

[amir: add helper ovl_set_impure_dir()] (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-99422
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-99422
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.