Vulnerabilities · 2024 · Linux
CVE-2024-50070
Linux Kernel vulnerability
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 products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/1f266957ae1207b0717c2d69096bc70654ae9fcb · Patch
- git.kernel.org/stable/c/3b36bb1fca2b87f6292ca2a8593f297c5e9fab41 · Patch
- git.kernel.org/stable/c/b0f0e3f0552a566def55c844b0d44250c58e4df6 · Patch
- git.kernel.org/stable/c/a8d52de0a6c6b091b2771bcb98ce408cf9d69fe3
- nvd.nist.gov/vuln/detail/CVE-2024-50070
- cve.org/CVERecord?id=CVE-2024-50070
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.