# CVE-2023-52696: powerpc/powernv: Add a null pointer check in opal_powercap_init()

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/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.82%, higher than 58% of CVEs (2026-12-01)
- Published: 2024-05-17T14:27:28.583Z
- Modified: 2026-06-17T06:43:21.933Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from b9ef7b4b867f56114bedbe6bf104cfaba0ca818e before 9da4a56dd3772570512ca58aa8832b052ae910dc; from b9ef7b4b867f56114bedbe6bf104cfaba0ca818e before a67a04ad05acb56640798625e73fa54d6d41cce1; from b9ef7b4b867f56114bedbe6bf104cfaba0ca818e before 6b58d16037217d0c64a2a09b655f370403ec7219; from b9ef7b4b867f56114bedbe6bf104cfaba0ca818e before f152a6bfd187f67afeffc9fd68cbe46f51439be0; from b9ef7b4b867f56114bedbe6bf104cfaba0ca818e before 69f95c5e9220f77ce7c540686b056c2b49e9a664; from b9ef7b4b867f56114bedbe6bf104cfaba0ca818e before b02ecc35d01a76b4235e008d2dd292895b28ecab; from b9ef7b4b867f56114bedbe6bf104cfaba0ca818e before e123015c0ba859cf48aa7f89c5016cc6e98e018d; 4.20 (not affected: before 4.20; 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 b9ef7b4b867f before e123015c0ba8; from b9ef7b4b867f before 9da4a56dd377; from b9ef7b4b867f before a67a04ad05ac; from b9ef7b4b867f before 6b58d1603721; from b9ef7b4b867f before f152a6bfd187; from b9ef7b4b867f before 69f95c5e9220; from b9ef7b4b867f before b02ecc35d01a; 4.2.0; from 4.20 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; and 2 more (not affected: from 5.4.268 before 5.5; from 5.10.209 before 5.11; from 5.15.148 before 5.16; from 6.1.75 before 6.2; from 6.6.14 before 6.7; from 6.7.2 before 6.8; 6.8; before 4.20)
- debian debian_linux: 10.0

## References

- <https://git.kernel.org/stable/c/9da4a56dd3772570512ca58aa8832b052ae910dc> (patch)
- <https://git.kernel.org/stable/c/a67a04ad05acb56640798625e73fa54d6d41cce1> (patch)
- <https://git.kernel.org/stable/c/6b58d16037217d0c64a2a09b655f370403ec7219> (patch)
- <https://git.kernel.org/stable/c/f152a6bfd187f67afeffc9fd68cbe46f51439be0> (patch)
- <https://git.kernel.org/stable/c/69f95c5e9220f77ce7c540686b056c2b49e9a664> (patch)
- <https://git.kernel.org/stable/c/b02ecc35d01a76b4235e008d2dd292895b28ecab> (patch)
- <https://git.kernel.org/stable/c/e123015c0ba859cf48aa7f89c5016cc6e98e018d> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html> (mailing-list, third-party-advisory)

## Sources

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

---

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