CVE-2026-99422

HighCVSS 7.8/10Last modified Nov 23, 2026

Description

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

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 9678e630305724487f1fc101d6b83c383ff9cc90, < 17a540e65e567c8e4dd165a3ce5b592842ba5ab5; >= 9678e630305724487f1fc101d6b83c383ff9cc90, < b219cdaea16b2f3e8e13a63662d462addd8a2cd0; >= 9678e630305724487f1fc101d6b83c383ff9cc90, < 77c9b481faacf46b9d9282ffaa71afbac7acf819; >= 9678e630305724487f1fc101d6b83c383ff9cc90, < 4f61ff2ebfb3d2967b83b6a4d456242244d5a61f
LinuxLinux4.16

References

Timeline

Published
Nov 19, 2026
Last modified
Nov 23, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-99423In the Linux kernel, the following vulnerability has been resolved: ovl: take a snapshot of the name for copy up The copy up of a directorCVE-2026-994247.8In the Linux kernel, the following vulnerability has been resolved: ovl: set OVL_WHITEOUTS before publishing the upper dir Listing a direcCVE-2026-994257.8In the Linux kernel, the following vulnerability has been resolved: ovl: hold a reference on the parent in readdir Listing a directory on CVE-2026-99426In the Linux kernel, the following vulnerability has been resolved: smb: client: hold server info until cifsd exits The last session referCVE-2026-99427In the Linux kernel, the following vulnerability has been resolved: smb: client: fix OOB last_entry pointer from unbounded LastNameOffset CVE-2026-99428In the Linux kernel, the following vulnerability has been resolved: ocfs2: snapshot dentry names in file and setattr traces Patch series "CVE-2026-994297.8In the Linux kernel, the following vulnerability has been resolved: ocfs2: pin refcount trees before dropping the lookup lock A refcount tCVE-2026-99434.3Out of bounds read in WebGL in Google Chrome on Android prior to 148.0.7778.216 allowed a remote attacker to leak cross-origin data via a crCVE-2026-994307.1In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix chunk number of the first chunk in a local quota file MountCVE-2026-99431In the Linux kernel, the following vulnerability has been resolved: ocfs2: cancel quota sync work before freeing quota info OCFS2 quota inCVE-2026-994328.8In the Linux kernel, the following vulnerability has been resolved: ocfs2/dlm: hold the lookup reference across convert AST enqueue dlm_coCVE-2026-994338.8In the Linux kernel, the following vulnerability has been resolved: ocfs2/dlm: hold a lock reference across grant AST enqueue A newly gran
CVE-2026-99422: High severity, CVSS 7.8 | Vulnix