spi: sn-f-ospi: Fix division by zero (Linux Linux)

CVE-2025-21793
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-369 — Division par zéro

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 1b74dd64c8612619e399e5a31da79a3636914495 < 966328191b4c389c0f2159fa242915f51cbc1679 ; affected 1b74dd64c8612619e399e5a31da79a3636914495 < 4df6f005bef04a3dd16c028124a1b5684db3922b ; affected 1b74dd64c8612619e399e5a31da79a3636914495 < 7434135553bc03809a55803ee6a8dcaae6240d55 ; affected 1b74dd64c8612619e399e5a31da79a3636914495 < 3588b1c0fde2f58d166e3f94a5a58d64b893526c
Linux · Linuxaffected 6.2 ; unaffected 0 < 6.2 ; unaffected 6.6.79 ≤ 6.6.* ; unaffected 6.12.16 ≤ 6.12.* ; unaffected 6.13.4 ≤ 6.13.* ; unaffected 6.14 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD