CVE-2025-21793
spi: sn-f-ospi: Fix division by zero
CVSS Score
5.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Feb 27, 2025 |
| Last Updated | May 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new medium vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
1b74dd64c8612619e399e5a31da79a3636914495 < 966328191b4c389c0f2159fa242915f51cbc1679 1b74dd64c8612619e399e5a31da79a3636914495 < 4df6f005bef04a3dd16c028124a1b5684db3922b 1b74dd64c8612619e399e5a31da79a3636914495 < 7434135553bc03809a55803ee6a8dcaae6240d55 1b74dd64c8612619e399e5a31da79a3636914495 < 3588b1c0fde2f58d166e3f94a5a58d64b893526c
Linux / Linux
6.2
References
git.kernel.org: https://git.kernel.org/stable/c/966328191b4c389c0f2159fa242915f51cbc1679 git.kernel.org: https://git.kernel.org/stable/c/4df6f005bef04a3dd16c028124a1b5684db3922b git.kernel.org: https://git.kernel.org/stable/c/7434135553bc03809a55803ee6a8dcaae6240d55 git.kernel.org: https://git.kernel.org/stable/c/3588b1c0fde2f58d166e3f94a5a58d64b893526c