NetSight
medium5.5

CVE-2021-47331

In the Linux kernel, the following vulnerability has been resolved: usb: common: usb-conn-gpio: fix NULL pointer dereference of charger When power on system wi…

Impact

In the Linux kernel, the following vulnerability has been resolved: usb: common: usb-conn-gpio: fix NULL pointer dereference of charger When power on system with OTG cable, IDDIG's interrupt arises before the charger registration, it will cause a NULL pointer dereference, fix the issue by registering the power supply before requesting IDDIG/VBUS irq.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
before 5.10.52
from 5.11 before 5.12.19
from 5.13 before 5.13.4

Weakness classification

References