Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 before 0a4d4dbef622ac8796a6665e0080da2685f9220a; affected a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 before fad940e2dd789155f99ecafa71a7baf6f96530bc; affected a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 before 4d2296fb7c80fdc9925d29a8e85d617cad08731a; affected a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 before 665a58fe663ac7a9ea618dc0b29881649324b116 |
| Linux / Linux | affected 5.16; unaffected 0 before 5.16; unaffected 6.1.114 through 6.1.*; unaffected 6.6.58 through 6.6.*; unaffected 6.11.5 through 6.11.*; unaffected 6.12 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/0a4d4dbef622ac8796a6665e0080da2685f9220a
- https://git.kernel.org/stable/c/fad940e2dd789155f99ecafa71a7baf6f96530bc
- https://git.kernel.org/stable/c/4d2296fb7c80fdc9925d29a8e85d617cad08731a
- https://git.kernel.org/stable/c/665a58fe663ac7a9ea618dc0b29881649324b116
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.