CVE-2025-40179

ext4: verify orphan file size is not too big

N/A
Published: November 12, 2025 at 09:56 PM UTC
Updated: October 19, 2026 at 09:10 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: ext4: verify orphan file size is not too big In principle orphan file can be arbitrarily large. However orphan replay needs to traverse it all and we also pin all its buffers in memory. Thus filesystems with absurdly large orphan files can lead to big amounts of memory consumed. Limit orphan file size to a sane value and also use kvmalloc() for allocating array of block descriptor structures to avoid large order allocations for sane but large orphan files.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

02f310fcf47fa9311d6ba2946a8d19e7d7d11f372f310fcf47fa9311d6ba2946a8d19e7d7d11f375.15
Vendor states this is fixed in 0a6ce20c156442a4ce2a404747bb0fb05d54eeb3 (fixed)
Vendor states this is fixed in 2b9da798ff0f4d026c5f0f815047393ebe7d8859 (fixed)
Vendor states this is fixed in 304fc34ff6fc8261138fd81f119e024ac3a129e9 (fixed)
Vendor states this is fixed in 566a1d6084563bd07433025aa23bcea4427de107 (fixed)
Vendor states this is fixed in 95a21611b14ae0a401720645245a8db16f040995 (fixed)
Vendor states this is fixed in a2d803fab8a6c6a874277cb80156dc114db91921 (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.195 (unaffected)
Vendor states this is fixed in 6.1.157 (unaffected)
Vendor states this is fixed in 6.12.54 (unaffected)
Vendor states this is fixed in 6.17.4 (unaffected)
Vendor states this is fixed in 6.18 (unaffected)
Vendor states this is fixed in 6.6.113 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card