CVE-2023-52607

powerpc/mm: Fix null-pointer dereference in pgtable_cache_add

MEDIUM
5.5
CVSS Score
Published: March 6, 2024 at 06:45 AM UTC
Updated: June 17, 2026 at 06:43 AM UTC
1 product affected across 1 vendorLinux Kernel

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/mm: Fix null-pointer dereference in pgtable_cache_add kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Ensure the allocation was successful by checking the pointer validity.

Affected

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

v < 4.19.3072.6.33 ≤ v < 4.19.3072.6.33 ≤ v < 5.10.2102.6.33 ≤ v < 5.15.1492.6.33 ≤ v < 5.4.2692.6.33 ≤ v < 6.1.772.6.33 ≤ v < 6.6.162.6.33 ≤ v < 6.7.42.6.33 ≤ v < 6.84.20 ≤ v ≤ 5.4.2695.11 ≤ v ≤ 5.15.1495.16 ≤ v < 6.1.775.5 ≤ v ≤ 5.10.2106.2 ≤ v < 6.6.166.7 ≤ v < 6.7.42.6.33a0668cdc154e54bf0c85182e0535eea237d53146
Vendor states this is fixed in 145febd85c3bcc5c74d87ef9a598fc7d9122d532 (fixed)
Vendor states this is fixed in 21e45a7b08d7cd98d6a53c5fc5111879f2d96611 (fixed)
Vendor states this is fixed in aa28eecb43cac6e20ef14dfc50b8892c1fbcda5b (fixed)
Vendor states this is fixed in ac3ed969a40357b0542d20f096a6d43acdfa6cc7 (fixed)
Vendor states this is fixed in d482d61025e303a2bef3733a011b6b740215cfa1 (fixed)
Vendor states this is fixed in f46c8a75263f97bda13c739ba1c90aced0d3b071 (fixed)
Vendor states this is fixed in f6781add1c311c17eff43e14c786004bbacf901e (fixed)
Vendor states this is fixed in ffd29dc45bc0355393859049f6becddc3ed08f74 (fixed)
Vendor states this is fixed in 2.6.33 (unaffected)
Vendor states this is fixed in 4.19.307 (unaffected)
Vendor states this is fixed in 5.10.210 (unaffected)
Vendor states this is fixed in 5.15.149 (unaffected)
Vendor states this is fixed in 5.4.269 (unaffected)
Vendor states this is fixed in 6.1.77 (unaffected)
Vendor states this is fixed in 6.6.16 (unaffected)
Vendor states this is fixed in 6.7.4 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/145febd85c3bcc5c74d87ef9a598fc7d9122d532
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/21e45a7b08d7cd98d6a53c5fc5111879f2d96611
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aa28eecb43cac6e20ef14dfc50b8892c1fbcda5b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ac3ed969a40357b0542d20f096a6d43acdfa6cc7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d482d61025e303a2bef3733a011b6b740215cfa1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f46c8a75263f97bda13c739ba1c90aced0d3b071
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f6781add1c311c17eff43e14c786004bbacf901e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ffd29dc45bc0355393859049f6becddc3ed08f74

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

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

CVSS

5.5MEDIUMCISA-ADP
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