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

Published Oct 28, 2025
·
Updated

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 Software

7 affected componentsFixes available
Linux Linux kernel
debian/linux<6.12.57-1
6.12.57-1
debian/linux<6.17.6-1
6.17.6-1
linux/kernel<6.6.112
6.6.112
linux/kernel>=6.7.0<6.12.53
6.12.53
linux/kernel>=6.13.0<6.17.3
6.17.3
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.57-1
  2. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.17.6-1
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.112
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.53
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.17.3
  6. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1

Event History

Oct 28, 2025
CVE Published
via MITRE·11:48 AM
Data Sourced
via MITRE·11:48 AM
DescriptionSeverity
Data Sourced
via OSV·11:48 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·12:15 PM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2025-40067?

CVE-2025-40067 has been classified with a severity level that indicates potential risk to the Linux kernel's file system integrity.

2

How do I fix CVE-2025-40067?

The fix for CVE-2025-40067 involves updating the Linux kernel to a version that includes the resolution for this vulnerability.

3

What systems are affected by CVE-2025-40067?

CVE-2025-40067 affects systems running vulnerable versions of the Linux kernel that utilize NTFS3 file system.

4

What are the potential impacts of CVE-2025-40067?

The potential impacts of CVE-2025-40067 include file system corruption and data loss due to improper index allocation.

5

How can I verify if my system is vulnerable to CVE-2025-40067?

You can verify vulnerability to CVE-2025-40067 by checking your running Linux kernel version and comparing it with patched releases.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203