Skip to main content
VulnerabilityPublished Updated

CVE-2025-22121: Linux kernel · ext4: fix out-of-bound read in ext4_xattr_inode_dec_ref_all()

Affects Linux kernelSource GCVE Database

0
Compare

Not known to be exploited · CVSS 8.4 High.

Data as of 10 Nov 2026, 13:47 UTC

CVSS 3.1 base score
8.4High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (Linux)CVSS 3.18.4
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Apr 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.

What to do

AI-suggested

No explicit patch links or vendor advisory content are provided in the input. Until a fix is applied, avoid running untrusted code that can trigger ext4 xattr operations. Monitor official Linux kernel updates for patches addressing this issue.

Description

CVE-2025-22121 is a high-severity vulnerability in the Linux kernel's ext4 filesystem implementation. It involves an out-of-bound read due to a use-after-free bug in the ext4_xattr_inode_dec_ref_all() function. The flaw occurs because ext4_xattr_delete_inode() does not properly validate extended attributes (xattr) stored in the inode. This can lead to memory corruption and potential system compromise. The issue is addressed by adding validation checks for xattr in the inode, specifically by calling xattr_check_inode() or verifying in ext4_iget_extra_inode().

References

Community reviews

Loading reviews…