{"id":"CVE-2025-21793","aliases":["CVE-2025-21793"],"related":[],"kind":"vulnerability","state":"published","title":"spi: sn-f-ospi: Fix division by zero","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: sn-f-ospi: Fix division by zero\n\nWhen there is no dummy cycle in the spi-nor commands, both dummy bus cycle\nbytes and width are zero. Because of the cpu's warning when divided by\nzero, the warning should be avoided. Return just zero to avoid such\ncalculations.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: sn-f-ospi: Fix division by zero\n\nWhen there is no dummy cycle in the spi-nor commands, both dummy bus cycle\nbytes and width are zero. Because of the cpu's warning when divided by\nzero, the warning should be avoided. Return just zero to avoid such\ncalculations.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: spi: sn-f-ospi: Corrige la división por cero Cuando no hay un ciclo ficticio en los comandos spi-nor, tanto los bytes del ciclo de bus ficticio como el ancho son cero. Debido a la advertencia de la CPU cuando se divide por cero, se debe evitar la advertencia. Devuelve solo cero para evitar dichos cálculos.","source":"nvd"}],"published":"2025-02-27T02:18:30.281Z","modified":"2026-06-17T08:44:17.627Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-369"],"affected":[{"ranges":[{"type":"git","introduced":"1b74dd64c8612619e399e5a31da79a3636914495","fixed":"966328191b4c389c0f2159fa242915f51cbc1679","status":"affected"},{"type":"git","introduced":"1b74dd64c8612619e399e5a31da79a3636914495","fixed":"4df6f005bef04a3dd16c028124a1b5684db3922b","status":"affected"},{"type":"git","introduced":"1b74dd64c8612619e399e5a31da79a3636914495","fixed":"7434135553bc03809a55803ee6a8dcaae6240d55","status":"affected"},{"type":"git","introduced":"1b74dd64c8612619e399e5a31da79a3636914495","fixed":"3588b1c0fde2f58d166e3f94a5a58d64b893526c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.2","status":"unaffected"},{"type":"semver","introduced":"6.6.79","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.16","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.4","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.2","fixed":"6.6.79"},{"status":"affected","introduced":"6.7","fixed":"6.12.16"},{"status":"affected","introduced":"6.13","fixed":"6.13.4"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/966328191b4c389c0f2159fa242915f51cbc1679","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4df6f005bef04a3dd16c028124a1b5684db3922b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7434135553bc03809a55803ee6a8dcaae6240d55","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3588b1c0fde2f58d166e3f94a5a58d64b893526c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:29:03.317Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21793","url":"https://www.cve.org/CVERecord?id=CVE-2025-21793","licence":"CVE Terms of Use","modified":"2026-05-11T21:06:36.434Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21793","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21793","licence":"Public domain","modified":"2026-06-17T08:44:17.627Z"}],"updatedAt":"2026-11-25T22:58:54.570Z","epss":{"score":0.00221,"percentile":0.13465,"date":"2026-12-01T12:00:22.000Z"}}