CVE-2025-68820

ext4: xattr: fix null pointer deref in ext4_raw_inode()

State
Published
Severity
Not scored
Published
Jan 13, 2026
Updated
Oct 19, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

ext4: xattr: fix null pointer deref in ext4_raw_inode()

If ext4_get_inode_loc() fails (e.g. if it returns -EFSCORRUPTED), iloc.bh will remain set to NULL. Since ext4_xattr_inode_dec_ref_all() lacks error checking, this will lead to a null pointer dereference in ext4_raw_inode(), called right after ext4_get_inode_loc().

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Scores

The record has no CVSS score.

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 76c365fa7e2a8bb85f0190cdb4b8cdc99b2fdce3 to before b72a3476f0c97d02f63a6e9fff127348d55436f6Affected
  • f737418b6de31c962c7192777ee4018906975383 to before 3d8d22e75f7edfa0b30ff27330fd6a1285d594c3Affected
  • cf9291a3449b04688b81e32621e88de8f4314b54 to before 190ad0f22ba49f1101182b80e3af50ca2ddfe72fAffected
  • 362a90cecd36e8a5c415966d0b75b04a0270e4dd to before b5d942922182e82724b7152cb998f540132885ecAffected
  • eb59cc31b6ea076021d14b04e7faab1636b87d0e to before 5b154e901fda2e98570b8f426a481f5740097dc2Affected
  • c8e008b60492cf6fd31ef127aea6d02fd3d314cd to before ce5f54c065a4a7cbb92787f4f140917112350142Affected
  • c8e008b60492cf6fd31ef127aea6d02fd3d314cd to before b97cb7d6a051aa6ebd57906df0e26e9e36c26d14Affected
  • 6aff941cb0f7d0c897c3698ad2e30672709135e3Affected
  • 3bc6317033f365ce578eb6039445fb66162722fdAffected
  • 836e625b03a666cf93ff5be328c8cb30336db872Affected
  • 5.10.237 to before 5.10.248Affected
  • 5.15.181 to before 5.15.198Affected
  • 6.1.135 to before 6.1.160Affected
  • 6.6.88 to before 6.6.120Affected
  • 6.12.24 to before 6.12.64Affected
  • 5.4.293 to before 5.5Affected
  • 6.13.12 to before 6.14Affected
  • 6.14.3 to before 6.15Affected
LinuxLinux
  • 6.15Affected
  • before 6.15Not affected
  • 5.10.248 through 5.10.*Not affected
  • 5.15.198 through 5.15.*Not affected
  • 6.1.160 through 6.1.*Not affected
  • 6.6.120 through 6.6.*Not affected
  • 6.12.64 through 6.12.*Not affected
  • 6.18.3 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.