CVE-2025-22121
Linux Kernel vulnerability analysis and mitigation

Overview

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

Technical details

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

Impact

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

Mitigation and workarounds

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

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 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

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