Description
In the Linux kernel, the following vulnerability has been resolved:
thermal: intel: powerclamp: fix mismatch in get function for max_idle
KASAN reported this
[ 444.853098] BUG: KASAN: global-out-of-bounds in param_get_int+0x77/0x90 [ 444.853111] Read of size 4 at addr ffffffffc16c9220 by task cat/2105 ... [ 444.853442] The buggy address belongs to the variable: [ 444.853443] max_idle+0x0/0xffffffffffffcde0 [intel_powerclamp]
There is a mismatch between the param_get_int and the definition of max_idle. Replacing param_get_int with param_get_byte resolves this issue.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= ebf519710218814cf827adbf9111af081344c969, < 6a3866dbdcf39ac93e98708e6abced511733dc18; >= ebf519710218814cf827adbf9111af081344c969, < 0a8585281b11e3a0723bba8d8085d61f0b55f37c; >= ebf519710218814cf827adbf9111af081344c969, < fae633cfb729da2771b5433f6b84ae7e8b4aa5f7 |
| Linux | Linux | 6.3 |
References
- https://git.kernel.org/stable/c/0a8585281b11e3a0723bba8d8085d61f0b55f37cPatch
- https://git.kernel.org/stable/c/6a3866dbdcf39ac93e98708e6abced511733dc18Patch
- https://git.kernel.org/stable/c/fae633cfb729da2771b5433f6b84ae7e8b4aa5f7Patch
- https://git.kernel.org/stable/c/0a8585281b11e3a0723bba8d8085d61f0b55f37cPatch
- https://git.kernel.org/stable/c/6a3866dbdcf39ac93e98708e6abced511733dc18Patch
- https://git.kernel.org/stable/c/fae633cfb729da2771b5433f6b84ae7e8b4aa5f7Patch
Timeline
- Published
- May 21, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed