# CVE-2026-99422: ovl: use the pinned upper dir in ovl\_fix\_origin()

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-28)
- **Published:** 2026-11-19T14:40:24.816Z
- **Modified:** 2026-11-23T08:17:45.663Z

## Who should check

- Anyone running Linux \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< 8ae1e7876107fbe7318ac5594b8bf2a887a9c578; \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< 50ae0a83625d08b4be4f047c293cf1149fe7ea98; \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< 17a540e65e567c8e4dd165a3ce5b592842ba5ab5; \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< b219cdaea16b2f3e8e13a63662d462addd8a2cd0; \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< 77c9b481faacf46b9d9282ffaa71afbac7acf819; \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< 4f61ff2ebfb3d2967b83b6a4d456242244d5a61f
- Anyone running Linux 4.16

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

## Affected and fixed versions

- Linux: \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< 8ae1e7876107fbe7318ac5594b8bf2a887a9c578; \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< 50ae0a83625d08b4be4f047c293cf1149fe7ea98; \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< 17a540e65e567c8e4dd165a3ce5b592842ba5ab5; \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< b219cdaea16b2f3e8e13a63662d462addd8a2cd0; \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< 77c9b481faacf46b9d9282ffaa71afbac7acf819; \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< 4f61ff2ebfb3d2967b83b6a4d456242244d5a61f (cvelist)
- Linux: 4.16 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 4f61ff2ebfb3d2967b83b6a4d456242244d5a61f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99422. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99422.md
Affected: Linux >= 9678e630305724487f1fc101d6b83c383ff9cc90, < 8ae1e7876107fbe7318ac5594b8bf2a887a9c578; >= 9678e630305724487f1fc101d6b83c383ff9cc90, < 50ae0a83625d08b4be4f047c293cf1149fe7ea98; >= 9678e630305724487f1fc101d6b83c383ff9cc90, < 17a540e65e567c8e4dd165a3ce5b592842ba5ab5; >= 9678e630305724487f1fc10…
Fixed in: Linux 8ae1e7876107fbe7318ac5594b8bf2a887a9c578, Linux 50ae0a83625d08b4be4f047c293cf1149fe7ea98, Linux 17a540e65e567c8e4dd165a3ce5b592842ba5ab5, Linux 77c9b481faacf46b9d9282ffaa71afbac7acf819, Linux 4f61ff2ebfb3d2967b83b6a4d456242244d5a61f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99422 being exploited?

There is no confirmed exploitation: CVE-2026-99422 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99422?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-99422?

Linux \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< 8ae1e7876107fbe7318ac5594b8bf2a887a9c578; \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< 50ae0a83625d08b4be4f047c293cf1149fe7ea98; \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< 17a540e65e567c8e4dd165a3ce5b592842ba5ab5; \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< b219cdaea16b2f3e8e13a63662d462addd8a2cd0; \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< 77c9b481faacf46b9d9282ffaa71afbac7acf819; \>= 9678e630305724487f1fc101d6b83c383ff9cc90, \< 4f61ff2ebfb3d2967b83b6a4d456242244d5a61f; Linux 4.16.

### Is there a fix for CVE-2026-99422?

Yes. Fixed in Linux 8ae1e7876107fbe7318ac5594b8bf2a887a9c578, Linux 50ae0a83625d08b4be4f047c293cf1149fe7ea98, Linux 17a540e65e567c8e4dd165a3ce5b592842ba5ab5, Linux 77c9b481faacf46b9d9282ffaa71afbac7acf819, Linux 4f61ff2ebfb3d2967b83b6a4d456242244d5a61f. Upgrade Linux to 4f61ff2ebfb3d2967b83b6a4d456242244d5a61f or later.

### How do I check if I'm affected by CVE-2026-99422?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/8ae1e7876107fbe7318ac5594b8bf2a887a9c578>
- other: <https://git.kernel.org/stable/c/50ae0a83625d08b4be4f047c293cf1149fe7ea98>
- other: <https://git.kernel.org/stable/c/17a540e65e567c8e4dd165a3ce5b592842ba5ab5>
- other: <https://git.kernel.org/stable/c/b219cdaea16b2f3e8e13a63662d462addd8a2cd0>
- other: <https://git.kernel.org/stable/c/77c9b481faacf46b9d9282ffaa71afbac7acf819>
- other: <https://git.kernel.org/stable/c/4f61ff2ebfb3d2967b83b6a4d456242244d5a61f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99422>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99422> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99422>
