CVE Database›Document archive›CVE-2025-68820

CVE-2025-68820

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

Loading…

Severity

Low

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · January 13, 2026

Updated · June 28, 2026

Description

A NULL pointer dereference vulnerability was found in the Linux kernel's ext4 filesystem extended attribute handling. When ext4_get_inode_loc() fails with an error such as -EFSCORRUPTED, the iloc.bh buffer head remains NULL. The ext4_xattr_inode_dec_ref_all() function lacks error checking and proceeds to call ext4_raw_inode() with the NULL buffer, causing a kernel crash.

Statement

This vulnerability was discovered by the Linux Verification Center using SVACE static analysis. It affects ext4 filesystems when processing extended attributes on corrupted inodes. The crash can be triggered by mounting a specially crafted or corrupted ext4 filesystem image. Normal filesystem operations on healthy filesystems are not affected.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-252 · Unchecked Return Value