CVE-2021-47233
JSON

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 packageVersionsReported by
Linux Linuxfrom 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_kernelbefore 5.10.46, from 5.11 before 5.12.13, 5.13NVD

Classification

CWE-476

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

SourceRecordLicence
CVE ListCVE-2021-47233 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-47233 changed 2026-06-17Public domain