# CVE-2025-40067: fs/ntfs3: reject index allocation if $BITMAP is empty but blocks exist

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-10-28T11:48:37.034Z
- Modified: 2026-10-30T13:18:12.920Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 47856e10f8d5e066aa26b1f9c02d933fe0620399 before aab2e34b139f6df71ab2b1adeec9927c206adc79; from b35a50d639ca5259466ef5fea85529bb4fb17d5b before 978aac54e93ea35aab20b32ae393d3d33964e7ae; from 3ed2cc6a6e93fbeb8c0cafce1e7fb1f64a331dcc before be66551da203862c689c12e1d35ce87217c017c1; from d99208b91933fd2a58ed9ed321af07dacd06ddc3 before 039ddf353cc33f6546a87ec1ac3210637d714bec; from d99208b91933fd2a58ed9ed321af07dacd06ddc3 before 0dc7117da8f92dd5fe077d712a756eccbe377d40; 358d4f821c03add421a4c49290538a705852ccf1; a285395020780adac1ffbc844069c3d700bf007a; from 6.6.102 before 6.6.112; from 6.12.42 before 6.12.53; from 6.15.10 before 6.16; from 6.16.1 before 6.17; 6.17 (not affected: before 6.17; from 6.6.112 up to 6.6.*; from 6.12.53 up to 6.12.*; from 6.17.3 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/aab2e34b139f6df71ab2b1adeec9927c206adc79>
- <https://git.kernel.org/stable/c/978aac54e93ea35aab20b32ae393d3d33964e7ae>
- <https://git.kernel.org/stable/c/be66551da203862c689c12e1d35ce87217c017c1>
- <https://git.kernel.org/stable/c/039ddf353cc33f6546a87ec1ac3210637d714bec>
- <https://git.kernel.org/stable/c/0dc7117da8f92dd5fe077d712a756eccbe377d40>

## Sources

- CVE List: [CVE-2025-40067](https://www.cve.org/CVERecord?id=CVE-2025-40067), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2025-40067](https://nvd.nist.gov/vuln/detail/CVE-2025-40067), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2025-40067 · Whole record: https://cve.day/CVE-2025-40067.json · Rebuilt by cve.day 2026-11-25T22:59:06.942Z
