CVE-2025-68350

exfat: fix divide-by-zero in exfat_allocate_bitmap

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 9fd688678dd86e3be32a35e3b2c5cc3ef0c4e257 to before 88fc3dd6e631b3e2975f898c6c2b6bc6f7058b44Affected
  • 9fd688678dd86e3be32a35e3b2c5cc3ef0c4e257 to before d70a5804c563b5e34825353ba9927509df709651Affected
LinuxLinux
  • 6.18Affected
  • before 6.18Not affected
  • 6.18.2 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.