What’s Vulnerable › Vulnerabilities

CVE-2021-47233: regulator: rt4801: Fix NULL pointer dereference if priv->enable_gpios is NULL

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

How to fix

Upgrade to a fixed version: Linux kernel 5.10.46, 5.12.13. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47233 or the next vulnerability affects your stack