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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460 to < 3cf2181e438f43ed24e12424fe36d156cca233b9affected7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460 to < e02bc492883abf751fd1a8d89fc025fbce6744c6affected7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460 to < f5aaf140ab1c02889c088e1b1098adad600541afaffected7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460 to < 9f6756cd09889c7201ee31e6f76fbd914fb0b80daffected7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460 to < 68e675a9b69cfc34dd915d91a4650e3ee53421f4affected7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460 to < 15cc25829a97c3957e520e971868aacc84341317affected
Linux Linux
Default version status: affected
4.20affected0 to < 4.20unaffected5.4.235 to ≤ 5.4.*unaffected5.10.173 to ≤ 5.10.*unaffected5.15.99 to ≤ 5.15.*unaffected6.1.16 to ≤ 6.1.*unaffected6.2.3 to ≤ 6.2.*unaffected6.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/3cf2181e438f43ed24e12424fe36d156cca233b9 ↗
- https://git.kernel.org/stable/c/e02bc492883abf751fd1a8d89fc025fbce6744c6 ↗
- https://git.kernel.org/stable/c/f5aaf140ab1c02889c088e1b1098adad600541af ↗
- https://git.kernel.org/stable/c/9f6756cd09889c7201ee31e6f76fbd914fb0b80d ↗
- https://git.kernel.org/stable/c/68e675a9b69cfc34dd915d91a4650e3ee53421f4 ↗
- https://git.kernel.org/stable/c/15cc25829a97c3957e520e971868aacc84341317 ↗