CVE-2026-143052

Source
https://cve.org/CVERecord?id=CVE-2026-143052
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143052.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143052
Downstream
Published
2026-12-03T09:18:29Z
Modified
2026-12-03T11:00:22Z
Summary
ovl: do not read the flags of a put upper dentry in lookup
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143052.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bccece1ead368149f90e05ad104dfbfda4422f5d
Fixed
baff898c8ad8b46ce1378559160eb00287ecf6cd
Fixed
7031366be218f291592a7ad38bc34a7cd1459737

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143052.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.7.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143052.json"