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.
References
Configurations
Information
Published : 2020-05-18 11:15
Updated : 2021-01-04 15:15
NVD link : CVE-2020-13143
Mitre link : CVE-2020-13143
JSON object : View
CWE
CWE-125
Out-of-bounds Read
Products Affected
linux
- linux_kernel