Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-40179

UNSCOREDEPSS 14%

ext4: verify orphan file size is not too big

Mitigation

  • Upgrade Linux to 0a6ce20c156442a4ce2a404747bb0fb05d54eeb3 or later.

Who should check

  • Anyone running Linux >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 95a21611b14ae0a401720645245a8db16f040995; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 566a1d6084563bd07433025aa23bcea4427de107; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 304fc34ff6fc8261138fd81f119e024ac3a129e9; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < a2d803fab8a6c6a874277cb80156dc114db91921; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 2b9da798ff0f4d026c5f0f815047393ebe7d8859; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 0a6ce20c156442a4ce2a404747bb0fb05d54eeb3
  • Anyone running Linux 5.15

Vulnerability facts

Affected
Linux >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 95a21611b14ae0a401720645245a8db16f040995; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 566a1d6084563bd07433025aa23bcea4427de107; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 304fc34ff6fc8261138fd81f119e024ac3a129e9; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < a2d803fab8a6c6a874277cb80156dc114db91921; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 2b9da798ff0f4d026c5f0f815047393ebe7d8859; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 0a6ce20c156442a4ce2a404747bb0fb05d54eeb3; Linux 5.15
Fixed in
Linux 95a21611b14ae0a401720645245a8db16f040995, Linux 566a1d6084563bd07433025aa23bcea4427de107, Linux 304fc34ff6fc8261138fd81f119e024ac3a129e9, Linux 2b9da798ff0f4d026c5f0f815047393ebe7d8859, Linux 0a6ce20c156442a4ce2a404747bb0fb05d54eeb3
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Linux>= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 95a21611b14ae0a401720645245a8db16f040995; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 566a1d6084563bd07433025aa23bcea4427de107; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 304fc34ff6fc8261138fd81f119e024ac3a129e9; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < a2d803fab8a6c6a874277cb80156dc114db91921; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 2b9da798ff0f4d026c5f0f815047393ebe7d8859; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 0a6ce20c156442a4ce2a404747bb0fb05d54eeb3—cvelist
Linux5.15—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-40179. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40179.md
Affected: Linux >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 95a21611b14ae0a401720645245a8db16f040995; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 566a1d6084563bd07433025aa23bcea4427de107; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 304fc34ff6fc8261138fd81f119e024ac3a129e9; >= 02f310fcf47fa9311d6ba29…
Fixed in: Linux 95a21611b14ae0a401720645245a8db16f040995, Linux 566a1d6084563bd07433025aa23bcea4427de107, Linux 304fc34ff6fc8261138fd81f119e024ac3a129e9, Linux 2b9da798ff0f4d026c5f0f815047393ebe7d8859, Linux 0a6ce20c156442a4ce2a404747bb0fb05d54eeb3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-40179 being exploited?

There is no confirmed exploitation: CVE-2025-40179 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-40179?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2025-40179?

Linux >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 95a21611b14ae0a401720645245a8db16f040995; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 566a1d6084563bd07433025aa23bcea4427de107; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 304fc34ff6fc8261138fd81f119e024ac3a129e9; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < a2d803fab8a6c6a874277cb80156dc114db91921; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 2b9da798ff0f4d026c5f0f815047393ebe7d8859; >= 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, < 0a6ce20c156442a4ce2a404747bb0fb05d54eeb3; Linux 5.15.

Is there a fix for CVE-2025-40179?

Yes. Fixed in Linux 95a21611b14ae0a401720645245a8db16f040995, Linux 566a1d6084563bd07433025aa23bcea4427de107, Linux 304fc34ff6fc8261138fd81f119e024ac3a129e9, Linux 2b9da798ff0f4d026c5f0f815047393ebe7d8859, Linux 0a6ce20c156442a4ce2a404747bb0fb05d54eeb3. Upgrade Linux to 0a6ce20c156442a4ce2a404747bb0fb05d54eeb3 or later.

How do I check if I'm affected by CVE-2025-40179?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors