CVE-2026-143052
not scored yetovl: do not read the flags of a put upper dentry in lookup
In the Linux kernel, the following vulnerability has been resolved:
ovl: do not read the flags of a put upper dentry in lookup
ovl_lookup_layers() passes ctx->upperdentry to ovl_get_inode(), which
takes over the reference. If an overlay inode for the upper inode is
already cached, as for a second hard link, ovl_get_inode() puts the
dentry and returns the cached inode. ovl_lookup_layers() then passes
the put dentry to ovl_dentry_init_reval(), which reads its d_flags.
With a local upper fs the put dentry usually stays in the dcache, but
with a FUSE upper whose entry has timed out, dput() kills it, so this
is a use-after-free.
Fix this by taking the revalidate flags from the upper dentry of the
overlay inode, which is the one that ovl_dentry_revalidate_common()
revalidates.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= bccece1ead368149f90e05ad104dfbfda4422f5d, < baff898c8ad8b46ce1378559160eb00287ecf6cd; >= bccece1ead368149f90e05ad104dfbfda4422f5d, < 7031366be218f291592a7ad38bc34a7cd1459737 | baff898c8ad8b46ce1378559160eb00287ecf6cd, 7031366be218f291592a7ad38bc34a7cd1459737 |
| CVE List | Linux | Linux | = 5.7 |
References
- https://git.kernel.org/stable/c/7031366be218f291592a7ad38bc34a7cd1459737
- https://git.kernel.org/stable/c/baff898c8ad8b46ce1378559160eb00287ecf6cd
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:07 UTC · CVE List: first stored (published 3 Dec 2026)