NULL pointer dereference in Linux

CVE-2021-47233

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 12.9th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 5bbbfc7f7f0a44b7a85ab3872dd2ccce7019f7b1, 5.10, 0
  • Linux Kernel — versions 5.13

Weakness classification (CWE)

References