CVE-2024-49862

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

HIGH
7.1
CVSS Score
Published: October 21, 2024 at 12:27 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.11 ≤ v < 6.11.26.5 ≤ v < 6.10.136.5 ≤ v < 6.11.26.5 ≤ v < 6.126.5 ≤ v < 6.6.546.7 ≤ v < 6.10.136.598ff639a7289067247b3ef9dd5d1e922361e7365
Vendor states this is fixed in 288cbc505e2046638c615c36357cb78bc9fee1e0 (fixed)
Vendor states this is fixed in 6a34f3b0d7f11fb6ed72da315fd2360abd9c0737 (fixed)
Vendor states this is fixed in 851e7f7f14a15f4e47b7d0f70d5c4a2b95b824d6 (fixed)
Vendor states this is fixed in 95f6580352a7225e619551febb83595bcb77ab17 (fixed)
Vendor states this is fixed in 6.10.13 (unaffected)
Vendor states this is fixed in 6.11.2 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)
Vendor states this is fixed in 6.6.54 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/288cbc505e2046638c615c36357cb78bc9fee1e0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6a34f3b0d7f11fb6ed72da315fd2360abd9c0737
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/851e7f7f14a15f4e47b7d0f70d5c4a2b95b824d6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/95f6580352a7225e619551febb83595bcb77ab17

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.1HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-193

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card