CVE-2020-13143 json
gadget_dev_desc_UDC_store in drivers/usb/gadget/configfs.c in the Linux kernel 3.16 through 5.6.13 relies on kstrdup without considering th…
published 2020-05-18 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-5419
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.2%
- EPSS 5.2% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
gadget_dev_desc_UDC_store in drivers/usb/gadget/configfs.c in the Linux kernel 3.16 through 5.6.13 relies on kstrdup without considering the possibility of an internal '\0' value, which allows attackers to trigger an out-of-bounds read, aka CID-15753588bcd4.
Patch / fix
- linux Debian 14, Debian 13, Debian 12 5.6.14-1
debian advisories DEBIAN-CVE-2020-13143
- linux Ubuntu 16.04 LTS 4.4.0-185.215
- linux Ubuntu 18.04 LTS 4.15.0-109.110
- linux Ubuntu 20.04 LTS 5.4.0-40.44
- linux-aws Ubuntu 16.04 LTS 4.4.0-1110.121
- linux-aws Ubuntu 18.04 LTS 4.15.0-1077.81
- linux-aws Ubuntu 20.04 LTS 5.4.0-1018.18
- linux-gcp Ubuntu 16.04 LTS 4.15.0-1078.88~16.04.1
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1019.19
ubuntu advisories UBUNTU-CVE-2020-13143
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-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:2105-1SUSE-SU-2020:2027-1SUSE-SU-2020:1663-1
- kernel-rt openSUSE Leap 15.2 5.3.18-lp152.3.5.1
- kernel-syms-rt openSUSE Leap 15.2 5.3.18-lp152.3.5.1
- kernel-rt_debug openSUSE Leap 15.2 5.3.18-lp152.3.5.1
- kernel-source-rt openSUSE Leap 15.2 5.3.18-lp152.3.5.1
- kernel-syms openSUSE Leap 15.2 5.3.18-lp152.26.2
- kernel-obs-qa openSUSE Leap 15.2 5.3.18-lp152.26.2
- kernel-source openSUSE Leap 15.2 5.3.18-lp152.26.2
- kernel-default openSUSE Leap 15.2 5.3.18-lp152.26.2
opensuse advisories openSUSE-SU-2021:0242-1openSUSE-SU-2020:0935-1openSUSE-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-13143 updated cvss 4.0
kernel: usb: gadget: illegal array access in binding with UDC
-
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, kernel-alt, python-perf, +9 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwarenot affected: vulnerable code not present
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
5.19% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
- Technology feeds
References
-
git.kernel.org
/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=15753588bcd4bbffae1cca33c8ced5722477fe1f
patch, vendor-advisory
-
git.kernel.org
/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=d126cf46f829d146dde3e6a8963e095ac6cfcd1c
mailing-list, patch, vendor-advisory
-
debian.org
/security/2020/dsa-4698
vendor-advisory, third-party-advisory
-
debian.org
/security/2020/dsa-4699
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-06/msg00022.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-07/msg00008.html
vendor-advisory, mailing-list, third-party-advisory
-
usn.ubuntu.com
/4413-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4411-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4412-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4419-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4414-1/
vendor-advisory, third-party-advisory
-
spinics.net
/lists/linux-usb/msg194331.html
third-party-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-13143
- NVD CVE-2020-13143
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.