CVE-2021-46972: 
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Mitigation and workarounds

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).

Additional resources


Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99287MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • kernel-64k-core
NoYesNov 10, 2026
CVE-2026-99288MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesNov 10, 2026
CVE-2026-99286MEDIUM5.6
  • Linux Kernel logoLinux Kernel
  • bpftool
NoYesNov 10, 2026
CVE-2026-99285MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux
NoYesNov 10, 2026
CVE-2026-0004HIGHN/A
  • Linux Kernel logoLinux Kernel
  • kernel-uek64k-modules-extra-netfilter
NoYesNov 09, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management