What’s Vulnerable › Vulnerabilities

CVE-2021-47331: usb: common: usb-conn-gpio: fix NULL pointer dereference of charger

Description

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

How to fix

Upgrade to a fixed version: Linux kernel 5.10.52, 5.12.19, 5.13.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47331 or the next vulnerability affects your stack