
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-22121 is a vulnerability discovered in the Linux kernel, specifically affecting the ext4 filesystem component. The issue was disclosed on April 16, 2025, and involves an out-of-bound read vulnerability in the ext4_xattr_inode_dec_ref_all() function. This vulnerability affects various Linux distributions including Debian and Red Hat Enterprise Linux systems (NVD, Debian Tracker).
The vulnerability manifests as a use-after-free bug in the ext4_xattr_inode_dec_ref_all() function. The issue occurs because ext4_xattr_delete_inode() fails to verify if the xattr is valid when it exists in an inode. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating a local attack vector with low attack complexity (Red Hat).
The vulnerability can lead to system instability and potential denial of service through an out-of-bound read operation. The CVSS scoring indicates that while there is no impact on confidentiality or integrity, there is a high impact on availability of the affected system (Red Hat).
The solution involves implementing a call to xattr_check_inode() to verify if the xattr is valid in the inode. Additionally, verification can be performed directly in ext4_iget_extra_inode() to prevent divergent verification. Various Linux distributions have either released or are preparing patches to address this vulnerability (Debian Tracker).
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."