CVE-2025-40179

Updated:

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.

CVSS3: 7


Vendor State

OS Vendor version Errata
Oracle Linux 9 UEK 7 5.15.0-315.196.5.1.el9uek ELSA-2025-28048
Oracle Linux 8 UEK 7 5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Amazon Linux 2023 6.1.158-178.288.amzn2023 ALAS2023-2025-1297

KernelCare State

OS Original kernel version State
Oracle Linux 9 UEK 7
Planned
Oracle Linux 8 UEK 7
Planned
Amazon Linux 2023
Planned