Re: [PATCH V2 01/11] hwmon: (coretemp) Fix out-of-bounds memory access

From: Guenter Roeck
Date: Sat Feb 03 2024 - 10:16:21 EST


On Fri, Feb 02, 2024 at 05:21:34PM +0800, Zhang Rui wrote:
> Fix a bug that pdata->cpu_map[] is set before out-of-bounds check.
> The problem might be triggered on systems with more than 128 cores per
> package.
>
> Fixes: 7108b80a542b ("hwmon/coretemp: Handle large core ID value")
> Signed-off-by: Zhang Rui <rui.zhang@xxxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx>

Applied.

Thanks,
Guenter