CVE-2024-50070

Source
https://cve.org/CVERecord?id=CVE-2024-50070
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50070.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-50070
Downstream
Related
Published
2024-10-29T00:50:11.130Z
Modified
2026-03-09T23:53:25.523800Z
Summary
pinctrl: stm32: check devm_kasprintf() returned value
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50070.json"
}
References

Affected packages

Git / 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
75285cb2b49a9bfe15fc22aecab45ef25d50e6f2
Fixed
a8d52de0a6c6b091b2771bcb98ce408cf9d69fe3
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
32c170ff15b044579b1f8b8cdabf543406dde9da
Fixed
3b36bb1fca2b87f6292ca2a8593f297c5e9fab41
Fixed
1f266957ae1207b0717c2d69096bc70654ae9fcb
Fixed
b0f0e3f0552a566def55c844b0d44250c58e4df6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50070.json"