What’s Vulnerable › Vulnerabilities

CVE-2023-53242: thermal/drivers/hisi: Drop second sensor hi3660

Description

In the Linux kernel, the following vulnerability has been resolved: thermal/drivers/hisi: Drop second sensor hi3660 The commit 74c8e6bffbe1 ("driver core: Add __alloc_size hint to devm allocators") exposes a panic "BRK handler: Fatal exception" on the hi3660_thermal_probe funciton. This is because the function allocates memory for only one sensors array entry, but tries to fill up a second one. Fix this by removing the unneeded second access.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.173, 5.15.99, 5.4.235, 6.1.16. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-53242 or the next vulnerability affects your stack