NULL pointer dereference in Linux kernel - CVE-2021-47331

 

NULL pointer dereference in Linux kernel - CVE-2021-47331

Published: May 31, 2024 / Updated: May 14, 2025


Vulnerability identifier: #VU90493
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-47331
CWE-ID: CWE-476
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to NULL pointer dereference within the usb_charger_get_property() and usb_conn_probe() functions in drivers/usb/common/usb-conn-gpio.c. A local user can perform a denial of service (DoS) attack.


Affected software

Linux kernel

How to mitigate CVE-2021-47331

Install update from vendor's website.

Linux kernel - addressed in versions 5.10.52, 5.12.19, 5.13.4, 5.14

External References

Related Security Bulletins