What’s Vulnerable › Vulnerabilities
CVE-2021-47233: regulator: rt4801: Fix NULL pointer dereference if priv->enable_gpios is NULL
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-21 · updated 2026-06-17
- Weakness: 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 products
- Linux kernel: before 5.10.46; from 5.11 before 5.12.13; 5.13-rc1, 5.13-rc2, 5.13-rc3, 5.13-rc4, 5.13-rc5 — fixed in 5.10.46, 5.12.13
How to fix
Upgrade to a fixed version: Linux kernel 5.10.46, 5.12.13. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/ba8a26a7ce8617f9f3d6230de34b2302df086b41
- https://git.kernel.org/stable/c/cb2381cbecb81a8893b2d1e1af29bc2e5531df27
- https://git.kernel.org/stable/c/dc68f0c9e4a001e02376fe87f4bdcacadb27e8a1
- https://git.kernel.org/stable/c/ba8a26a7ce8617f9f3d6230de34b2302df086b41
- https://git.kernel.org/stable/c/cb2381cbecb81a8893b2d1e1af29bc2e5531df27
- https://git.kernel.org/stable/c/dc68f0c9e4a001e02376fe87f4bdcacadb27e8a1
Get alerted when CVE-2021-47233 or the next vulnerability affects your stack