CVE-2024-49862

published 21 Oct 2024 · updated 5 Aug 2026

powercap: intel_rapl: Fix off by one in get_rpi()

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 288cbc505e2046638c615c36357cb78bc9fee1e0, Kernel 6a34f3b0d7f11fb6ed72da315fd2360abd9c0737, Kernel 851e7f7f14a15f4e47b7d0f70d5c4a2b95b824d6 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.5, >=98ff639a7289067247b3ef9dd5d1e922361e7365 <288cbc505e2046638c615c36357cb78bc9fee1e0, >=98ff639a7289067247b3ef9dd5d1e922361e7365 <6a34f3b0d7f11fb6ed72da315fd2360abd9c0737, >=98ff639a7289067247b3ef9dd5d1e922361e7365 <851e7f7f14a15f4e47b7d0f70d5c4a2b95b824d6, >=98ff639a7289067247b3ef9dd5d1e922361e7365 <95f6580352a7225e619551febb83595bcb77ab17288cbc505e2046638c615c36357cb78bc9fee1e0, 6a34f3b0d7f11fb6ed72da315fd2360abd9c0737, 851e7f7f14a15f4e47b7d0f70d5c4a2b95b824d6, 95f6580352a7225e619551febb83595bcb77ab17

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-49862 severity on Zeptric[![CVE-2024-49862](https://zeptric.io/badge/cve/CVE-2024-49862.svg)](https://zeptric.io/cve/CVE-2024-49862)