VDB

CVE-2025-40067

CVE-2025-40067 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
bpftool6.12Amazon Linux1:6.12.53-69.119.amzn2023
kernel6.12-libbpf-staticAmazon Linux1:6.12.53-69.119.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.53-69.119.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.53-69.119.amzn2023
perf6.12Amazon Linux1:6.12.53-69.119.amzn2023
kernel6.12-headersAmazon Linux1:6.12.53-69.119.amzn2023
kernel-livepatch-6.12.53-69.119Amazon Linux1:1.0-0.amzn2023
kernel6.12-libbpf-develAmazon Linux1:6.12.53-69.119.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score
0.16%
5.6th percentile

Affected products

VendorProductVersions
LinuxLinux47856e10f8d5e066aa26b1f9c02d933fe0620399, b35a50d639ca5259466ef5fea85529bb4fb17d5b, 3ed2cc6a6e93fbeb8c0cafce1e7fb1f64a331dcc
LinuxLinux6.17, 0, 6.6.112
amazon:2023bpftool6.120
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-tools0
amazon:2023perf6.120
amazon:2023kernel6.12-headers0
amazon:2023kernel-livepatch-6.12.53-69.1190
amazon:2023kernel6.12-libbpf-devel0
linuxlinux_kernel6.12.42, 6.16.1, 6.15.10
amazon:2023kernel6.12-devel0
amazon:2023kernel6.120
LinuxLinux6.18, 0, 6.6.112
amazon:2023kernel6.12-libbpf0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023python3-perf6.120

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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›