CVE-2025-40067

Source
https://cve.org/CVERecord?id=CVE-2025-40067
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40067.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-40067
Downstream
BELL (1)
DEBIAN (1)
MGASA (2)
OESA (1)
openSUSE (2)
ROOT (1)
UBUNTU (1)
Related
Published
2025-10-28T11:48:37Z
Modified
2026-11-17T07:03:26Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
fs/ntfs3: reject index allocation if $BITMAP is empty but blocks exist
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40067.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
47856e10f8d5e066aa26b1f9c02d933fe0620399
Fixed
aab2e34b139f6df71ab2b1adeec9927c206adc79
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b35a50d639ca5259466ef5fea85529bb4fb17d5b
Fixed
978aac54e93ea35aab20b32ae393d3d33964e7ae
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3ed2cc6a6e93fbeb8c0cafce1e7fb1f64a331dcc
Fixed
be66551da203862c689c12e1d35ce87217c017c1
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d99208b91933fd2a58ed9ed321af07dacd06ddc3
Fixed
039ddf353cc33f6546a87ec1ac3210637d714bec
Fixed
0dc7117da8f92dd5fe077d712a756eccbe377d40
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
358d4f821c03add421a4c49290538a705852ccf1
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a285395020780adac1ffbc844069c3d700bf007a

Affected versions

v6.*
v6.12.42
v6.12.43
v6.12.44
v6.12.45
v6.12.46
v6.12.47
v6.12.48
v6.12.49
v6.12.50
v6.12.51
v6.12.52
v6.15.10
v6.15.11
v6.16.1
v6.16.10
v6.16.11
v6.16.12
v6.16.2
v6.16.3
v6.16.4
v6.16.5
v6.16.6
v6.16.7
v6.16.8
v6.16.9
v6.6.102
v6.6.103
v6.6.104
v6.6.105
v6.6.106
v6.6.107
v6.6.108
v6.6.109
v6.6.110
v6.6.111

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40067.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.102
Fixed
6.6.112
Type
ECOSYSTEM
Events
Introduced
6.12.42
Fixed
6.12.53
Type
ECOSYSTEM
Events
Introduced
6.15.10
Fixed
6.16
Type
ECOSYSTEM
Events
Introduced
6.16.1
Fixed
6.17
Type
ECOSYSTEM
Events
Introduced
6.17.0
Fixed
6.17.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40067.json"