Linux · Linux Kernel · CVE-2020-12464
**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.