# CVE-2025-40067: linux: In the Linux kernel, the following vulnerability has been resolved:  fs/ntfs3: reject index allocation if $BITMAP is...

CVE-2025-40067 is fixed in 23 products on 1 platform, first by ALAS2023-2025-1254, released October 27, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2025-40067
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0016
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 27, 2025

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bpftool6.12 amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | bpftool6.12-debuginfo amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | kernel-livepatch-6.12.53-69.119 amzn 2023 | 1:1.0-0.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | kernel6.12 amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | kernel6.12-debuginfo amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | kernel6.12-debuginfo-common-aarch64 amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | kernel6.12-debuginfo-common-x86_64 amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | kernel6.12-devel amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | kernel6.12-headers amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | kernel6.12-libbpf amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | kernel6.12-libbpf-debuginfo amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | kernel6.12-libbpf-devel amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | kernel6.12-libbpf-static amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | kernel6.12-modules-extra amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | kernel6.12-modules-extra-common amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | kernel6.12-tools amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | kernel6.12-tools-debuginfo amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | kernel6.12-tools-devel amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.12.57-1 | [DEBIAN-CVE-2025-40067](https://patchblox.com/security/data/fix/linux/debian-cve-2025-40067.md) | Oct 28, 2025 |
| Linux | linux Debian 14 | 6.17.6-1 | [DEBIAN-CVE-2025-40067](https://patchblox.com/security/data/fix/linux/debian-cve-2025-40067.md) | Oct 28, 2025 |
| Linux | perf6.12 amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | perf6.12-debuginfo amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | python3-perf6.12 amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |
| Linux | python3-perf6.12-debuginfo amzn 2023 | 1:6.12.53-69.119.amzn2023 | [ALAS2023-2025-1254](https://patchblox.com/security/data/fix/linux/alas2023-2025-1254.md) | Oct 27, 2025 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
