# CVE-2023-52690: powerpc/powernv: Add a null pointer check to scom_debug_init_one()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-05-17T14:24:50.648Z
- Modified: 2026-06-17T06:43:21.077Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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.*; from 6.7.2 up to 6.7.*; from 6.8 up to *)
- 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
- debian debian_linux: 10.0

## 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

- CVE List: [CVE-2023-52690](https://www.cve.org/CVERecord?id=CVE-2023-52690), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52690](https://nvd.nist.gov/vuln/detail/CVE-2023-52690), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52690 · Whole record: https://cve.day/CVE-2023-52690.json · Rebuilt by cve.day 2026-11-25T22:58:33.973Z
