{"id":"CVE-2024-50070","aliases":["CVE-2024-50070"],"related":[],"kind":"vulnerability","state":"published","title":"pinctrl: stm32: check devm_kasprintf() returned value","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: stm32: 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: stm32: 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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: pinctrl: stm32: comprobar el valor devuelto por devm_kasprintf() devm_kasprintf() puede devolver un puntero NULL en caso de error, pero este valor devuelto no se comprueba. Corrija esta falla y compruebe el valor devuelto. Encontrado por revisión de código.","source":"nvd"}],"published":"2024-10-29T00:50:11.130Z","modified":"2026-06-17T08:03:30.497Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"75285cb2b49a9bfe15fc22aecab45ef25d50e6f2","fixed":"a8d52de0a6c6b091b2771bcb98ce408cf9d69fe3","status":"affected"},{"type":"git","introduced":"32c170ff15b044579b1f8b8cdabf543406dde9da","fixed":"3b36bb1fca2b87f6292ca2a8593f297c5e9fab41","status":"affected"},{"type":"git","introduced":"32c170ff15b044579b1f8b8cdabf543406dde9da","fixed":"1f266957ae1207b0717c2d69096bc70654ae9fcb","status":"affected"},{"type":"git","introduced":"32c170ff15b044579b1f8b8cdabf543406dde9da","fixed":"b0f0e3f0552a566def55c844b0d44250c58e4df6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.58","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.11.5","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.6","fixed":"6.6.58"},{"status":"affected","introduced":"6.7","fixed":"6.11.5"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a8d52de0a6c6b091b2771bcb98ce408cf9d69fe3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b36bb1fca2b87f6292ca2a8593f297c5e9fab41","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1f266957ae1207b0717c2d69096bc70654ae9fcb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b0f0e3f0552a566def55c844b0d44250c58e4df6","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-50070","url":"https://www.cve.org/CVERecord?id=CVE-2024-50070","licence":"CVE Terms of Use","modified":"2026-05-11T20:44:50.124Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-50070","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50070","licence":"Public domain","modified":"2026-06-17T08:03:30.497Z"}],"updatedAt":"2026-11-25T22:58:47.441Z","epss":{"score":0.00206,"percentile":0.11255,"date":"2026-12-01T12:00:22.000Z"}}