
Cloud Vulnerability DB
A community-led vulnerabilities database
A use-after-free vulnerability (CVE-2025-21887) was discovered in the Linux kernel's overlayfs functionality, specifically in the ovl_dentry_update_reval function. The vulnerability was disclosed on March 27, 2025, affecting multiple versions of the Linux kernel including versions from 5.10.188 up to 6.14-rc4 (NVD).
The vulnerability occurs when dput(upper) is called before ovl_dentry_update_reval(), while upper->d_flags is still being accessed in ovl_dentry_remote(). This timing issue leads to a use-after-free condition in the overlayfs filesystem code. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access requirements but high impact potential (NVD).
The vulnerability could allow an attacker with local access to potentially achieve high levels of confidentiality, integrity, and availability impacts on the affected system. This is particularly concerning for systems utilizing overlayfs, a widely used filesystem in container environments (NVD).
The vulnerability requires local access with low complexity and privileges to exploit. No user interaction is needed for exploitation. The attack vector is local, meaning an attacker must have prior access to the targeted system (NVD).
The vulnerability has been fixed by moving the dput(upper) call after its last use to prevent the use-after-free condition. Multiple patches have been released for various kernel versions, and affected distributions are releasing updates (NVD).
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."