CVE-2024-49862

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-49862
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49862.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-49862
Downstream
Related
Published
2024-10-21T12:27:19.981Z
Modified
2025-11-28T02:34:53.145881Z
Summary
powercap: intel_rapl: Fix off by one in get_rpi()
Details

In the Linux kernel, the following vulnerability has been resolved:

powercap: intelrapl: Fix off by one in getrpi()

The rp->priv->rpi array is either rpimsr or rpitpmi which have NRRAPLPRIMITIVES number of elements. Thus the > needs to be >= to prevent an off by one access.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49862.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
98ff639a7289067247b3ef9dd5d1e922361e7365
Fixed
288cbc505e2046638c615c36357cb78bc9fee1e0
Fixed
851e7f7f14a15f4e47b7d0f70d5c4a2b95b824d6
Fixed
6a34f3b0d7f11fb6ed72da315fd2360abd9c0737
Fixed
95f6580352a7225e619551febb83595bcb77ab17

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.5.0
Fixed
6.6.54
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.10.13
Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.11.2