CVE-2025-40067

HighCVSS 7.8/10Last modified Oct 30, 2026

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.

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

VendorProductVersions
LinuxLinux>= 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; >= 6.16.1, < 6.17
LinuxLinux6.17

References

Timeline

Published
Oct 28, 2025
Last modified
Oct 30, 2026
NVD status
Deferred

Related CVEs from 2025

CVE-2025-400688.4In the Linux kernel, the following vulnerability has been resolved: fs: ntfs3: Fix integer overflow in run_unpack() The MFT record relativCVE-2025-400697.8In the Linux kernel, the following vulnerability has been resolved: drm/msm: Fix obj leak in VM_BIND error path If we fail a handle-lookupCVE-2025-40078.8A vulnerability classified as critical was found in Tenda W12 and i24 3.0.0.4(2887)/3.0.0.5(3644). Affected by this vulnerability is the funCVE-2025-40070In the Linux kernel, the following vulnerability has been resolved: pps: fix warning in pps_register_cdev when register device fail SimilaCVE-2025-40071In the Linux kernel, the following vulnerability has been resolved: tty: n_gsm: Don't block input queue by waiting MSC Currently gsm_queueCVE-2025-40072In the Linux kernel, the following vulnerability has been resolved: fanotify: Validate the return value of mnt_ns_from_dentry() before dereCVE-2025-40073In the Linux kernel, the following vulnerability has been resolved: drm/msm: Do not validate SSPP when it is not ready Current code will vCVE-2025-400749.8In the Linux kernel, the following vulnerability has been resolved: ipv4: start using dst_dev_rcu() Change icmpv4_xrlim_allow(), ip_defragCVE-2025-400758.1In the Linux kernel, the following vulnerability has been resolved: tcp_metrics: use dst_dev_net_rcu() Replace three dst_dev() with a lockCVE-2025-40076In the Linux kernel, the following vulnerability has been resolved: PCI: rcar-host: Pass proper IRQ domain to generic_handle_domain_irq() CVE-2025-40077In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid overflow while left shift operation Should cast typCVE-2025-40078In the Linux kernel, the following vulnerability has been resolved: bpf: Explicitly check accesses to bpf_sock_addr Syzkaller found a kern