7.1high
powercap: intel_rapl: Fix off by one in get_rpi()
- Severity
- 7.1high CVSS:3.1 by Linux
- Exploit likelihood
- 0.31% (higher than 16% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 98ff639a7289067247b3ef9dd5d1e922361e7365 before 288cbc505e2046638c615c36357cb78bc9fee1e0, from 98ff639a7289067247b3ef9dd5d1e922361e7365 before 851e7f7f14a15f4e47b7d0f70d5c4a2b95b824d6, from 98ff639a7289067247b3ef9dd5d1e922361e7365 before 6a34f3b0d7f11fb6ed72da315fd2360abd9c0737, from 98ff639a7289067247b3ef9dd5d1e922361e7365 before 95f6580352a7225e619551febb83595bcb77ab17, 6.5 Not affected: before 6.5, from 6.6.54 up to 6.6.*, from 6.10.13 up to 6.10.*, from 6.11.2 up to 6.11.*, from 6.12 up to * | CVE List |
| linux linux_kernel | from 6.5 before 6.6.54, from 6.7 before 6.10.13, from 6.11 before 6.11.2 | NVD |
All scores
| Linux | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: powercap: intel_rapl: Arreglo de un byte en get_rpi() La matriz rp->priv->rpi es rpi_msr o rpi_tpmi, que tienen una cantidad de elementos NR_RAPL_PRIMITIVES. Por lo tanto, el > debe ser >= para evitar un acceso de un byte.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-49862 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-49862 changed 2026-08-04 | Public domain |