CVE-2023-52690

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

MEDIUM
5.5
CVSS Score
Published: May 17, 2024 at 02:24 PM UTC
Updated: June 17, 2026 at 06:43 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1485.16 ≤ v < 6.1.755.4 ≤ v < 5.10.2095.4 ≤ v < 5.15.1485.4 ≤ v < 5.4.2685.4 ≤ v < 6.1.755.4 ≤ v < 6.6.145.4 ≤ v < 6.7.25.4 ≤ v < 6.85.5 ≤ v < 5.10.2096.2 ≤ v < 6.6.146.7 ≤ v < 6.7.25.4bfd2f0d49aef8abfe6bf58f12719f39912993cc6
Vendor states this is fixed in 1eefa93faf69188540b08b024794fa90b1d82e8b (fixed)
Vendor states this is fixed in 2a82c4439b903639e0a1f21990cd399fb0a49c19 (fixed)
Vendor states this is fixed in 9a260f2dd827bbc82cc60eb4f4d8c22707d80742 (fixed)
Vendor states this is fixed in a9c05cbb6644a2103c75b6906e9dafb9981ebd13 (fixed)
Vendor states this is fixed in dd8422ff271c22058560832fc3006324ded895a9 (fixed)
Vendor states this is fixed in ed8d023cfa97b559db58c0e1afdd2eec7a83d8f2 (fixed)
Vendor states this is fixed in f84c1446daa552e9699da8d1f8375eac0f65edc7 (fixed)
Vendor states this is fixed in 5.10.209 (unaffected)
Vendor states this is fixed in 5.15.148 (unaffected)
Vendor states this is fixed in 5.4 (unaffected)
Vendor states this is fixed in 5.4.268 (unaffected)
Vendor states this is fixed in 6.1.75 (unaffected)
Vendor states this is fixed in 6.6.14 (unaffected)
Vendor states this is fixed in 6.7.2 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (8)

Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1eefa93faf69188540b08b024794fa90b1d82e8b
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2a82c4439b903639e0a1f21990cd399fb0a49c19
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9a260f2dd827bbc82cc60eb4f4d8c22707d80742
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a9c05cbb6644a2103c75b6906e9dafb9981ebd13
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dd8422ff271c22058560832fc3006324ded895a9
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ed8d023cfa97b559db58c0e1afdd2eec7a83d8f2
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f84c1446daa552e9699da8d1f8375eac0f65edc7
Mailing List
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card