What’s Vulnerable › Vulnerabilities
CVE-2024-50069: pinctrl: apple: check devm_kasprintf() returned value
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-29 · updated 2026-06-17
- Weakness: CWE-476
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 products
- Linux kernel: from 5.16 before 6.1.114; from 6.2 before 6.6.58; from 6.7 before 6.11.5; 6.12-rc1, 6.12-rc2, 6.12-rc3 — fixed in 6.1.114, 6.11.5, 6.6.58
How to fix
Upgrade to a fixed version: Linux kernel 6.1.114, 6.11.5, 6.6.58. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0a4d4dbef622ac8796a6665e0080da2685f9220a
- https://git.kernel.org/stable/c/4d2296fb7c80fdc9925d29a8e85d617cad08731a
- https://git.kernel.org/stable/c/665a58fe663ac7a9ea618dc0b29881649324b116
- https://git.kernel.org/stable/c/fad940e2dd789155f99ecafa71a7baf6f96530bc
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Get alerted when CVE-2024-50069 or the next vulnerability affects your stack