What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.10.13, 6.11.2, 6.6.54. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-49862 or the next vulnerability affects your stack