Back
CVE-2021-47331
usb: common: usb-conn-gpio: fix NULL pointer dereference of charger
Medium5.5EPSS 0.24%
- Published
- Updated
- Reserved
- Assigned by
- Linux
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
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.24% · top 85% of all CVEs (5 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
Affected products
- affected e3ee0e740c3887d2293e8d54a8707218d70d86ca – < 8e8d910e9a3a7fba86140aff4924c30955ab228b
- affected e3ee0e740c3887d2293e8d54a8707218d70d86ca – < 436906fd248e018403bcda61a9311d9af02912f1
- affected e3ee0e740c3887d2293e8d54a8707218d70d86ca – < 1a133a0996d6b4c83509d570ed4edcba34c44f25
- affected e3ee0e740c3887d2293e8d54a8707218d70d86ca – < 880287910b1892ed2cb38977893b947382a09d21
- affected 5.9
- unaffected < 5.9
- unaffected 5.10.52 – ≤ 5.10.*
- unaffected 5.12.19 – ≤ 5.12.*
- unaffected 5.13.4 – ≤ 5.13.*
- unaffected 5.14 – ≤ *
References (4)
- https://git.kernel.org/stable/c/8e8d910e9a3a7fba86140aff4924c30955ab228b (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/436906fd248e018403bcda61a9311d9af02912f1 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/1a133a0996d6b4c83509d570ed4edcba34c44f25 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/880287910b1892ed2cb38977893b947382a09d21 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2021-47331)Record last updated .