CVE-2023-52675Published May 17, 2024 · May 17Updated Oct 28
powerpc/imc-pmu: Add a null pointer check in update_events_in_group()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 885dcd709ba9120b9935415b8b0f9d1b94e5826b · < 024352f7928b28f53609660663329d8c0f4ad032| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
powerpc/imc-pmu: Add a null pointer check in update_events_in_group()
kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure.
From the CVE record · Linux
The Linux kernel's powerpc/imc-pmu component lacked a null-pointer check in update_events_in_group() when kasprintf() failed. This could cause a null-pointer dereference; the input does not specify how an attacker could trigger it or whether authentication or user interaction is required.
Engineers running the Linux kernel should check whether their build includes the affected powerpc/imc-pmu code; affected versions are not specified.