{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-21793","id":"CVE-2025-21793","title":"spi: sn-f-ospi: Fix division by zero","description":"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.","descriptionLong":"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.","published":"2025-02-27T02:18:30.281Z","updated":"2026-10-28T02:30:44.777253729Z","reserved":"2024-12-29T08:45:45.767Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1b74dd64c8612619e399e5a31da79a3636914495","lessThan":"966328191b4c389c0f2159fa242915f51cbc1679","status":"affected","versionType":"git"},{"version":"1b74dd64c8612619e399e5a31da79a3636914495","lessThan":"4df6f005bef04a3dd16c028124a1b5684db3922b","status":"affected","versionType":"git"},{"version":"1b74dd64c8612619e399e5a31da79a3636914495","lessThan":"7434135553bc03809a55803ee6a8dcaae6240d55","status":"affected","versionType":"git"},{"version":"1b74dd64c8612619e399e5a31da79a3636914495","lessThan":"3588b1c0fde2f58d166e3f94a5a58d64b893526c","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","lessThan":"6.2","status":"unaffected","versionType":"semver"},{"version":"6.6.79","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.16","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.4","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-369"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/966328191b4c389c0f2159fa242915f51cbc1679","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4df6f005bef04a3dd16c028124a1b5684db3922b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7434135553bc03809a55803ee6a8dcaae6240d55","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3588b1c0fde2f58d166e3f94a5a58d64b893526c","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21793.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21793","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00221,"epssPercentile":0.12784,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-21793","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21793","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-21793","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-21793","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}