In the Linux kernel, the following vulnerability has been resolved:
pinctrl: apple: 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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50069.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50069.json"
[
{
"signature_version": "v1",
"target": {
"file": "drivers/pinctrl/pinctrl-apple-gpio.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0a4d4dbef622ac8796a6665e0080da2685f9220a",
"deprecated": false,
"digest": {
"line_hashes": [
"70435786585132657685358135578048335742",
"231261535726454971619190509385055672664",
"338109243271465519821939060615913991991",
"231898976208359721427822498292211170668"
],
"threshold": 0.9
},
"id": "CVE-2024-50069-8939c663",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "drivers/pinctrl/pinctrl-apple-gpio.c",
"function": "apple_gpio_pinctrl_probe"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0a4d4dbef622ac8796a6665e0080da2685f9220a",
"deprecated": false,
"digest": {
"function_hash": "120593444300437430158874722097973205095",
"length": 2484.0
},
"id": "CVE-2024-50069-f92f3444",
"signature_type": "Function"
}
]