CVE-2023-52690

powerpc/powernv: Add a null pointer check to scom_debug_init_one()

State
Published
Severity
Not scored
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 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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • bfd2f0d49aef8abfe6bf58f12719f39912993cc6 to before f84c1446daa552e9699da8d1f8375eac0f65edc7Affected
  • bfd2f0d49aef8abfe6bf58f12719f39912993cc6 to before 1eefa93faf69188540b08b024794fa90b1d82e8bAffected
  • bfd2f0d49aef8abfe6bf58f12719f39912993cc6 to before 2a82c4439b903639e0a1f21990cd399fb0a49c19Affected
  • bfd2f0d49aef8abfe6bf58f12719f39912993cc6 to before ed8d023cfa97b559db58c0e1afdd2eec7a83d8f2Affected
  • bfd2f0d49aef8abfe6bf58f12719f39912993cc6 to before dd8422ff271c22058560832fc3006324ded895a9Affected
  • bfd2f0d49aef8abfe6bf58f12719f39912993cc6 to before a9c05cbb6644a2103c75b6906e9dafb9981ebd13Affected
  • bfd2f0d49aef8abfe6bf58f12719f39912993cc6 to before 9a260f2dd827bbc82cc60eb4f4d8c22707d80742Affected
LinuxLinux
  • 5.4Affected
  • before 5.4Not 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.