#VU29958 Use-after-free in Linux kernel


Published: 2020-07-15

Vulnerability identifier: #VU29958

Vulnerability risk: Low

CVSSv3.1: 5.8 [CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-12464

CWE-ID: CWE-416

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
Linux kernel
Operating systems & Components / Operating system

Vendor: Linux Foundation

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


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?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability