CVEvulnerability
CVE-2021-47233
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-21
- 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:
regulator: rt4801: Fix NULL pointer dereference if priv->enable_gpios is NULL
devm_gpiod_get_array_optional may return NULL if no GPIO was assigned.
Affected configurations
• linux linux kernel (< 5.10.46)
• linux linux kernel (>= 5.11 < 5.12.13)
• linux linux kernel 5.13
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/ba8a26a7ce8617f9f3d6230de34b2302df086b41 Patch
- https://git.kernel.org/stable/c/cb2381cbecb81a8893b2d1e1af29bc2e5531df27 Patch
- https://git.kernel.org/stable/c/dc68f0c9e4a001e02376fe87f4bdcacadb27e8a1 Patch
- https://git.kernel.org/stable/c/ba8a26a7ce8617f9f3d6230de34b2302df086b41 Patch
- https://git.kernel.org/stable/c/cb2381cbecb81a8893b2d1e1af29bc2e5531df27 Patch
- https://git.kernel.org/stable/c/dc68f0c9e4a001e02376fe87f4bdcacadb27e8a1 Patch