CVE-2023-52696Published May 17, 2024 · May 17Updated Oct 28
powerpc/powernv: Add a null pointer check in opal_powercap_init()
Linux
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b9ef7b4b867f56114bedbe6bf104cfaba0ca818e · < b02ecc35d01a76b4235e008d2dd292895b28ecab| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
powerpc/powernv: Add a null pointer check in opal_powercap_init()
kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure.
From the CVE record · Linux
The Linux kernel's powerpc/powernv opal_powercap_init() lacks a null pointer check when kasprintf() fails to allocate memory. This can lead to a null pointer dereference; the input does not specify whether an attacker can trigger it or what access or interaction would be required.
Engineers running the Linux kernel should check their versions; affected versions are not specified.