Division by zero in Linux kernel - CVE-2025-21793
Published: February 27, 2025 / Updated: May 11, 2025
Vulnerability identifier: #VU105059
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-21793
CWE-ID: CWE-369
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to a division by zero error within the f_ospi_get_dummy_cycle() function in drivers/spi/spi-sn-f-ospi.c. A local user can perform a denial of service (DoS) attack.
How to mitigate CVE-2025-21793
Install update from vendor's website.
Sources
- https://git.kernel.org/stable/c/3588b1c0fde2f58d166e3f94a5a58d64b893526c
- https://git.kernel.org/stable/c/4df6f005bef04a3dd16c028124a1b5684db3922b
- https://git.kernel.org/stable/c/7434135553bc03809a55803ee6a8dcaae6240d55
- https://git.kernel.org/stable/c/966328191b4c389c0f2159fa242915f51cbc1679
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.79