Out-of-Bounds Read Vulnerability in gadget_dev_desc_UDC_store in Linux Kernel 3.16 through 5.6.13

Out-of-Bounds Read Vulnerability in gadget_dev_desc_UDC_store in Linux Kernel 3.16 through 5.6.13

CVE-2020-13143 · MEDIUM Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

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.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.