# CVE-2024-50069: pinctrl: apple: check devm_kasprintf() returned value

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-10-29T00:50:10.018Z
- Modified: 2026-06-17T08:03:30.343Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 before 0a4d4dbef622ac8796a6665e0080da2685f9220a; from a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 before fad940e2dd789155f99ecafa71a7baf6f96530bc; from a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 before 4d2296fb7c80fdc9925d29a8e85d617cad08731a; from a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 before 665a58fe663ac7a9ea618dc0b29881649324b116; 5.16 (not affected: before 5.16; from 6.1.114 up to 6.1.*; from 6.6.58 up to 6.6.*; from 6.11.5 up to 6.11.*; from 6.12 up to *)
- linux 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

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/0a4d4dbef622ac8796a6665e0080da2685f9220a> (patch)
- <https://git.kernel.org/stable/c/fad940e2dd789155f99ecafa71a7baf6f96530bc> (patch)
- <https://git.kernel.org/stable/c/4d2296fb7c80fdc9925d29a8e85d617cad08731a> (patch)
- <https://git.kernel.org/stable/c/665a58fe663ac7a9ea618dc0b29881649324b116> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-50069](https://www.cve.org/CVERecord?id=CVE-2024-50069), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-50069](https://nvd.nist.gov/vuln/detail/CVE-2024-50069), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50069 · Whole record: https://cve.day/CVE-2024-50069.json · Rebuilt by cve.day 2026-11-25T22:58:47.441Z
