AZL-118013: CVE-2026-143052 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ovl: do not read the flags of a put upper dentry in lookup
ovllookuplayers() passes ctx->upperdentry to ovlgetinode(), which takes over the reference. If an overlay inode for the upper inode is already cached, as for a second hard link, ovlgetinode() puts the dentry and returns the cached inode. ovllookuplayers() then passes the put dentry to ovldentryinitreval(), which reads its dflags.
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 ovldentryrevalidatecommon() revalidates.
Affected Software
Event History
Frequently Asked Questions
Which systems are realistically exposed to this issue?
Systems using OverlayFS with a FUSE-backed upper filesystem are the relevant exposure scenario. The use-after-free occurs when a FUSE upper entry has timed out and its dentry is killed during dput().
What conditions are needed to trigger the flaw?
The lookup path must pass an upper dentry to ovl_get_inode(), and an overlay inode for that upper inode must already be cached, such as when processing a second hard link. The upper dentry must then be released and subsequently accessed for its revalidation flags.
Is a local upper filesystem affected in the same way?
With a local upper filesystem, the released dentry usually remains in the dcache, so the described use-after-free condition is associated with a FUSE upper whose entry has timed out. The provided information does not establish the same behavior for local upper filesystems.