CVE-2026-31452

Description

A flaw was found in the Linux kernel's ext4 filesystem. A local user could exploit a vulnerability where the truncate() function, when used to expand a file beyond its inline data capacity, fails to properly convert the file to extent-based storage. This inconsistency can lead to a kernel crash (BUG_ON) if a subsequent write operation, such as sendfile(), attempts to write data to the oversized inline file. This issue results in a denial of service.

Statement

This vulnerability is rated as Moderate impact because triggering the condition requires local unprivileged access and specifically affects ext4 filesystems formatted with inline data support, resulting in a denial of service rather than code execution or data leakage. In standard Red Hat Enterprise Linux deployments, XFS is the default filesystem, and ext4 volumes do not enable inline data by default. An unprivileged local attacker would need write privileges on a non-default ext4 mount to induce the kernel panic.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.57.8N/A
Attack VectorLocalLocalN/A
Attack ComplexityLowLowN/A
Privileges RequiredLowLowN/A
User InteractionNoneNoneN/A
ScopeUnchangedUnchangedN/A
ConfidentialityNoneHighN/A
Integrity ImpactNoneHighN/A
Availability ImpactHighHighN/A

Vector

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

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

Understanding the Weakness (CWE)

Confidentiality,Integrity

Technical Impact: Read Memory; Modify Memory; Varies by Context

Frequently Asked Questions

Want to get errata notifications? Sign up here.