CVE-2021-47233Published May 21, 2024 · May 21Updated Jun 17
regulator: rt4801: Fix NULL pointer dereference if priv->enable_gpios is NULL
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.10.465.12.135.13In 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.
From the CVE record · Linux
The Linux kernel’s rt4801 regulator driver can dereference a NULL pointer when no GPIO is assigned and an optional GPIO lookup returns NULL. The input does not establish an attacker action, access requirement, or user interaction needed to trigger it.
Engineers running Linux kernels with the rt4801 regulator driver should check their deployments; affected versions are not specified.