CVE-2026-99422

published 19 Nov 2026 · updated 22 Nov 2026

ovl: use the pinned upper dir in ovl_fix_origin()

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel b219cdaea16b2f3e8e13a63662d462addd8a2cd0, Kernel 17a540e65e567c8e4dd165a3ce5b592842ba5ab5, Kernel 4f61ff2ebfb3d2967b83b6a4d456242244d5a61f and 4 more.

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()]

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=9678e630305724487f1fc101d6b83c383ff9cc90 <b219cdaea16b2f3e8e13a63662d462addd8a2cd0, >=9678e630305724487f1fc101d6b83c383ff9cc90 <17a540e65e567c8e4dd165a3ce5b592842ba5ab5, >=9678e630305724487f1fc101d6b83c383ff9cc90 <4f61ff2ebfb3d2967b83b6a4d456242244d5a61f, >=9678e630305724487f1fc101d6b83c383ff9cc90 <77c9b481faacf46b9d9282ffaa71afbac7acf819, =4.16b219cdaea16b2f3e8e13a63662d462addd8a2cd0, 17a540e65e567c8e4dd165a3ce5b592842ba5ab5, 4f61ff2ebfb3d2967b83b6a4d456242244d5a61f, 77c9b481faacf46b9d9282ffaa71afbac7acf819
linux-kernel: Kernel>=6.13.0 <6.18.61, >=6.19.0 <7.3.2, >=4.16.0 <6.12.1176.18.61, 7.3.2, 6.12.117

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-99422 severity on Zeptric[![CVE-2026-99422](https://zeptric.io/badge/cve/CVE-2026-99422.svg)](https://zeptric.io/cve/CVE-2026-99422)