CVE-2021-38204: Use After Free
drivers/usb/host/max3421-hcd.c in the Linux kernel before 5.13.6 allows physically proximate attackers to cause a denial of service (use-after-free and panic) by removing a MAX-3421 USB device in certain situations.
Other sources
In max3421setaddress and related functions of max3421-hcd.c, there is a possible way to corrupt memory due to a use after free. This could lead to local escalation of privilege with physical/USB access to the device, with no additional execution privileges needed. User interaction is not needed for exploitation.
— OSV
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1 - Upgrade
Upgrade
android/:linux_kernel:to a version that resolves this vulnerability.Fixed in :2021-12-05 - Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Fixed in 5.13.6
Event History
Frequently Asked Questions
What is the severity of CVE-2021-38204?
CVE-2021-38204 has a severity rating that indicates it can lead to a denial of service due to a use-after-free vulnerability.
How do I fix CVE-2021-38204?
To fix CVE-2021-38204, update the Linux kernel to version 5.13.6 or later.
Which Linux kernel versions are affected by CVE-2021-38204?
CVE-2021-38204 affects the Linux kernel versions prior to 5.13.6.
Can CVE-2021-38204 be exploited remotely?
CVE-2021-38204 requires physical proximity to exploit, indicating it cannot be exploited remotely.
What type of impact does CVE-2021-38204 have on systems?
CVE-2021-38204 can cause a denial of service by creating a panic when a MAX-3421 USB device is removed.