What’s Vulnerable › Vulnerabilities

CVE-2025-21793: spi: sn-f-ospi: Fix division by zero

Description

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.16, 6.13.4, 6.6.79. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21793 or the next vulnerability affects your stack