CVE-2024-49862

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

23 Oct 2024, 16:53

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CWE CWE-193
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: powercap: intel_rapl: Arreglo de un byte en get_rpi() La matriz rp->priv->rpi es rpi_msr o rpi_tpmi, que tienen una cantidad de elementos NR_RAPL_PRIMITIVES. Por lo tanto, el > debe ser >= para evitar un acceso de un byte.
References () https://git.kernel.org/stable/c/288cbc505e2046638c615c36357cb78bc9fee1e0 - () https://git.kernel.org/stable/c/288cbc505e2046638c615c36357cb78bc9fee1e0 - Patch
References () https://git.kernel.org/stable/c/6a34f3b0d7f11fb6ed72da315fd2360abd9c0737 - () https://git.kernel.org/stable/c/6a34f3b0d7f11fb6ed72da315fd2360abd9c0737 - Patch
References () https://git.kernel.org/stable/c/851e7f7f14a15f4e47b7d0f70d5c4a2b95b824d6 - () https://git.kernel.org/stable/c/851e7f7f14a15f4e47b7d0f70d5c4a2b95b824d6 - Patch
References () https://git.kernel.org/stable/c/95f6580352a7225e619551febb83595bcb77ab17 - () https://git.kernel.org/stable/c/95f6580352a7225e619551febb83595bcb77ab17 - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.1
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

21 Oct 2024, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-10-21 13:15

Updated : 2024-10-23 16:53


NVD link : CVE-2024-49862

Mitre link : CVE-2024-49862

CVE.ORG link : CVE-2024-49862


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-193

Off-by-one Error