NetSight
high7.1

CVE-2023-53242

In the Linux kernel, the following vulnerability has been resolved: thermal/drivers/hisi: Drop second sensor hi3660 The commit 74c8e6bffbe1 ("driver core: Add …

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 4.20.1 before 5.4.235
from 5.5 before 5.10.173
from 5.11 before 5.15.99
from 5.16 before 6.1.16
from 6.2 before 6.2.3
Version 4.20

References