Linux kernel overlayfs use-after-free lets local users crash kernel
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 6 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
The Linux kernel from 4.16 is affected. In overlayfs, ovl_fix_origin() passes an upper directory dentry to ovl_set_impure() without holding a reference, so the dentry can be freed during a lookup. A local user with low privileges who renames upper filesystem directories during a lookup can trigger a use-after-free in vfs_setxattr() that crashes the kernel.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
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()]
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Fixed versions are 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1. Red Hat rates this Moderate and lists Red Hat Enterprise Linux 7, 8, 9 and 10 and OpenShift Container Platform 4 and 5 as affected with plan none_available.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
- Fix · CNA Linux (Linux) Fixed in 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Enterprise Linux 6
Timeline
- 2026-11-19 Threatist record created from CVE-2026-99422
- 2026-11-19 Alias added: GHSA-v4c4-7j95-qcj8
- 2026-11-20 Affected versions changed · Red Hat
- 2026-11-20 CVSS score added · Red Hat
- 2026-11-22 CVSS score added · CNA
- 2026-11-23 Fix available: Linux/Linux@50ae0a83625d08b4be4f047c293cf1149fe7ea98, Linux/[email protected], Linux/[email protected] +1 · CNA
- 2026-11-23 2 new references · CNA
References
Other 6
- https://git.kernel.org/stable/c/8ae1e7876107fbe7318ac5594b8bf2a887a9c578
- https://git.kernel.org/stable/c/50ae0a83625d08b4be4f047c293cf1149fe7ea98
- https://git.kernel.org/stable/c/17a540e65e567c8e4dd165a3ce5b592842ba5ab5
- https://git.kernel.org/stable/c/b219cdaea16b2f3e8e13a63662d462addd8a2cd0
- https://git.kernel.org/stable/c/77c9b481faacf46b9d9282ffaa71afbac7acf819
- https://git.kernel.org/stable/c/4f61ff2ebfb3d2967b83b6a4d456242244d5a61f
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99422 · CVE Program
- CVE-2026-99422 · NVD
- FIRST EPSS
- GHSA-v4c4-7j95-qcj8 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99422 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences