Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-40307

published high CVSS 3.1 · 7.8

exfat: validate cluster allocation bits of the allocation bitmap

Published
08 Dec 2025, 00:46:32 UTC
Updated
15 Oct 2026, 22:02:43 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003 to < 87f827d53bd0688597bda63ae95908e2ad39bac0 · 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003 to < 67ce8034dc0278ddd88cad93d4218a945180dddd · 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003 to < 6bc58b4c53795ab5fe00648344aa7d9d61175f90 · 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003 to < 13c1d24803d5b0446b3f6f0fdd67e07ac1fdc7bf · 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003 to < 79c1587b6cda74deb0c86fc7ba194b92958c793c · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.7 (affected) · 0 to < 5.7 (unaffected · semver) · 6.1.183 through 6.1.* (unaffected · semver) · 6.6.148 through 6.6.* (unaffected · semver) · 6.12.58 through 6.12.* (unaffected · semver) · 6.17.8 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1495 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1817 Fixed Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.187-1 DLA-4777-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: exfat: validate cluster allocation bits of the allocation bitmap syzbot created an exfat image with cluster bits not set for the allocation bitmap. exfat-fs reads and uses the allocation bitmap without checking this. The problem is that if the start cluster of the allocation bitmap is 6, cluster 6 can be allocated when creating a directory with mkdir. exfat zeros out this cluster in exfat_mkdir, which can delete existing entries. This can reallocate the allocated entries. In addition, the allocation bitmap is also zeroed out, so cluster 6 can be reallocated. This patch adds exfat_test_bitmap_range to validate that clusters used for the allocation bitmap are correctly marked as in-use.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

28

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is reached by getting a crafted exFAT image mounted from a local block device, loop file, or removable medium and then issuing a local `mkdir()`; there is no network consumer of `exfat_allocate_bitmap()`. AC:L - The attacker fully controls the image: clearing the bitmap's own allocation bit and pointing `start_clu` at a low cluster makes `exfat_find_free_bitmap()` deterministically return that cluster on the very first allocation, so a single `mkdir` reliably zeroes the live bitmap with no race, heap shaping, or memory-layout dependency. PR:L - Direct `mount()` needs CAP_SYS_ADMIN, but ubiquitous privileged mount brokers (udisks2, systemd-mount, autofs, Android vold) let an unprivileged local user get an attacker-supplied exFAT volume or loop image mounted rw, after which any user with write access to the mount can run the triggering `mkdir`. UI:N - The attacker requests the mount through the automount broker and runs `mkdir` themselves; on a kiosk or shared workstation inserting their own exFAT stick achieves the same, with no action required from any other user or administrator. S:U - The corruption and its consequences are confined to the kernel and filesystem that own the mount; no VM, IOMMU, container, or other security-authority boundary is crossed. C:H - Once the bitmap is zeroed the allocator re-hands out clusters that are still live, so a newly created file is backed by clusters holding the root directory, other files' data, and the allocation bitmap itself — reading that file discloses their full contents, an unbounded read of co-resident data on the shared volume rather than a small bounded leak. I:H - This is the core defect: the kernel zeroes and overwrites in-use on-disk metadata ("can delete existing entries") and reallocates already-allocated clusters, so attacker-controlled file writes land directly in directory entries and in the live in-kernel allocation bitmap, giving unbounded modification of structures the filesystem subsequently trusts. A:H - The zeroed bitmap makes every `exfat_clear_bitmap()` fail with `-EIO`, desyncs `used_clusters` into `exfat_fs_error_ratelimit()`, and produces aliased/looping cluster chains that yield task hangs and the syzbot-reported deadlock WARNING; with `errors=panic`, `panic_on_warn`, or `panic_on_oops` this is a full panic, and the volume is left permanently unusable.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003 to < 87f827d53bd0688597bda63ae95908e2ad39bac0 (affected · git)1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003 to < 67ce8034dc0278ddd88cad93d4218a945180dddd (affected · git)1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003 to < 6bc58b4c53795ab5fe00648344aa7d9d61175f90 (affected · git)1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003 to < 13c1d24803d5b0446b3f6f0fdd67e07ac1fdc7bf (affected · git)1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003 to < 79c1587b6cda74deb0c86fc7ba194b92958c793c (affected · git)Default: unaffected Linux · cna
Linux Linux 5.7 (affected)0 to < 5.7 (unaffected · semver)6.1.183 through 6.1.* (unaffected · semver)6.6.148 through 6.6.* (unaffected · semver)6.12.58 through 6.12.* (unaffected · semver)6.17.8 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

2

Linux · cna

exfat: validate cluster allocation bits of the allocation bitmap

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
4aa9404c6c4d44fef3baa883d9395f01b65b8b7efe509d1d21005b1776086f8d
Ingested
15 Oct 2026, 23:29:36 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected