CVE-2024-50069

medium

Description

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.

References

https://git.kernel.org/stable/c/fad940e2dd789155f99ecafa71a7baf6f96530bc

https://git.kernel.org/stable/c/665a58fe663ac7a9ea618dc0b29881649324b116

https://git.kernel.org/stable/c/4d2296fb7c80fdc9925d29a8e85d617cad08731a

https://git.kernel.org/stable/c/0a4d4dbef622ac8796a6665e0080da2685f9220a

Details

Source: Mitre, NVD

Published: 2024-10-29

Updated: 2024-10-30

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium