CVE-2025-40179
ext4: verify orphan file size is not too big
Reported by linux · Published November 12, 2025
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.
EPSS 0.22% · 12.8th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-libbpf-static | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.158-178.288.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel-tools-devel | Amazon Linux | 1:6.1.158-178.288.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel | Amazon Linux | 1:6.1.158-178.288.amzn2023 |
| kernel6.12-libbpf | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.158-178.288.amzn2023 |
| perf | Amazon Linux | 1:6.1.158-178.288.amzn2023 |
5 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37 |
| Linux | Linux | 5.15, 0, 5.15.195 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| Linux | Linux | 5.15, 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37, 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37 |
| amazon:2023 | kernel-libbpf | 0 |
…and 12 more
Timeline
- Nov 12, 2025 Coalition ESS Score (2 in total, the first dated here)
- Nov 12, 2025 CVE Published
- Nov 13, 2025 EPSS Score (30 in total, the first dated here)
- Dec 15, 2025 Security Advisory (135 in total, the first dated here)
- Dec 15, 2025 CVE Updated
- Mar 29, 2026 Distribution Patch (118 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40179
vulnetix vdb fixes CVE-2025-40179
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40179/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart