Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2025-21793

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 1b74dd64c8612619e399e5a31da79a3636914495 to < 966328191b4c389c0f2159fa242915f51cbc1679affected
  • 1b74dd64c8612619e399e5a31da79a3636914495 to < 4df6f005bef04a3dd16c028124a1b5684db3922baffected
  • 1b74dd64c8612619e399e5a31da79a3636914495 to < 7434135553bc03809a55803ee6a8dcaae6240d55affected
  • 1b74dd64c8612619e399e5a31da79a3636914495 to < 3588b1c0fde2f58d166e3f94a5a58d64b893526caffected

Linux Linux

Default version status: affected

  • 6.2affected
  • 0 to < 6.2unaffected
  • 6.6.79 to ≤ 6.6.*unaffected
  • 6.12.16 to ≤ 6.12.*unaffected
  • 6.13.4 to ≤ 6.13.*unaffected
  • 6.14 to ≤ *unaffected

References