{"id":"CVE-2020-13143","published":"2020-05-18T17:50:53Z","modified":"2024-08-04T12:11:19Z","title":"gadget_dev_desc_UDC_store in drivers/usb/gadget/configfs.c in the Linux kernel 3.16 through 5.6.13 relies on kstrdup…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05193,"percentile":0.92664,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=15753588bcd4bbffae1cca33c8ced5722477fe1f","tags":["x_refsource_MISC"]},{"url":"https://www.spinics.net/lists/linux-usb/msg194331.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20200608-0001/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00011.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00012.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00013.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.debian.org/security/2020/dsa-4698","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://www.debian.org/security/2020/dsa-4699","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00008.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://usn.ubuntu.com/4413-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/4411-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/4412-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/4419-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/4414-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=d126cf46f829d146dde3e6a8963e095ac6cfcd1c","tags":["x_refsource_MISC"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":18.53}]},"summary":{"text":"The gadget_dev_desc_UDC_store function in drivers/usb/gadget/configfs.c of the Linux kernel, in versions 3.16 through 5.6.13, uses kstrdup without accounting for an embedded '\\0' byte in its input. The flaw lies in the USB gadget configfs component of the kernel. An attacker can trigger an out-of-bounds read by supplying input containing an internal null byte, which the vulnerable code does not handle. The source does not specify the access level, authentication, user interaction or configuration needed to reach the vulnerable path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:09:47Z"},"euvd":{"id":"EUVD-2020-5419","exploited":false,"provenance":"source"}}