CVE-2024-50069

pinctrl: apple: check devm_kasprintf() returned value

State
Published
Severity
5.5 Medium
Published
Oct 29, 2024
Updated
May 11, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 to before 0a4d4dbef622ac8796a6665e0080da2685f9220aAffected
  • a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 to before fad940e2dd789155f99ecafa71a7baf6f96530bcAffected
  • a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 to before 4d2296fb7c80fdc9925d29a8e85d617cad08731aAffected
  • a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7 to before 665a58fe663ac7a9ea618dc0b29881649324b116Affected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 6.1.114 through 6.1.*Not affected
  • 6.6.58 through 6.6.*Not affected
  • 6.11.5 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.