5.5medium
regulator: rt4801: Fix NULL pointer dereference if priv->enable_gpios is NULL
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.30% (higher than 16% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 5bbbfc7f7f0a44b7a85ab3872dd2ccce7019f7b1 before ba8a26a7ce8617f9f3d6230de34b2302df086b41, from 5bbbfc7f7f0a44b7a85ab3872dd2ccce7019f7b1 before dc68f0c9e4a001e02376fe87f4bdcacadb27e8a1, from 5bbbfc7f7f0a44b7a85ab3872dd2ccce7019f7b1 before cb2381cbecb81a8893b2d1e1af29bc2e5531df27, 5.10 Not affected: before 5.10, from 5.10.46 up to 5.10.*, from 5.12.13 up to 5.12.*, from 5.13 up to * | CVE List |
| linux linux_kernel | before 5.10.46, from 5.11 before 5.12.13, 5.13 | NVD |
Classification
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: 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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: regulador: rt4801: corrige la desreferencia del puntero NULL si priv->enable_gpios es NULL, devm_gpiod_get_array_optional puede devolver NULL si no se asignó ningún GPIO.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47233 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47233 changed 2026-06-17 | Public domain |