
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-46972 affects the Linux kernel's overlayfs component. The vulnerability was discovered when overlayfs failed to put temporary dentry when encountering a metacopy error, leading to dentry leaks during superblock shutdown. This issue affects Linux kernel versions from 5.8 through versions before 5.10.35, 5.11 before 5.11.19, and 5.12 before 5.12.2 (NVD).
The vulnerability was introduced by commit 6815f479ca90 ("ovl: use only uppermetacopy state in ovl_lookup()"), where overlayfs doesn't properly handle temporary dentry cleanup during metacopy errors. This results in memory leaks when unmounting the related superblock. The issue has been assigned a CVSS v3.1 Base Score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).
When exploited, this vulnerability causes dentry leaks in the kernel memory, which can lead to resource exhaustion and potential system instability. The issue manifests when unmounting overlay filesystems, resulting in kernel warnings about busy inodes and potential system crashes (Kernel Patch).
The vulnerability requires local access and can be triggered during the unmounting of overlay filesystems. It has been confirmed to be reproducible using a syzkaller test case, though no public exploits are known to exist in the wild (Kernel Patch).
The issue has been fixed in Linux kernel versions 5.10.35, 5.11.19, and 5.12.2. The fix involves properly releasing the temporary dentry when encountering metacopy errors by adding a dput(this) call before returning the error condition (Kernel Patch).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."