5.5medium
powerpc/powernv: Add a null pointer check to scom_debug_init_one()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: powerpc/powernv: Add a null pointer check to scom_debug_init_one() kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Add a null pointer check, and release 'ent' to avoid memory leaks.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from bfd2f0d49aef8abfe6bf58f12719f39912993cc6 before f84c1446daa552e9699da8d1f8375eac0f65edc7, from bfd2f0d49aef8abfe6bf58f12719f39912993cc6 before 1eefa93faf69188540b08b024794fa90b1d82e8b, from bfd2f0d49aef8abfe6bf58f12719f39912993cc6 before 2a82c4439b903639e0a1f21990cd399fb0a49c19, from bfd2f0d49aef8abfe6bf58f12719f39912993cc6 before ed8d023cfa97b559db58c0e1afdd2eec7a83d8f2, from bfd2f0d49aef8abfe6bf58f12719f39912993cc6 before dd8422ff271c22058560832fc3006324ded895a9, from bfd2f0d49aef8abfe6bf58f12719f39912993cc6 before a9c05cbb6644a2103c75b6906e9dafb9981ebd13, from bfd2f0d49aef8abfe6bf58f12719f39912993cc6 before 9a260f2dd827bbc82cc60eb4f4d8c22707d80742, 5.4 Not affected: before 5.4, from 5.4.268 up to 5.4.*, from 5.10.209 up to 5.10.*, from 5.15.148 up to 5.15.*, from 6.1.75 up to 6.1.*, from 6.6.14 up to 6.6.* | CVE List |
| linux linux_kernel | from 5.4 before 5.4.268, from 5.5 before 5.10.209, from 5.11 before 5.15.148, from 5.16 before 6.1.75, from 6.2 before 6.6.14, from 6.7 before 6.7.2 | NVD |
| debian debian_linux | 10.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: powerpc/powernv: Add a null pointer check to scom_debug_init_one() kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Add a null pointer check, and release 'ent' to avoid memory leaks.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: powerpc/powernv: agregue una verificación de puntero null a scom_debug_init_one() kasprintf() devuelve un puntero a la memoria asignada dinámicamente que puede ser NULL en caso de fallo. Agregue una verificación de puntero null y suelte 'ent' para evitar pérdidas de memoria.
References
| https://git.kernel.org/stable/c/f84c1446daa552e9699da8d1f8375eac0f65edc7 | mailing-list, patch | |
| https://git.kernel.org/stable/c/1eefa93faf69188540b08b024794fa90b1d82e8b | mailing-list, patch | |
| https://git.kernel.org/stable/c/2a82c4439b903639e0a1f21990cd399fb0a49c19 | mailing-list, patch | |
| https://git.kernel.org/stable/c/ed8d023cfa97b559db58c0e1afdd2eec7a83d8f2 | mailing-list, patch | |
| https://git.kernel.org/stable/c/dd8422ff271c22058560832fc3006324ded895a9 | mailing-list, patch | |
| https://git.kernel.org/stable/c/a9c05cbb6644a2103c75b6906e9dafb9981ebd13 | mailing-list, patch | |
| https://git.kernel.org/stable/c/9a260f2dd827bbc82cc60eb4f4d8c22707d80742 | mailing-list, patch | |
| https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html | mailing-list | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-52690 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-52690 changed 2026-06-17 | Public domain |