{"id":"CVE-2024-50069","summary":"pinctrl: apple: check devm_kasprintf() returned value","details":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: apple: check devm_kasprintf() returned value\n\ndevm_kasprintf() can return a NULL pointer on failure but this returned\nvalue is not checked. Fix this lack and check the returned value.\n\nFound by code review.","modified":"2026-04-02T12:21:15.469351Z","published":"2024-10-29T00:50:10.018Z","related":["SUSE-SU-2024:3984-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50069.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0a4d4dbef622ac8796a6665e0080da2685f9220a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4d2296fb7c80fdc9925d29a8e85d617cad08731a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/665a58fe663ac7a9ea618dc0b29881649324b116"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fad940e2dd789155f99ecafa71a7baf6f96530bc"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50069.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50069"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7"},{"fixed":"0a4d4dbef622ac8796a6665e0080da2685f9220a"},{"fixed":"fad940e2dd789155f99ecafa71a7baf6f96530bc"},{"fixed":"4d2296fb7c80fdc9925d29a8e85d617cad08731a"},{"fixed":"665a58fe663ac7a9ea618dc0b29881649324b116"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50069.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}