Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • e3ee0e740c3887d2293e8d54a8707218d70d86ca to < 8e8d910e9a3a7fba86140aff4924c30955ab228baffected
  • e3ee0e740c3887d2293e8d54a8707218d70d86ca to < 436906fd248e018403bcda61a9311d9af02912f1affected
  • e3ee0e740c3887d2293e8d54a8707218d70d86ca to < 1a133a0996d6b4c83509d570ed4edcba34c44f25affected
  • e3ee0e740c3887d2293e8d54a8707218d70d86ca to < 880287910b1892ed2cb38977893b947382a09d21affected

Linux Linux

Default version status: affected

  • 5.9affected
  • 0 to < 5.9unaffected
  • 5.10.52 to ≤ 5.10.*unaffected
  • 5.12.19 to ≤ 5.12.*unaffected
  • 5.13.4 to ≤ 5.13.*unaffected
  • 5.14 to ≤ *unaffected

References