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-40067

HIGH 7.8EPSS 10%

fs/ntfs3: reject index allocation if $BITMAP is empty but blocks exist

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 47856e10f8d5e066aa26b1f9c02d933fe0620399, < aab2e34b139f6df71ab2b1adeec9927c206adc79; >= b35a50d639ca5259466ef5fea85529bb4fb17d5b, < 978aac54e93ea35aab20b32ae393d3d33964e7ae; >= 3ed2cc6a6e93fbeb8c0cafce1e7fb1f64a331dcc, < be66551da203862c689c12e1d35ce87217c017c1; >= d99208b91933fd2a58ed9ed321af07dacd06ddc3, < 039ddf353cc33f6546a87ec1ac3210637d714bec; >= d99208b91933fd2a58ed9ed321af07dacd06ddc3, < 0dc7117da8f92dd5fe077d712a756eccbe377d40; 358d4f821c03add421a4c49290538a705852ccf1; a285395020780adac1ffbc844069c3d700bf007a; >= 6.6.102, < 6.6.112; >= 6.12.42, < 6.12.53; >= 6.15.10, < 6.16; …
  • Anyone running Linux 6.17

Vulnerability facts

Affected
Linux >= 47856e10f8d5e066aa26b1f9c02d933fe0620399, < aab2e34b139f6df71ab2b1adeec9927c206adc79; >= b35a50d639ca5259466ef5fea85529bb4fb17d5b, < 978aac54e93ea35aab20b32ae393d3d33964e7ae; >= 3ed2cc6a6e93fbeb8c0cafce1e7fb1f64a331dcc, < be66551da203862c689c12e1d35ce87217c017c1; >= d99208b91933fd2a58ed9ed321af07dacd06ddc3, < 039ddf353cc33f6546a87ec1ac3210637d714bec; >= d99208b91933fd2a58ed9ed321af07dacd06ddc3, < 0dc7117da8f92dd5fe077d712a756eccbe377d40; 358d4f821c03add421a4c49290538a705852ccf1; a285395020780adac1ffbc844069c3d700bf007a; >= 6.6.102, < 6.6.112; >= 6.12.42, < 6.12.53; >= 6.15.10, < 6.16; …; Linux 6.17
Fixed in
Linux 978aac54e93ea35aab20b32ae393d3d33964e7ae, Linux 039ddf353cc33f6546a87ec1ac3210637d714bec, Linux 0dc7117da8f92dd5fe077d712a756eccbe377d40, Linux 6.6.112, Linux 6.12.53, Linux 6.16
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 47856e10f8d5e066aa26b1f9c02d933fe0620399, < aab2e34b139f6df71ab2b1adeec9927c206adc79; >= b35a50d639ca5259466ef5fea85529bb4fb17d5b, < 978aac54e93ea35aab20b32ae393d3d33964e7ae; >= 3ed2cc6a6e93fbeb8c0cafce1e7fb1f64a331dcc, < be66551da203862c689c12e1d35ce87217c017c1; >= d99208b91933fd2a58ed9ed321af07dacd06ddc3, < 039ddf353cc33f6546a87ec1ac3210637d714bec; >= d99208b91933fd2a58ed9ed321af07dacd06ddc3, < 0dc7117da8f92dd5fe077d712a756eccbe377d40; 358d4f821c03add421a4c49290538a705852ccf1; a285395020780adac1ffbc844069c3d700bf007a; >= 6.6.102, < 6.6.112; >= 6.12.42, < 6.12.53; >= 6.15.10, < 6.16; …—cvelist
Linux6.17—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-40067. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40067.md
Affected: Linux >= 47856e10f8d5e066aa26b1f9c02d933fe0620399, < aab2e34b139f6df71ab2b1adeec9927c206adc79; >= b35a50d639ca5259466ef5fea85529bb4fb17d5b, < 978aac54e93ea35aab20b32ae393d3d33964e7ae; >= 3ed2cc6a6e93fbeb8c0cafce1e7fb1f64a331dcc, < be66551da203862c689c12e1d35ce87217c017c1; >= d99208b91933fd2a58ed9ed…
Fixed in: Linux 978aac54e93ea35aab20b32ae393d3d33964e7ae, Linux 039ddf353cc33f6546a87ec1ac3210637d714bec, Linux 0dc7117da8f92dd5fe077d712a756eccbe377d40, Linux 6.6.112, Linux 6.12.53, Linux 6.16

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-40067 being exploited?

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

How serious is CVE-2025-40067?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2025-40067?

Linux >= 47856e10f8d5e066aa26b1f9c02d933fe0620399, < aab2e34b139f6df71ab2b1adeec9927c206adc79; >= b35a50d639ca5259466ef5fea85529bb4fb17d5b, < 978aac54e93ea35aab20b32ae393d3d33964e7ae; >= 3ed2cc6a6e93fbeb8c0cafce1e7fb1f64a331dcc, < be66551da203862c689c12e1d35ce87217c017c1; >= d99208b91933fd2a58ed9ed321af07dacd06ddc3, < 039ddf353cc33f6546a87ec1ac3210637d714bec; >= d99208b91933fd2a58ed9ed321af07dacd06ddc3, < 0dc7117da8f92dd5fe077d712a756eccbe377d40; 358d4f821c03add421a4c49290538a705852ccf1; a285395020780adac1ffbc844069c3d700bf007a; >= 6.6.102, < 6.6.112; >= 6.12.42, < 6.12.53; >= 6.15.10, < 6.16; …; Linux 6.17.

Is there a fix for CVE-2025-40067?

Yes. Fixed in Linux 978aac54e93ea35aab20b32ae393d3d33964e7ae, Linux 039ddf353cc33f6546a87ec1ac3210637d714bec, Linux 0dc7117da8f92dd5fe077d712a756eccbe377d40, Linux 6.6.112, Linux 6.12.53, Linux 6.16. No fix listed yet: follow the vendor advisory.

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

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