← Database

CVE-2021-47331

MEDIUM CVSS: 5.5 Published: 2024-05-21 Modified: 2026-06-17

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 Platforms

Linux Linux Kernel

Weakness Type

CWE-476

References