CVE-2025-21793: spi: sn-f-ospi: Fix division by zero
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-21793?
CVE-2025-21793 has not been assigned a specific severity rating, but it addresses a division by zero issue in the Linux kernel.
How do I fix CVE-2025-21793?
To fix CVE-2025-21793, ensure you are using the latest version of the Linux kernel that contains the patch for this vulnerability.
Which versions of the Linux kernel are affected by CVE-2025-21793?
CVE-2025-21793 affects specific versions of the Linux kernel that implement spi-nor commands without proper dummy cycles.
What components does CVE-2025-21793 involve?
CVE-2025-21793 involves the SPI (Serial Peripheral Interface) subsystem of the Linux kernel, specifically sn-f-ospi.
Is there an exploit available for CVE-2025-21793?
As of now, there is no public knowledge of an active exploit for CVE-2025-21793.