CVE-2026-31448
kernel: ext4: avoid infinite loops caused by residual data
Severity
ModerateRed Hat Product Security
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. When creating a directory or node, if an extent insertion fails, the system may not properly clear residual data. This can lead to a situation where both directory and extended attribute (xattr) blocks simultaneously use the same memory buffer, causing an infinite loop. A local attacker could exploit this to trigger a system hang, resulting in a Denial of Service (DoS). Additionally, this flaw could lead to metadata corruption.
Statement
This defect concerns ext4 metadata handling on error paths during mkdir/mknod operations and can wedge inode locks or corrupt accounting. Red Hat aligns severity with upstream MODERATE impact focused on availability and filesystem consistency. Customers should install corrected ext4 code when errata ships. Workloads that cannot avoid ext4 should prioritize patching over operational workarounds.
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 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-772 · Missing Release of Resource after Effective Lifetime