VDB

CVE-2025-21793

CVE-2025-21793 PUBLISHED CVSS 5.5 MEDIUM

spi: sn-f-ospi: Fix division by zero

Reported by linux · Published February 27, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinux966328191b4c389c0f2159fa242915f51cbc1679, 7434135553bc03809a55803ee6a8dcaae6240d55, 4df6f005bef04a3dd16c028124a1b5684db3922b, 3588b1c0fde2f58d166e3f94a5a58d64b893526c

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux1b74dd64c8612619e399e5a31da79a3636914495, 1b74dd64c8612619e399e5a31da79a3636914495, 1b74dd64c8612619e399e5a31da79a3636914495
LinuxLinux6.2, 0, 6.6.79
LinuxLinux6.14, 6.6.79, 6.12.16
linuxlinux_kernel6.2, 6.2, 6.2

Timeline

  • Feb 26, 2025 CVE Published
  • Feb 27, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 16, 2025 Coalition ESS Score (13 in total, the first dated here)
  • Dec 22, 2025 Security Advisory (372 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (327 in total, the first dated here)
  • Nov 11, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-21793
vulnetix vdb fixes CVE-2025-21793

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21793/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›