CVE-2021-47233

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

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
Apr 10, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5bbbfc7f7f0a44b7a85ab3872dd2ccce7019f7b1 to before ba8a26a7ce8617f9f3d6230de34b2302df086b41Affected
  • 5bbbfc7f7f0a44b7a85ab3872dd2ccce7019f7b1 to before dc68f0c9e4a001e02376fe87f4bdcacadb27e8a1Affected
  • 5bbbfc7f7f0a44b7a85ab3872dd2ccce7019f7b1 to before cb2381cbecb81a8893b2d1e1af29bc2e5531df27Affected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.10.46 through 5.10.*Not affected
  • 5.12.13 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.