CVE-2024-50069

pinctrl: apple: check devm_kasprintf() returned value

MEDIUM
5.5
CVSS Score
Published: October 29, 2024 at 12:50 AM UTC
Updated: June 17, 2026 at 08:03 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: pinctrl: apple: check devm_kasprintf() returned value devm_kasprintf() can return a NULL pointer on failure but this returned value is not checked. Fix this lack and check the returned value. Found by code review.

Affected

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

5.16 ≤ v < 6.1.1145.16 ≤ v < 6.11.55.16 ≤ v < 6.125.16 ≤ v < 6.6.586.2 ≤ v < 6.6.586.7 ≤ v < 6.11.56.12 rc16.12 rc26.12 rc3a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7
Vendor states this is fixed in 0a4d4dbef622ac8796a6665e0080da2685f9220a (fixed)
Vendor states this is fixed in 4d2296fb7c80fdc9925d29a8e85d617cad08731a (fixed)
Vendor states this is fixed in 665a58fe663ac7a9ea618dc0b29881649324b116 (fixed)
Vendor states this is fixed in fad940e2dd789155f99ecafa71a7baf6f96530bc (fixed)
Vendor states this is fixed in 5.16 (unaffected)
Vendor states this is fixed in 6.1.114 (unaffected)
Vendor states this is fixed in 6.11.5 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.58 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0a4d4dbef622ac8796a6665e0080da2685f9220a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4d2296fb7c80fdc9925d29a8e85d617cad08731a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/665a58fe663ac7a9ea618dc0b29881649324b116
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fad940e2dd789155f99ecafa71a7baf6f96530bc
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

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

StatusMODIFIED
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