diff options
author | 2024-02-02 17:21:34 +0800 | |
---|---|---|
committer | 2024-02-04 06:43:44 -0800 | |
commit | 4e440abc894585a34c2904a32cd54af1742311b3 (patch) | |
tree | 33f78e5a9c6e0e538b790a2b954afe6d16e66275 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hwmon: (aspeed-pwm-tacho) mutex for tach reading (diff) | |
download | wireguard-linux-4e440abc894585a34c2904a32cd54af1742311b3.tar.xz wireguard-linux-4e440abc894585a34c2904a32cd54af1742311b3.zip |
hwmon: (coretemp) Fix out-of-bounds memory access
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@intel.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20240202092144.71180-2-rui.zhang@intel.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions