CVE-2024-50069
JSON

5.5medium

pinctrl: apple: check devm_kasprintf() returned value

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 before 0a4d4dbef622ac8796a6665e0080da2685f9220a, from a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 before fad940e2dd789155f99ecafa71a7baf6f96530bc, from a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 before 4d2296fb7c80fdc9925d29a8e85d617cad08731a, from a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 before 665a58fe663ac7a9ea618dc0b29881649324b116, 5.16
Not affected: before 5.16, from 6.1.114 up to 6.1.*, from 6.6.58 up to 6.6.*, from 6.11.5 up to 6.11.*, from 6.12 up to *
CVE List
linux linux_kernelfrom 5.16 before 6.1.114, from 6.2 before 6.6.58, from 6.7 before 6.11.5, 6.12NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: pinctrl: apple: comprobar el valor devuelto por devm_kasprintf() devm_kasprintf() puede devolver un puntero NULL en caso de error, pero este valor devuelto no se comprueba. Corrija esta falla y compruebe el valor devuelto. Encontrado por revisión de código.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-50069 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-50069 changed 2026-06-17Public domain