CVE Database›Document archive›CVE-2026-31449

CVE-2026-31449

kernel: ext4: validate p_idx bounds in ext4_ext_correct_indexes

Loading…

Severity

Moderate

Red Hat Product Security

6.1

CVSS 3.1

Review impact separately from score.

Published · April 22, 2026

Updated · July 3, 2026

Description

A flaw was found in the Linux kernel's ext4 filesystem. A local attacker could exploit this vulnerability by providing a specially crafted or corrupted on-disk extent header. This could cause an out-of-bounds read in memory, potentially leading to information disclosure or a system crash (Denial of Service).

Statement

The upstream fix validates p_idx against EXT_LAST_INDEX() before dereferencing extent index entries, returning -EFSCORRUPTED on bad disks. Red Hat considers this primarily relevant to malicious or corrupted ext4 images mounted locally. Errata kernels will carry the patch. Administrators should avoid mounting untrusted ext4 images on sensitive systems until updated.

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

To mitigate this issue, prevent the ext4 module from being loaded. See https://access.redhat.com/solutions/41278 for instructions.

CVSS / CWE

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

CWE-1285 · Improper Validation of Specified Index, Position, or Offset in Input