Privilege escalation in Linux kernel USB driver

Published: 2020-04-29 | Updated: 2020-07-15
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-12464
Exploitation vector Local
Public exploit N/A
Vulnerable software
Linux kernel
Operating systems & Components / Operating system

Vendor Linux Foundation

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Use-after-free

EUVDB-ID: #VU29958

Risk: Low


CVE-ID: CVE-2020-12464

CWE-ID: CWE-416 - Use After Free

Exploit availability: No


The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error within the usb_sg_cancel() function in drivers/usb/core/message.c in the Linux kernel. A local user can trigger a use-after-free error during file transfer to USB driver and execute arbitrary code on the system with elevated privileges.


Install updates from vendor's website.

Vulnerable software versions

Linux kernel: 5.6.1 - 5.6.7

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?