CVE-2025-40067
fs/ntfs3: reject index allocation if $BITMAP is empty but blocks exist
Reported by linux · Published October 28, 2025
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: reject index allocation if $BITMAP is empty but blocks exist Index allocation requires at least one bit in the $BITMAP attribute to track usage of index entries. If the bitmap is empty while index blocks are already present, this reflects on-disk corruption. syzbot triggered this condition using a malformed NTFS image. During a rename() operation involving a long filename (which spans multiple index entries), the empty bitmap allowed the name to be added without valid tracking. Subsequent deletion of the original entry failed with -ENOENT, due to unexpected index state. Reject such cases by verifying that the bitmap is not empty when index blocks exist.
EPSS 0.16% · 5.6th 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 |
|---|---|---|
| bpftool6.12 | Amazon Linux | 1:6.12.53-69.119.amzn2023 |
| kernel6.12-libbpf-static | Amazon Linux | 1:6.12.53-69.119.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.53-69.119.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.53-69.119.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.53-69.119.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.53-69.119.amzn2023 |
| kernel-livepatch-6.12.53-69.119 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-libbpf-devel | Amazon Linux | 1:6.12.53-69.119.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 47856e10f8d5e066aa26b1f9c02d933fe0620399, b35a50d639ca5259466ef5fea85529bb4fb17d5b, 3ed2cc6a6e93fbeb8c0cafce1e7fb1f64a331dcc |
| Linux | Linux | 6.17, 0, 6.6.112 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel-livepatch-6.12.53-69.119 | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| linux | linux_kernel | 6.12.42, 6.16.1, 6.15.10 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| Linux | Linux | 6.18, 0, 6.6.112 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
Timeline
- Oct 27, 2025 CVE Published
- Oct 28, 2025 EPSS Score (30 in total, the first dated here)
- Oct 28, 2025 Coalition ESS Score (5 in total, the first dated here)
- Dec 15, 2025 Security Advisory (127 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (118 in total, the first dated here)
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40067
vulnetix vdb fixes CVE-2025-40067
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-40067/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart