CVE-2020-12464 json
usb_sg_cancel in drivers/usb/core/message.c in the Linux kernel before 5.6.8 has a use-after-free because a transfer occurs without a refer…
published 2020-04-29 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-4773
- cvss
- 6.7
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
usb_sg_cancel in drivers/usb/core/message.c in the Linux kernel before 5.6.8 has a use-after-free because a transfer occurs without a reference, aka CID-056ad39ee925.
Patch / fix
- linux linux_kernel 3.16.85, 4.4.221, 4.9.221, 4.14.178, 4.19.119, 5.4.36, 5.6.8
- linux Debian 14, Debian 13, Debian 12 5.6.14-1
debian advisories DEBIAN-CVE-2020-12464
- linux Ubuntu 16.04 LTS 4.4.0-184.214
- linux Ubuntu 18.04 LTS 4.15.0-106.107
- linux Ubuntu 20.04 LTS 5.4.0-37.41
- linux-aws Ubuntu 16.04 LTS 4.4.0-1109.120
- linux-aws Ubuntu 18.04 LTS 4.15.0-1073.77
- linux-aws Ubuntu 20.04 LTS 5.4.0-1015.15
- linux-gcp Ubuntu 16.04 LTS 4.15.0-1077.87~16.04.1
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1015.15
ubuntu advisories UBUNTU-CVE-2020-12464
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 8 4.18.0-305.el8
- perf RHEL 8 4.18.0-305.el8
- bpftool RHEL 8 4.18.0-305.el8
- kernel-core RHEL 8 4.18.0-305.el8
- kernel-tools RHEL 8 4.18.0-305.el8
- python3-perf RHEL 8 4.18.0-305.el8
- kernel-modules RHEL 8 4.18.0-305.el8
- kernel-zfcpdump RHEL 8 4.18.0-305.el8
red hat advisories RHSA-2021:1578RHSA-2021:1739
- kernel-rt Real Time Module 15 SP1 4.12.14-14.28.1
- kernel-syms-rt Real Time Module 15 SP1 4.12.14-14.28.1
- kernel-rt_debug Real Time Module 15 SP1 4.12.14-14.28.1
- kernel-source-rt Real Time Module 15 SP1 4.12.14-14.28.1
- kernel-rt SLE Real Time 12 SP5 4.12.14-10.13.1
- kernel-syms-rt SLE Real Time 12 SP5 4.12.14-10.13.1
- kernel-rt_debug SLE Real Time 12 SP5 4.12.14-10.13.1
- kernel-source-rt SLE Real Time 12 SP5 4.12.14-10.13.1
suse advisories SUSE-SU-2020:2487-1SUSE-SU-2020:2478-1SUSE-SU-2020:2156-1SUSE-SU-2020:1663-1SUSE-SU-2020:1605-1SUSE-SU-2020:1604-1
- kernel-syms openSUSE Leap 15.1 4.12.14-lp151.28.52.1
- kernel-obs-qa openSUSE Leap 15.1 4.12.14-lp151.28.52.3
- kernel-source openSUSE Leap 15.1 4.12.14-lp151.28.52.1
- kernel-default openSUSE Leap 15.1 4.12.14-lp151.28.52.1
- kernel-vanilla openSUSE Leap 15.1 4.12.14-lp151.28.52.1
- kernel-kvmsmall openSUSE Leap 15.1 4.12.14-lp151.28.52.1
- kernel-obs-build openSUSE Leap 15.1 4.12.14-lp151.28.52.3
opensuse advisories openSUSE-SU-2020:0801-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-12464 updated cvss 6.7
kernel: use-after-free in usb_sg_cancel function in drivers/usb/core/message.c
-
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, kernel-alt, python-perf, +9 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwareaffected: workaround, no fix planned “Will not fix”
-
Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-305.el8, kernel-debuginfo-common-aarch64 4.18.0-305.el8, kernel-debuginfo-common-ppc64le 4.18.0-305.el8 Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-305.el8, kernel 4.18.0-305.el8, bpftool 4.18.0-305.el8, kernel-core 4.18.0-305.el8, kernel-tools 4.18.0-305.el8, python3-perf 4.18.0-305.el8, +15 morefixed: vendor fix RHSA-2021:1578
-
Red Hat Enterprise Linux Real Time (v. 8) kernel-rt 4.18.0-305.rt7.72.el8, kernel-rt-core 4.18.0-305.rt7.72.el8, kernel-rt-modules 4.18.0-305.rt7.72.el8, kernel-rt-debug-core 4.18.0-305.rt7.72.el8, kernel-rt-debug-modules 4.18.0-305.rt7.72.el8, kernel-rt-modules-extra 4.18.0-305.rt7.72.el8, +2 more Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt 4.18.0-305.rt7.72.el8, kernel-rt-kvm 4.18.0-305.rt7.72.el8, kernel-rt-core 4.18.0-305.rt7.72.el8, kernel-rt-modules 4.18.0-305.rt7.72.el8, kernel-rt-debug-kvm 4.18.0-305.rt7.72.el8, kernel-rt-debug-core 4.18.0-305.rt7.72.el8, +4 morefixed: vendor fix RHSA-2021:1739
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.80% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- lkml.org https://lkml.org/lkml/2020/3/23/52 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
github.com
/torvalds/linux/commit/056ad39ee9253873522f6469c3364964a322912b
patch, third-party-advisory
-
git.kernel.org
/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=056ad39ee9253873522f6469c3364964a322912b
patch, vendor-advisory
-
patchwork.kernel.org
/patch/11463781/
patch, vendor-advisory
-
lkml.org
/lkml/2020/3/23/52
exploit, vendor-advisory
-
debian.org
/security/2020/dsa-4698
vendor-advisory, third-party-advisory, vdb-entry
-
debian.org
/security/2020/dsa-4699
vendor-advisory, third-party-advisory, vdb-entry
-
lists.opensuse.org
/opensuse-security-announce/2020-06/msg00022.html
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4388-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4389-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4387-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4390-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4391-1/
vendor-advisory, third-party-advisory, vdb-entry
-
cdn.kernel.org
/pub/linux/kernel/v5.x/ChangeLog-5.6.8
release-notes, vendor-advisory
-
security.netapp.com
/advisory/ntap-20200608-0001/
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/06/msg00011.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/06/msg00012.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/06/msg00013.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2020-12464
- NVD CVE-2020-12464
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.