# CVE-2020-13143: gadgetdevdescUDCstore in drivers/usb/gadget/configfs.c in the Linux kernel 3.16 through 5.6.13 relies on kstrdup without considering the po…

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.19%, higher than 92% of CVEs (2026-12-01)
- Published: 2020-05-18T17:50:53.000Z
- Modified: 2026-06-17T02:52:40.983Z
- Weaknesses: CWE-125
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: from 3.16 up to 5.6.13
- opensuse leap: 15.1; 15.2
- debian debian_linux: 8.0; 9.0; 10.0
- canonical ubuntu_linux: 14.04; 16.04; 18.04; 19.10; 20.04
- netapp active_iq_unified_manager: no versions given
- netapp cloud_backup: no versions given
- netapp element_software: no versions given
- netapp hci_management_node: no versions given
- netapp solidfire: no versions given
- netapp steelstore_cloud_integrated_storage: no versions given
- netapp solidfire_baseboard_management_controller_firmware: no versions given
- netapp bootstrap_os: no versions given
- netapp a700s_firmware: no versions given
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h410c_firmware: no versions given
- netapp h610c_firmware: no versions given
- netapp h610s_firmware: no versions given
- netapp h615c_firmware: no versions given

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=15753588bcd4bbffae1cca33c8ced5722477fe1f> (patch, vendor-advisory)
- <https://www.spinics.net/lists/linux-usb/msg194331.html> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20200608-0001/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/06/msg00011.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/06/msg00012.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/06/msg00013.html> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2020/dsa-4698> (third-party-advisory, vendor-advisory)
- <https://www.debian.org/security/2020/dsa-4699> (third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.html> (mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00008.html> (mailing-list, third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4413-1/> (third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4411-1/> (third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4412-1/> (third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4419-1/> (third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4414-1/> (third-party-advisory, vendor-advisory)
- <https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=d126cf46f829d146dde3e6a8963e095ac6cfcd1c> (mailing-list, patch, vendor-advisory)

## Sources

- CVE List: [CVE-2020-13143](https://www.cve.org/CVERecord?id=CVE-2020-13143), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-13143](https://nvd.nist.gov/vuln/detail/CVE-2020-13143), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-13143 · Whole record: https://cve.day/CVE-2020-13143.json · Rebuilt by cve.day 2026-11-25T22:57:52.455Z
