In the Linux kernel, the following vulnerability has been resolved: spi: hisi-kunpeng: Add verification for the max_frequency provided by the firmware If the value of max_speed_hz is 0, it may cause a division by zero error in hisi_calc_effective_speed(). The value of max_speed_hz is provided by firmware. Firmware is generally considered as a trusted domain. However, as division by zero errors can cause system failure, for defense measure, the value of max_speed is validated here. So 0 is regarded as invalid and an error code is returned.
| Product | Vendor | Version |
|---|---|---|
| Linux | Linux | 12.2.3 |
| Linux | Linux | 12.2.4 |
| Linux | Linux | Android-7.0 Android-7.1.1 Android-7.1.2 Android-8.0 Android-8.1 Android-9 |
| Linux | Linux | all versions before 7.4.2b, v8.1.2 and 8.2.0 |