{"schema_version":"1.9.0","id":"CVE-2025-21793","published":"2025-02-27T02:18:30.281Z","modified":"2026-08-12T03:51:37.431537866Z","related":["SUSE-SU-2025:01919-1","SUSE-SU-2025:1177-1","SUSE-SU-2025:1178-1","SUSE-SU-2025:1180-1","SUSE-SU-2025:20190-1","SUSE-SU-2025:20192-1","SUSE-SU-2025:20260-1","SUSE-SU-2025:20270-1","USN-7521-2"],"summary":"spi: sn-f-ospi: Fix division by zero","details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1b74dd64c8612619e399e5a31da79a3636914495"},{"fixed":"966328191b4c389c0f2159fa242915f51cbc1679"},{"fixed":"4df6f005bef04a3dd16c028124a1b5684db3922b"},{"fixed":"7434135553bc03809a55803ee6a8dcaae6240d55"},{"fixed":"3588b1c0fde2f58d166e3f94a5a58d64b893526c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21793.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.79"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.13.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21793.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3588b1c0fde2f58d166e3f94a5a58d64b893526c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4df6f005bef04a3dd16c028124a1b5684db3922b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7434135553bc03809a55803ee6a8dcaae6240d55"},{"type":"WEB","url":"https://git.kernel.org/stable/c/966328191b4c389c0f2159fa242915f51cbc1679"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21793.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21793"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21793.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}