diff options
| author | Zhang Rui <[email protected]> | 2024-02-02 09:21:34 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2024-02-04 14:43:44 +0000 |
| commit | 4e440abc894585a34c2904a32cd54af1742311b3 (patch) | |
| tree | 33f78e5a9c6e0e538b790a2b954afe6d16e66275 /scripts/generate_rust_target.rs | |
| parent | hwmon: (aspeed-pwm-tacho) mutex for tach reading (diff) | |
| download | kernel-4e440abc894585a34c2904a32cd54af1742311b3.tar.gz kernel-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 <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
