PT-2020-1247 · Linux+7 · Linux Kernel+7
Kyungtae Kim
·
Published
2020-03-23
·
Updated
2023-10-12
·
CVE-2020-12464
CVSS v2.0
7.2
High
| Vector | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 5.6.8
Description
The issue is related to the
usb sg cancel function in the Linux kernel, specifically in the drivers/usb/core/message.c file. It involves a use-after-free condition due to a transfer occurring without a reference. This could allow an attacker to execute arbitrary code. The problem is caused by improper locking, which can lead to a local escalation of privilege without requiring additional execution privileges or user interaction.Recommendations
For Linux kernel versions prior to 5.6.8, update to version 5.6.8 or later to resolve the issue.
As a temporary workaround, consider restricting access to the
usb sg cancel function in the message.c file until a patch is available.Exploit
Fix
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Centos
Linuxmint
Linux Kernel
Red Hat
Suse
Ubuntu