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

Exploitability

The vulnerability requires local access to the system and low privileges to exploit. The attack complexity is rated as low, indicating that the vulnerability is relatively straightforward to exploit under the right conditions (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

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.162-1

Fixed

sid

linux: 6.16.3-1

Fixed

trixie

linux: 6.12.63-1

Fixed

Ubuntu

Fixed

bionic (esm-infra)

linux

Affected

bionic (fips-updates)

linux-fips

Affected

bionic (fips)

linux-fips

Affected

devel

linux

Not Affected

focal

linux-azure-fde-5.15

Not Affected

focal (esm-infra)

linux

Affected

focal (fips-updates)

linux-fips

Affected

focal (fips)

linux-fips

Affected

RHEL / CentOS

Fixed

RHEL 8

kernel-rt.src

Affected

RHEL 9

:appstream:kernel-0:5.14.0-70.138.1.el9_0.src

Fixed

RHEL 10

kernel-0:6.12.0-55.24.1.el10_0.src

Fixed

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-2026-80904MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • linux-oracle-7.0
NoYesSep 04, 2026
CVE-2026-80905MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-azure-6.8
NoYesSep 04, 2026
CVE-2026-80913MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg
NoYesSep 04, 2026
CVE-2026-80912MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-lowlatency-hwe-5.15
NoYesSep 04, 2026
CVE-2026-80906NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-4.15
NoYesSep 04, 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