CVE Database›CVE-2025-40179

CVE-2025-40179

kernel: ext4: verify orphan file size is not too big

Loading…

Severity

Moderate

Red Hat Product Security

4.7

CVSS 3.1

Review impact separately from score.

Published · November 12, 2025

Updated · June 30, 2026

Description

A flaw was found in the Linux kernel’s ext4 filesystem implementation. The kernel did not limit the maximum size of orphan files, which could be made arbitrarily large. During orphan replay, the kernel traverses the file and pins all its buffers in memory, potentially resulting in excessive memory consumption.

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

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

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

CWE-400 · Uncontrolled Resource Consumption