{"id":"CVE-2023-52696","summary":"powerpc/powernv: Add a null pointer check in opal_powercap_init()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/powernv: Add a null pointer check in opal_powercap_init()\n\nkasprintf() returns a pointer to dynamically allocated memory\nwhich can be NULL upon failure.","modified":"2026-04-11T12:46:34.862637Z","published":"2024-05-17T14:27:28.583Z","related":["SUSE-SU-2024:1979-1","SUSE-SU-2024:1983-1","SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2135-1","SUSE-SU-2024:2184-1","SUSE-SU-2024:2190-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20249-1","USN-6818-2","USN-6819-2"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52696.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/69f95c5e9220f77ce7c540686b056c2b49e9a664"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6b58d16037217d0c64a2a09b655f370403ec7219"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9da4a56dd3772570512ca58aa8832b052ae910dc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a67a04ad05acb56640798625e73fa54d6d41cce1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b02ecc35d01a76b4235e008d2dd292895b28ecab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e123015c0ba859cf48aa7f89c5016cc6e98e018d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f152a6bfd187f67afeffc9fd68cbe46f51439be0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52696.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52696"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b9ef7b4b867f56114bedbe6bf104cfaba0ca818e"},{"fixed":"9da4a56dd3772570512ca58aa8832b052ae910dc"},{"fixed":"a67a04ad05acb56640798625e73fa54d6d41cce1"},{"fixed":"6b58d16037217d0c64a2a09b655f370403ec7219"},{"fixed":"f152a6bfd187f67afeffc9fd68cbe46f51439be0"},{"fixed":"69f95c5e9220f77ce7c540686b056c2b49e9a664"},{"fixed":"b02ecc35d01a76b4235e008d2dd292895b28ecab"},{"fixed":"e123015c0ba859cf48aa7f89c5016cc6e98e018d"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52696.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.268"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.209"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.148"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.75"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.14"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.7.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52696.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}