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

Published Feb 27, 2025
·
Updated

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

6 affected components
Linux Linux kernel
Linux Linux kernel>=6.2<6.6.79
Linux Linux kernel>=6.7<6.12.16
Linux Linux kernel>=6.13<6.13.4
Linux Linux kernel=6.14-rc1
Linux Linux kernel=6.14-rc2

Event History

Feb 27, 2025
CVE Published
via MITRE·02:18 AM
Data Sourced
via MITRE·02:18 AM
Description
Data Sourced
via NVD·03:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203