CVE-2023-52696

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

State
Published
Severity
7.5 High
Published
May 17, 2024
Updated
May 11, 2026
Reserved
Mar 7, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • b9ef7b4b867f56114bedbe6bf104cfaba0ca818e to before 9da4a56dd3772570512ca58aa8832b052ae910dcAffected
  • b9ef7b4b867f56114bedbe6bf104cfaba0ca818e to before a67a04ad05acb56640798625e73fa54d6d41cce1Affected
  • b9ef7b4b867f56114bedbe6bf104cfaba0ca818e to before 6b58d16037217d0c64a2a09b655f370403ec7219Affected
  • b9ef7b4b867f56114bedbe6bf104cfaba0ca818e to before f152a6bfd187f67afeffc9fd68cbe46f51439be0Affected
  • b9ef7b4b867f56114bedbe6bf104cfaba0ca818e to before 69f95c5e9220f77ce7c540686b056c2b49e9a664Affected
  • b9ef7b4b867f56114bedbe6bf104cfaba0ca818e to before b02ecc35d01a76b4235e008d2dd292895b28ecabAffected
  • b9ef7b4b867f56114bedbe6bf104cfaba0ca818e to before e123015c0ba859cf48aa7f89c5016cc6e98e018dAffected
LinuxLinux
  • 4.20Affected
  • before 4.20Not affected
  • 5.4.268 through 5.4.*Not affected
  • 5.10.209 through 5.10.*Not affected
  • 5.15.148 through 5.15.*Not affected
  • 6.1.75 through 6.1.*Not affected
  • 6.6.14 through 6.6.*Not affected
  • 6.7.2 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.