Guenter Roeck
f006c45a3e
hwmon: (nct6775) Fix access to temperature configuration registers
...
[ Upstream commit d56e460e19ea8382f813eb489730248ec8d7eb73 ]
The number of temperature configuration registers does
not always match the total number of temperature registers.
This can result in access errors reported if KASAN is enabled.
BUG: KASAN: global-out-of-bounds in nct6775_probe+0x5654/0x6fe9 nct6775_core
Reported-by: Erhard Furtner <erhard_f@mailbox.org>
Closes: https://lore.kernel.org/linux-hwmon/d51181d1-d26b-42b2-b002-3f5a4037721f@roeck-us.net/
Fixes: b7f1f7b2523a ("hwmon: (nct6775) Additional TEMP registers for nct6799")
Cc: Ahmad Khalifa <ahmad@khalifa.ws>
Tested-by: Ahmad Khalifa <ahmad@khalifa.ws>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-01 13:35:08 +01:00
..
2023-06-08 06:41:17 -07:00
2023-09-01 09:53:54 -07:00
2023-11-20 11:59:08 +01:00
2022-09-25 14:22:11 -07:00
2022-09-25 14:22:11 -07:00
2023-12-13 18:45:14 +01:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:17 -07:00
2022-02-09 13:00:45 +00:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:30 -07:00
2023-04-19 07:08:34 -07:00
2022-09-25 14:22:12 -07:00
2022-09-25 14:22:12 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:18 -07:00
2023-06-08 06:41:17 -07:00
2023-08-09 21:09:47 -07:00
2023-08-21 06:04:29 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2024-02-16 19:10:49 +01:00
2022-11-23 19:11:22 +01:00
2022-07-13 08:39:42 -07:00
2023-08-21 06:04:12 -07:00
2023-06-08 06:41:17 -07:00
2023-11-20 11:59:07 +01:00
2023-08-21 06:04:29 -07:00
2024-03-01 13:34:55 +01:00
2023-04-19 07:08:35 -07:00
2024-01-20 11:51:42 +01:00
2023-04-19 07:08:35 -07:00
2023-06-08 06:41:17 -07:00
2023-04-27 11:53:57 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-05-19 05:59:37 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:29 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-04-19 07:08:31 -07:00
2023-06-08 06:35:52 -07:00
2023-08-21 06:04:29 -07:00
2023-06-08 06:41:17 -07:00
2024-02-05 20:14:28 +00:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:18 -07:00
2023-04-19 07:08:35 -07:00
2022-07-01 11:53:29 -07:00
2023-02-03 07:30:10 -08:00
2023-04-19 07:08:31 -07:00
2023-02-03 07:30:11 -08:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-15 09:19:36 +01:00
2023-08-21 06:04:29 -07:00
2023-06-08 06:41:17 -07:00
2023-04-19 07:08:36 -07:00
2023-08-10 14:23:57 +02:00
2023-08-21 06:04:30 -07:00
2023-08-21 06:04:29 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:30 -07:00
2022-02-27 17:03:19 -08:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:30 -07:00
2022-07-13 08:38:19 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-10 07:37:02 -07:00
2023-08-21 06:04:29 -07:00
2023-06-08 06:41:17 -07:00
2023-04-19 07:08:36 -07:00
2023-06-08 06:41:17 -07:00
2022-09-25 14:22:12 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:29 -07:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:17 -07:00
2023-05-26 13:33:05 +02:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:29 -07:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:31 -07:00
2023-06-08 06:41:17 -07:00
2022-09-25 14:22:12 -07:00
2023-08-21 06:04:29 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-26 06:45:54 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:29 -07:00
2023-08-25 07:43:04 -07:00
2022-12-04 16:45:02 -08:00
2023-06-08 06:41:17 -07:00
2024-03-01 13:35:08 +01:00
2023-06-17 20:50:30 -07:00
2023-08-21 06:04:29 -07:00
2023-08-21 06:04:30 -07:00
2023-07-24 07:01:40 -07:00
2023-06-08 06:41:17 -07:00
2023-04-19 07:08:37 -07:00
2023-08-21 06:04:31 -07:00
2023-04-19 07:08:37 -07:00
2023-12-13 18:45:15 +01:00
2023-04-19 07:08:37 -07:00
2023-08-21 06:04:29 -07:00
2022-09-25 14:22:11 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-04-19 07:08:33 -07:00
2023-04-19 07:08:38 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:29 -07:00
2023-11-20 11:59:07 +01:00
2023-11-20 11:59:08 +01:00
2022-02-27 17:03:17 -08:00
2023-03-03 20:45:02 +01:00
2023-08-21 06:04:29 -07:00
2023-04-19 07:08:40 -07:00
2023-08-21 06:04:30 -07:00
2023-06-08 06:41:17 -07:00
2023-02-03 07:30:10 -08:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-08-25 06:20:53 -07:00
2023-04-19 07:08:38 -07:00
2023-04-19 07:08:38 -07:00
2023-06-08 06:41:17 -07:00
2023-04-19 07:08:38 -07:00
2023-06-08 06:41:17 -07:00
2023-04-19 07:08:38 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-10 07:37:02 -07:00
2023-06-08 06:41:17 -07:00
2023-06-10 07:37:02 -07:00
2023-06-08 06:41:17 -07:00
2023-08-21 06:04:29 -07:00
2023-08-21 06:04:29 -07:00
2023-08-25 07:43:10 -07:00
2023-08-21 06:04:29 -07:00
2023-08-21 06:04:29 -07:00
2023-08-21 06:04:29 -07:00
2023-08-25 06:18:09 -07:00
2023-04-19 07:08:33 -07:00
2023-08-25 06:19:29 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-04-19 07:08:39 -07:00
2022-09-26 15:21:33 -07:00
2023-08-21 06:04:29 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-06-08 06:41:17 -07:00
2023-03-21 07:50:24 -07:00