CVE-2020-12464
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2020-12464 was discovered in the Linux kernel before version 5.6.8, specifically in the usb_sg_cancel function in drivers/usb/core/message.c. The vulnerability involves a use-after-free condition that occurs because a transfer takes place without a proper reference (NVD, Ubuntu).

Technical details

The vulnerability occurs when cancellation of the S-G (scatter-gather) transfer races with transfer completion. In this scenario, usb_sg_cancel() may continue to access the transfer's URBs after usb_sg_wait() has freed them. This happens because usb_sg_cancel() does not take any sort of reference to the transfer, allowing URBs to be deallocated while the routine is trying to use them (Kernel Commit).

Impact

A physically proximate attacker could potentially exploit this vulnerability to cause a denial of service (system crash or memory corruption) or possibly execute arbitrary code (Ubuntu, Debian).

Exploitability

The vulnerability was discovered by FuzzUSB (a variant of syzkaller) and demonstrated through a proof-of-concept that triggered a KASAN use-after-free detection in the kernel. While the exact exploitation method is not fully clear, it requires physical access to the target system (LKML).

Mitigation and workarounds

The vulnerability was fixed in Linux kernel version 5.6.8 by modifying usb_sg_cancel() to take a reference by incrementing the transfer's io->count field while cancellation is in progress and decrementing it afterward. The transfer's URBs are not deallocated until io->complete is triggered, which happens when io->count reaches zero (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-fips
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra-5.15
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-fips
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-4.15
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoYesSep 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management