Vulnerabilities · 2025 · Linux
CVE-2025-21793
Linux Kernel vulnerability
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
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/3588b1c0fde2f58d166e3f94a5a58d64b893526c · Patch
- git.kernel.org/stable/c/4df6f005bef04a3dd16c028124a1b5684db3922b · Patch
- git.kernel.org/stable/c/7434135553bc03809a55803ee6a8dcaae6240d55 · Patch
- git.kernel.org/stable/c/966328191b4c389c0f2159fa242915f51cbc1679 · Patch
- nvd.nist.gov/vuln/detail/CVE-2025-21793
- cve.org/CVERecord?id=CVE-2025-21793
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.