Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 5bbbfc7f7f0a44b7a85ab3872dd2ccce7019f7b1 to < ba8a26a7ce8617f9f3d6230de34b2302df086b41affected
  • 5bbbfc7f7f0a44b7a85ab3872dd2ccce7019f7b1 to < dc68f0c9e4a001e02376fe87f4bdcacadb27e8a1affected
  • 5bbbfc7f7f0a44b7a85ab3872dd2ccce7019f7b1 to < cb2381cbecb81a8893b2d1e1af29bc2e5531df27affected

Linux Linux

Default version status: affected

  • 5.10affected
  • 0 to < 5.10unaffected
  • 5.10.46 to ≤ 5.10.*unaffected
  • 5.12.13 to ≤ 5.12.*unaffected
  • 5.13 to ≤ *unaffected

References