CVE-2021-47331

medium

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.

References

https://git.kernel.org/stable/c/8e8d910e9a3a7fba86140aff4924c30955ab228b

https://git.kernel.org/stable/c/880287910b1892ed2cb38977893b947382a09d21

https://git.kernel.org/stable/c/436906fd248e018403bcda61a9311d9af02912f1

https://git.kernel.org/stable/c/1a133a0996d6b4c83509d570ed4edcba34c44f25

Details

Source: Mitre, NVD

Published: 2024-05-21

Updated: 2024-12-24

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium