Description
In the Linux kernel, the following vulnerability has been resolved:
powercap: intel_rapl: Fix off by one in get_rpi()
The rp->priv->rpi array is either rpi_msr or rpi_tpmi which have NR_RAPL_PRIMITIVES number of elements. Thus the > needs to be >= to prevent an off by one access.
Metrics
CVSS 3.1 7.1/10
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 | >= 98ff639a7289067247b3ef9dd5d1e922361e7365, < 288cbc505e2046638c615c36357cb78bc9fee1e0; >= 98ff639a7289067247b3ef9dd5d1e922361e7365, < 851e7f7f14a15f4e47b7d0f70d5c4a2b95b824d6; >= 98ff639a7289067247b3ef9dd5d1e922361e7365, < 6a34f3b0d7f11fb6ed72da315fd2360abd9c0737; >= 98ff639a7289067247b3ef9dd5d1e922361e7365, < 95f6580352a7225e619551febb83595bcb77ab17 |
| Linux | Linux | 6.5 |
References
- https://git.kernel.org/stable/c/288cbc505e2046638c615c36357cb78bc9fee1e0Patch
- https://git.kernel.org/stable/c/6a34f3b0d7f11fb6ed72da315fd2360abd9c0737Patch
- https://git.kernel.org/stable/c/851e7f7f14a15f4e47b7d0f70d5c4a2b95b824d6Patch
- https://git.kernel.org/stable/c/95f6580352a7225e619551febb83595bcb77ab17Patch
Timeline
- Published
- Oct 21, 2024
- Last modified
- Aug 4, 2026
- NVD status
- Modified