CVE-2024-50069

published 29 Oct 2024 · updated 11 May 2026

pinctrl: apple: check devm_kasprintf() returned value

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0a4d4dbef622ac8796a6665e0080da2685f9220a, Kernel 4d2296fb7c80fdc9925d29a8e85d617cad08731a, Kernel 665a58fe663ac7a9ea618dc0b29881649324b116 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.16, >=a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 <0a4d4dbef622ac8796a6665e0080da2685f9220a, >=a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 <4d2296fb7c80fdc9925d29a8e85d617cad08731a, >=a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 <665a58fe663ac7a9ea618dc0b29881649324b116, >=a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 <fad940e2dd789155f99ecafa71a7baf6f96530bc0a4d4dbef622ac8796a6665e0080da2685f9220a, 4d2296fb7c80fdc9925d29a8e85d617cad08731a, 665a58fe663ac7a9ea618dc0b29881649324b116, fad940e2dd789155f99ecafa71a7baf6f96530bc

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-50069 severity on Zeptric[![CVE-2024-50069](https://zeptric.io/badge/cve/CVE-2024-50069.svg)](https://zeptric.io/cve/CVE-2024-50069)