CVE-2023-52607Published Mar 6, 2024 · Mar 6Updated Oct 29
powerpc/mm: Fix null-pointer dereference in pgtable_cache_add
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a0668cdc154e54bf0c85182e0535eea237d53146 · < 145febd85c3bcc5c74d87ef9a598fc7d9122d532| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
powerpc/mm: Fix null-pointer dereference in pgtable_cache_add
kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Ensure the allocation was successful by checking the pointer validity.
From the CVE record · Linux
The Linux kernel’s powerpc/mm pgtable_cache_add function can dereference a null pointer if a kasprintf memory allocation fails. The input does not specify how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running the Linux kernel should check their systems; affected versions are not specified.