CVE-2024-50070

published 29 Oct 2024 · updated 11 May 2026

pinctrl: stm32: 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 1f266957ae1207b0717c2d69096bc70654ae9fcb, Kernel 3b36bb1fca2b87f6292ca2a8593f297c5e9fab41, Kernel b0f0e3f0552a566def55c844b0d44250c58e4df6 and 1 more.

In the Linux kernel, the following vulnerability has been resolved: pinctrl: stm32: 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=6.6, >=32c170ff15b044579b1f8b8cdabf543406dde9da <1f266957ae1207b0717c2d69096bc70654ae9fcb, >=32c170ff15b044579b1f8b8cdabf543406dde9da <3b36bb1fca2b87f6292ca2a8593f297c5e9fab41, >=32c170ff15b044579b1f8b8cdabf543406dde9da <b0f0e3f0552a566def55c844b0d44250c58e4df6, >=75285cb2b49a9bfe15fc22aecab45ef25d50e6f2 <a8d52de0a6c6b091b2771bcb98ce408cf9d69fe31f266957ae1207b0717c2d69096bc70654ae9fcb, 3b36bb1fca2b87f6292ca2a8593f297c5e9fab41, b0f0e3f0552a566def55c844b0d44250c58e4df6, a8d52de0a6c6b091b2771bcb98ce408cf9d69fe3

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-50070 severity on Zeptric[![CVE-2024-50070](https://zeptric.io/badge/cve/CVE-2024-50070.svg)](https://zeptric.io/cve/CVE-2024-50070)