CVE-2025-21793

published 27 Feb 2025 · updated 12 Aug 2026

spi: sn-f-ospi: Fix division by zero

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3588b1c0fde2f58d166e3f94a5a58d64b893526c, Kernel 4df6f005bef04a3dd16c028124a1b5684db3922b, Kernel 7434135553bc03809a55803ee6a8dcaae6240d55 and 1 more.

In the Linux kernel, the following vulnerability has been resolved: spi: sn-f-ospi: Fix division by zero When there is no dummy cycle in the spi-nor commands, both dummy bus cycle bytes and width are zero. Because of the cpu's warning when divided by zero, the warning should be avoided. Return just zero to avoid such calculations.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.2, >=1b74dd64c8612619e399e5a31da79a3636914495 <3588b1c0fde2f58d166e3f94a5a58d64b893526c, >=1b74dd64c8612619e399e5a31da79a3636914495 <4df6f005bef04a3dd16c028124a1b5684db3922b, >=1b74dd64c8612619e399e5a31da79a3636914495 <7434135553bc03809a55803ee6a8dcaae6240d55, >=1b74dd64c8612619e399e5a31da79a3636914495 <966328191b4c389c0f2159fa242915f51cbc16793588b1c0fde2f58d166e3f94a5a58d64b893526c, 4df6f005bef04a3dd16c028124a1b5684db3922b, 7434135553bc03809a55803ee6a8dcaae6240d55, 966328191b4c389c0f2159fa242915f51cbc1679

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21793 severity on Zeptric[![CVE-2025-21793](https://zeptric.io/badge/cve/CVE-2025-21793.svg)](https://zeptric.io/cve/CVE-2025-21793)