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.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 1b74dd64c8612619e399e5a31da79a3636914495, < 966328191b4c389c0f2159fa242915f51cbc1679; >= 1b74dd64c8612619e399e5a31da79a3636914495, < 4df6f005bef04a3dd16c028124a1b5684db3922b; >= 1b74dd64c8612619e399e5a31da79a3636914495, < 7434135553bc03809a55803ee6a8dcaae6240d55; >= 1b74dd64c8612619e399e5a31da79a3636914495, < 3588b1c0fde2f58d166e3f94a5a58d64b893526c |
| Linux | Linux | 6.2 |
References
- https://git.kernel.org/stable/c/3588b1c0fde2f58d166e3f94a5a58d64b893526cPatch
- https://git.kernel.org/stable/c/4df6f005bef04a3dd16c028124a1b5684db3922bPatch
- https://git.kernel.org/stable/c/7434135553bc03809a55803ee6a8dcaae6240d55Patch
- https://git.kernel.org/stable/c/966328191b4c389c0f2159fa242915f51cbc1679Patch
Timeline
- Published
- Feb 27, 2025
- Last modified
- Jun 17, 2026
- NVD status
- Modified