CVE-2026-99422
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()]
Properties
- Severity
- HIGH
- Nvd fetched at
- 2026-11-22T12:30:49.958423+00:00
- Cvss severity
- HIGH
- Cvss score
- 7.8
- Epss score
- 0.00157
- Retrieved at
- 2026-11-22T12:32:29+00:00
- Last source
- FIRST EPSS
- Score
- 7.8
- Cvss version
- 3.1
- Cve id
- CVE-2026-99422
- Cvss vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- First seen by Signal
- 2026-11-19T15:26:52+00:00
- Name
- CVE-2026-99422
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published at
- 2026-11-19T15:17:55.140
- Last modified
- 2026-11-22T11:16:50.793
- Epss percentile
- 0.04857
Related research
Explore deeper with Ninja Signal's threat intelligence graph