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
CWE-ID CWE-416
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
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

CVSSv3.1:

CVE-ID: CVE-2020-12464

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Linux kernel: 5.6.1 - 5.6.7


CPE2.3 External links

http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.html
http://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.6.8
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=056ad39ee9253873522f6469c3364964a322912b
http://github.com/torvalds/linux/commit/056ad39ee9253873522f6469c3364964a322912b
http://lists.debian.org/debian-lts-announce/2020/06/msg00011.html
http://lists.debian.org/debian-lts-announce/2020/06/msg00012.html
http://lists.debian.org/debian-lts-announce/2020/06/msg00013.html
http://lkml.org/lkml/2020/3/23/52
http://patchwork.kernel.org/patch/11463781/
http://security.netapp.com/advisory/ntap-20200608-0001/
http://usn.ubuntu.com/4387-1/
http://usn.ubuntu.com/4388-1/
http://usn.ubuntu.com/4389-1/
http://usn.ubuntu.com/4390-1/
http://usn.ubuntu.com/4391-1/
http://www.debian.org/security/2020/dsa-4698
http://www.debian.org/security/2020/dsa-4699

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###