CVE-2025-21793
MediumIn 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 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-369CVE-2025-21793 is a Divide By Zero vulnerability
What is Divide By Zero?
The product divides a value by zero, causing a crash or unexpected behaviour. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.2
and later are affected. Fixed in
6.6.79,
6.12.16,
6.13.4,
6.14
and their respective stable series.
References
The following references provide additional information about CVE-2025-21793 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3588b1c0fde2f58d166e3f94a5a58d64b893526c
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4df6f005bef04a3dd16c028124a1b5684db3922b
-
PatchKernel patch commithttps://git.kernel.org/stable/c/7434135553bc03809a55803ee6a8dcaae6240d55
Frequently asked questions
-
What is CVE-2025-21793?
CVE-2025-21793 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a Divide By Zero flaw (CWE-369) . It affects Linux kernel versions from 6.2 onward and has been patched in 6.6.79, 6.12.16, 6.13.4 and others. CVE-2025-21793 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-21793?
CVE-2025-21793 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-21793?
Yes — CVE-2025-21793 has been patched. Fixed versions include 6.6.79, 6.12.16, 6.13.4 and others. If you are running Linux kernel 6.2 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-21793 actively exploited?
No — CVE-2025-21793 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Divide By Zero (CWE-369)?
The product divides a value by zero, causing a crash or unexpected behaviour. View CWE-369 on MITRE CWE →