CVE-2025-21793: spi: sn-f-ospi: Fix division by zero
Vulnerability summary
CVE-2025-21793 is a medium (CVSS 5.5) Divide By Zero vulnerability in linux. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 13.4% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 16 · Related 17Timeline
- 27-02-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.22% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu107 products
- linux< 6.8.0-78.78
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1035.37
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 1b74dd64c8612619e399e5a31da79a3636914495, < 966328191b4c389c0f2159fa242915f51cbc1679 | ≥ 1b74dd64c8612619e399e5a31da79a3636914495, < 4df6f005bef04a3dd16c028124a1b5684db3922b | ≥ 1b74dd64c8612619e399e5a31da79a3636914495, < 7434135553bc03809a55803ee6a8dcaae6240d55 | ≥ 1b74dd64c8612619e399e5a31da79a3636914495, < 3588b1c0fde2f58d166e3f94a5a58d64b893526c | 6.2
- linux_kernel≥ 6.2, < 6.6.79 | ≥ 6.7, < 6.12.16 | ≥ 6.13, < 6.13.4 | 6.14:rc1 | 6.14:rc2
Debian1 product
- linux< 6.12.16-1
3 vendors · 110 products