Skip to content

CVE-2024-49862 powercap: intel_rapl: Fix off by one in get_rpi()

HighCVSS 7.1 EPSS 0.23%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Linux KernelUbuntuDebian

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.

Upgrade path

6 packages: 6 fixed.

PackageAffectedFixed inStatus
debian/linux(Debian 13) < 6.11.2-1 6.11.2-1 Fixed
debian/linux(Debian 14) < 6.11.2-1 6.11.2-1 Fixed
Linux kernel < 6.6.54; < 6.10.13; < 6.11.2; < 6.12 +8 more 6.6.54, 6.10.13, 6.11.2, 6.12, 6a34f3b0d7f11fb6ed72da315fd2360abd9c0737, 95f6580352a7225e619551febb83595bcb77ab17, 288cbc505e2046638c615c36357cb78bc9fee1e0, 851e7f7f14a15f4e47b7d0f70d5c4a2b95b824d6 Fixed
Microsoft azure linux < 6.6.56.1-5 6.6.56.1-5 Fixed
ubuntu/linux(Ubuntu 24.04) < 6.8.0-54.56 6.8.0-54.56 Fixed
ubuntu/linux-raspi(Ubuntu 24.04) < 6.8.0-1019.23 6.8.0-1019.23 Fixed

Affected products

ProductAffected versionsFixed in
Microsoft azure linux < 6.6.56.1-5 6.6.56.1-5
debian/linux(Debian:13) < 6.11.2-1 6.11.2-1
debian/linux(Debian:14) < 6.11.2-1 6.11.2-1
Linux kernel >= 98ff639a7289067247b3ef9dd5d1e922361e7365, < 288cbc505e2046638c615c36357cb78bc9fee1e0 288cbc505e2046638c615c36357cb78bc9fee1e0
Linux kernel >= 98ff639a7289067247b3ef9dd5d1e922361e7365, < 851e7f7f14a15f4e47b7d0f70d5c4a2b95b824d6 851e7f7f14a15f4e47b7d0f70d5c4a2b95b824d6
Linux kernel >= 98ff639a7289067247b3ef9dd5d1e922361e7365, < 6a34f3b0d7f11fb6ed72da315fd2360abd9c0737 6a34f3b0d7f11fb6ed72da315fd2360abd9c0737
Linux kernel >= 98ff639a7289067247b3ef9dd5d1e922361e7365, < 95f6580352a7225e619551febb83595bcb77ab17 95f6580352a7225e619551febb83595bcb77ab17
Linux kernel = 6.5 No fix listed
Linux kernel < 6.6.54 6.6.54
Linux kernel < 6.10.13 6.10.13
Linux kernel < 6.11.2 6.11.2
Linux kernel < 6.12 6.12
ubuntu/linux(Ubuntu:24.04) < 6.8.0-54.56 6.8.0-54.56
ubuntu/linux-raspi(Ubuntu:24.04) < 6.8.0-1019.23 6.8.0-1019.23
Linux kernel >= 6.5, < 6.6.54 6.6.54
Linux kernel >= 6.7, < 6.10.13 6.10.13
Linux kernel >= 6.11, < 6.11.2 6.11.2

References