Vulnerability Details : CVE-2021-47331
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.
Vulnerability category: Memory Corruption
Products affected by CVE-2021-47331
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-47331
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 5 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-47331
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST | 2024-12-24 |
CWE ids for CVE-2021-47331
-
The product dereferences a pointer that it expects to be valid but is NULL.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-47331
-
https://git.kernel.org/stable/c/436906fd248e018403bcda61a9311d9af02912f1
usb: common: usb-conn-gpio: fix NULL pointer dereference of charger - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/8e8d910e9a3a7fba86140aff4924c30955ab228b
usb: common: usb-conn-gpio: fix NULL pointer dereference of charger - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/1a133a0996d6b4c83509d570ed4edcba34c44f25
usb: common: usb-conn-gpio: fix NULL pointer dereference of charger - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/880287910b1892ed2cb38977893b947382a09d21
usb: common: usb-conn-gpio: fix NULL pointer dereference of charger - kernel/git/stable/linux.git - Linux kernel stable treePatch
Jump to