CVE-2025-21793

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

Medium · published February 27, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
11.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00221 · 11.9th percentile
Published
2025-02-27T02:18Z
EPSS history
Timeline
  • 27 FEB 02:18Z
    spi: sn-f-ospi: Fix division by zero
    cvelistv5