CVE-2021-47331

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

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
May 21, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e3ee0e740c3887d2293e8d54a8707218d70d86ca to before 8e8d910e9a3a7fba86140aff4924c30955ab228bAffected
  • e3ee0e740c3887d2293e8d54a8707218d70d86ca to before 436906fd248e018403bcda61a9311d9af02912f1Affected
  • e3ee0e740c3887d2293e8d54a8707218d70d86ca to before 1a133a0996d6b4c83509d570ed4edcba34c44f25Affected
  • e3ee0e740c3887d2293e8d54a8707218d70d86ca to before 880287910b1892ed2cb38977893b947382a09d21Affected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 5.10.52 through 5.10.*Not affected
  • 5.12.19 through 5.12.*Not affected
  • 5.13.4 through 5.13.*Not affected
  • 5.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.