Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.6, < 6.6.58 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/1f266957ae1207b0717c2d69096bc70654ae9fcbPatch
- https://git.kernel.org/stable/c/3b36bb1fca2b87f6292ca2a8593f297c5e9fab41Patch
- https://git.kernel.org/stable/c/a8d52de0a6c6b091b2771bcb98ce408cf9d69fe3
- https://git.kernel.org/stable/c/b0f0e3f0552a566def55c844b0d44250c58e4df6Patch
FAQ
What is CVE-2024-50070?
CVE-2024-50070 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 valu...
How severe is CVE-2024-50070?
CVE-2024-50070 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-50070?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.