CVE-2025-40307
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-12-08

Last updated on: 2025-12-08

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-08
Last Modified
2025-12-08
Generated
2026-05-07
AI Q&A
2025-12-10
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?

The vulnerability has been resolved by a patch that adds validation of the allocation bitmap clusters in the exfat filesystem driver. Immediate steps should include updating the Linux kernel to a version that includes this patch to ensure the allocation bitmap is properly validated and prevent potential data corruption or reallocation issues.


Can you explain this vulnerability to me?

This vulnerability in the Linux kernel's exfat filesystem involves improper validation of cluster allocation bits in the allocation bitmap. Specifically, the exfat filesystem reads and uses the allocation bitmap without verifying that clusters used for the allocation bitmap are correctly marked as in-use. This can lead to cluster 6 being allocated when creating a directory, which causes exfat to zero out that cluster and the allocation bitmap, potentially deleting existing directory entries and allowing reallocation of allocated entries.


How can this vulnerability impact me? :

The vulnerability can lead to data corruption or loss because existing directory entries may be deleted when cluster 6 is zeroed out during directory creation. This can cause reallocation of clusters that should not be reallocated, potentially resulting in loss or corruption of files stored on the exfat filesystem.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart