CVEvulnerability
CVE-2024-50070
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-10-29
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved:
pinctrl: stm32: 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 configurations
• linux linux kernel (>= 6.6 < 6.6.58)
• linux linux kernel (>= 6.7 < 6.11.5)
• linux linux kernel 6.12
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/1f266957ae1207b0717c2d69096bc70654ae9fcb Patch
- https://git.kernel.org/stable/c/3b36bb1fca2b87f6292ca2a8593f297c5e9fab41 Patch
- https://git.kernel.org/stable/c/a8d52de0a6c6b091b2771bcb98ce408cf9d69fe3 git.kernel.org
- https://git.kernel.org/stable/c/b0f0e3f0552a566def55c844b0d44250c58e4df6 Patch