CVE-2023-52696
JSON

7.5high

powerpc/powernv: Add a null pointer check in opal_powercap_init()

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.82% (higher than 58% 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 in opal_powercap_init() kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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.*
CVE List
linux linux_kernelfrom 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 and 6 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
CVE List, NVD
debian debian_linux10.0NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable yes, 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 in opal_powercap_init() kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: powerpc/powernv: agregue una verificación de puntero null en opal_powercap_init() kasprintf() devuelve un puntero a la memoria asignada dinámicamente que puede ser NULL en caso de fallo.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52696 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-52696 changed 2026-06-17Public domain