CVE-2026-99422
published high CVSS 3.1 · 7.8ovl: use the pinned upper dir in ovl_fix_origin()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux9678e630305724487f1fc101d6b83c383ff9cc90 to < 8ae1e7876107fbe7318ac5594b8bf2a887a9c578 · 9678e630305724487f1fc101d6b83c383ff9cc90 to < 50ae0a83625d08b4be4f047c293cf1149fe7ea98 · 9678e630305724487f1fc101d6b83c383ff9cc90 to < 17a540e65e567c8e4dd165a3ce5b592842ba5ab5 · 9678e630305724487f1fc101d6b83c383ff9cc90 to < b219cdaea16b2f3e8e13a63662d462addd8a2cd0 · 9678e630305724487f1fc101d6b83c383ff9cc90 to < 77c9b481faacf46b9d9282ffaa71afbac7acf819 · 9678e630305724487f1fc101d6b83c383ff9cc90 to < 4f61ff2ebfb3d2967b83b6a4d456242244d5a61f · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.16 (affected) · 0 to < 4.16 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3538 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.117-1~deb12u1 | DLA-4927-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| Amazon Linux | AL2023 | kernel6.18aarch64 | Listed in advisory | Not stated | ALAS2023-2026-3538 |
Show 17 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| Amazon Linux | AL2023 | kernel6.18src | Listed in advisory | Not stated | ALAS2023-2026-3538 |
| Amazon Linux | AL2023 | kernel6.18x86_64 | Listed in advisory | Not stated | ALAS2023-2026-3538 |
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()]
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - ovl_fix_origin() is called from ovl_lookup() (overlay directory ->lookup, via __lookup_slow() on a path walk) and passes upper->d_parent to ovl_set_impure(). That parent is freed by two rename()s of the upper dentry plus rmdir() of the intermediate directory on the upper filesystem. AC:L - The attacker builds a merge directory with no origin xattr, then runs the lookup together with the two upper rename()s and the rmdir(). lookup_one_unlocked() has already dropped the upper directory i_rwsem, and both sides of the race are the attacker's own syscalls. PR:L - Search access on the overlay and write access on the upper directory are sufficient. overlayfs sets FS_USERNS_MOUNT, and a userxattr mount in an unprivileged user namespace leaves noxattr false, so ovl_fix_origin() runs on directories that user owns. UI:N - The attacker creates the layers, mounts overlay, walks the merge directory into ovl_fix_origin(), and performs the upper rename and rmdir themselves. S:U - ovl_set_impure() feeds the freed upper parent to vfs_setxattr() in the kernel that is handling the attacker's lookup and rename, so the corruption is a local kernel privilege escalation. C:H - vfs_setxattr() reads dentry->d_inode and the inode's xattr handlers from the upper parent after rmdir has freed that dentry. Reclaiming the dentry-cache object exposes the replacement's kernel pointers to this path. I:H - vfs_setxattr() calls inode_lock() and handler->set() on the freed upper parent's d_inode. A reclaimed dentry-cache slot gives that path a kernel write through the corrupted inode. A:H - Freeing the unpinned upper parent while ovl_set_impure() is inside vfs_setxattr() is the KASAN use-after-free reported for this bug and oopses on the dead dentry.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 9678e630305724487f1fc101d6b83c383ff9cc90 to < 8ae1e7876107fbe7318ac5594b8bf2a887a9c578 (affected · git)9678e630305724487f1fc101d6b83c383ff9cc90 to < 50ae0a83625d08b4be4f047c293cf1149fe7ea98 (affected · git)9678e630305724487f1fc101d6b83c383ff9cc90 to < 17a540e65e567c8e4dd165a3ce5b592842ba5ab5 (affected · git)9678e630305724487f1fc101d6b83c383ff9cc90 to < b219cdaea16b2f3e8e13a63662d462addd8a2cd0 (affected · git)9678e630305724487f1fc101d6b83c383ff9cc90 to < 77c9b481faacf46b9d9282ffaa71afbac7acf819 (affected · git)9678e630305724487f1fc101d6b83c383ff9cc90 to < 4f61ff2ebfb3d2967b83b6a4d456242244d5a61f (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.16 (affected)0 to < 4.16 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/17a540e65e567c8e4dd165a3ce5b592842ba5ab5
- https://git.kernel.org/stable/c/4f61ff2ebfb3d2967b83b6a4d456242244d5a61f
- https://git.kernel.org/stable/c/50ae0a83625d08b4be4f047c293cf1149fe7ea98
- https://git.kernel.org/stable/c/77c9b481faacf46b9d9282ffaa71afbac7acf819
- https://git.kernel.org/stable/c/8ae1e7876107fbe7318ac5594b8bf2a887a9c578
- https://git.kernel.org/stable/c/b219cdaea16b2f3e8e13a63662d462addd8a2cd0
Provider assertions
1Linux · cna
ovl: use the pinned upper dir in ovl_fix_origin()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 163161fa3b279131f2f9862d0247960631ca573a14726da5b0649e68ba88779f
- Ingested
- 23 Nov 2026, 14:35:29 UTC
- Source record
- Official CVE record