CVE-2021-47331
publishedusb: common: usb-conn-gpio: fix NULL pointer dereference of charger
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe3ee0e740c3887d2293e8d54a8707218d70d86ca to < 8e8d910e9a3a7fba86140aff4924c30955ab228b · e3ee0e740c3887d2293e8d54a8707218d70d86ca to < 436906fd248e018403bcda61a9311d9af02912f1 · e3ee0e740c3887d2293e8d54a8707218d70d86ca to < 1a133a0996d6b4c83509d570ed4edcba34c44f25 · e3ee0e740c3887d2293e8d54a8707218d70d86ca to < 880287910b1892ed2cb38977893b947382a09d21 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.9 (affected) · 0 to < 5.9 (unaffected · semver) · 5.10.52 through 5.10.* (unaffected · semver) · 5.12.19 through 5.12.* (unaffected · semver) · 5.13.4 through 5.13.* (unaffected · semver) · 5.14 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e3ee0e740c3887d2293e8d54a8707218d70d86ca to < 8e8d910e9a3a7fba86140aff4924c30955ab228b (affected · git)e3ee0e740c3887d2293e8d54a8707218d70d86ca to < 436906fd248e018403bcda61a9311d9af02912f1 (affected · git)e3ee0e740c3887d2293e8d54a8707218d70d86ca to < 1a133a0996d6b4c83509d570ed4edcba34c44f25 (affected · git)e3ee0e740c3887d2293e8d54a8707218d70d86ca to < 880287910b1892ed2cb38977893b947382a09d21 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.9 (affected)0 to < 5.9 (unaffected · semver)5.10.52 through 5.10.* (unaffected · semver)5.12.19 through 5.12.* (unaffected · semver)5.13.4 through 5.13.* (unaffected · semver)5.14 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
3Linux · cna
usb: common: usb-conn-gpio: fix NULL pointer dereference of charger
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 204ddefa88b301302bb704de64b6517092eb6a4cf6bb67f4a80197568f61c8af
- Ingested
- 23 Sep 2026, 07:57:11 UTC
- Source record
- Official CVE record