# CVE-2025-68350: exfat: fix divide-by-zero in exfat_allocate_bitmap

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-12-24T10:32:41.931Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

exfat: fix divide-by-zero in exfat_allocate_bitmap

The variable max_ra_count can be 0 in exfat_allocate_bitmap(),
which causes a divide-by-zero error in the subsequent modulo operation
(i % max_ra_count), leading to a system crash.
When max_ra_count is 0, it means that readahead is not used. This patch
load the bitmap without readahead.

(As written by CVE List.)

## Affected

- Linux Linux: from 9fd688678dd86e3be32a35e3b2c5cc3ef0c4e257 before 88fc3dd6e631b3e2975f898c6c2b6bc6f7058b44; from 9fd688678dd86e3be32a35e3b2c5cc3ef0c4e257 before d70a5804c563b5e34825353ba9927509df709651; 6.18 (not affected: before 6.18; from 6.18.2 up to 6.18.*; from 6.19 up to *)

## References

- <https://git.kernel.org/stable/c/88fc3dd6e631b3e2975f898c6c2b6bc6f7058b44>
- <https://git.kernel.org/stable/c/d70a5804c563b5e34825353ba9927509df709651>

## Sources

- CVE List: [CVE-2025-68350](https://www.cve.org/CVERecord?id=CVE-2025-68350), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-68350](https://nvd.nist.gov/vuln/detail/CVE-2025-68350), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-68350 · Whole record: https://cve.day/CVE-2025-68350.json · Rebuilt by cve.day 2026-11-25T22:59:09.863Z
