{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-40067","id":"CVE-2025-40067","title":"fs/ntfs3: reject index allocation if $BITMAP is empty but blocks exist","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: reject index allocation if $BITMAP is empty but blocks exist\n\nIndex allocation requires at least one bit in the $BITMAP attribute to\ntrack usage of index entries. If the bitmap is empty while index blocks\nare already present, this reflects on-disk corruption.\n\nsyzbot triggered this condition using a malformed NTFS image","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: reject index allocation if $BITMAP is empty but blocks exist\n\nIndex allocation requires at least one bit in the $BITMAP attribute to\ntrack usage of index entries. If the bitmap is empty while index blocks\nare already present, this reflects on-disk corruption.\n\nsyzbot triggered this condition using a malformed NTFS image. During a\nrename() operation involving a long filename (which spans multiple\nindex entries), the empty bitmap allowed the name to be added without\nvalid tracking. Subsequent deletion of the original entry failed with\n-ENOENT, due to unexpected index state.\n\nReject such cases by verifying that the bitmap is not empty when index\nblocks exist.","published":"2025-10-28T11:48:37.034Z","updated":"2026-11-17T07:03:26.303826769Z","reserved":"2025-04-16T07:20:57.159Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"47856e10f8d5e066aa26b1f9c02d933fe0620399","lessThan":"aab2e34b139f6df71ab2b1adeec9927c206adc79","status":"affected","versionType":"git"},{"version":"b35a50d639ca5259466ef5fea85529bb4fb17d5b","lessThan":"978aac54e93ea35aab20b32ae393d3d33964e7ae","status":"affected","versionType":"git"},{"version":"3ed2cc6a6e93fbeb8c0cafce1e7fb1f64a331dcc","lessThan":"be66551da203862c689c12e1d35ce87217c017c1","status":"affected","versionType":"git"},{"version":"d99208b91933fd2a58ed9ed321af07dacd06ddc3","lessThan":"039ddf353cc33f6546a87ec1ac3210637d714bec","status":"affected","versionType":"git"},{"version":"d99208b91933fd2a58ed9ed321af07dacd06ddc3","lessThan":"0dc7117da8f92dd5fe077d712a756eccbe377d40","status":"affected","versionType":"git"},{"version":"358d4f821c03add421a4c49290538a705852ccf1","status":"affected","versionType":"git"},{"version":"a285395020780adac1ffbc844069c3d700bf007a","status":"affected","versionType":"git"},{"version":"6.6.102","lessThan":"6.6.112","status":"affected","versionType":"semver"},{"version":"6.12.42","lessThan":"6.12.53","status":"affected","versionType":"semver"},{"version":"6.15.10","lessThan":"6.16","status":"affected","versionType":"semver"},{"version":"6.16.1","lessThan":"6.17","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.17","status":"affected"},{"version":"0","lessThan":"6.17","status":"unaffected","versionType":"semver"},{"version":"6.6.112","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.53","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.3","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/aab2e34b139f6df71ab2b1adeec9927c206adc79","tags":["web"]},{"url":"https://git.kernel.org/stable/c/978aac54e93ea35aab20b32ae393d3d33964e7ae","tags":["web"]},{"url":"https://git.kernel.org/stable/c/be66551da203862c689c12e1d35ce87217c017c1","tags":["web"]},{"url":"https://git.kernel.org/stable/c/039ddf353cc33f6546a87ec1ac3210637d714bec","tags":["web"]},{"url":"https://git.kernel.org/stable/c/0dc7117da8f92dd5fe077d712a756eccbe377d40","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40067.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40067","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00164,"epssPercentile":0.05708,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-40067","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40067","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-40067","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-40067","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}