{"id":"CVE-2020-13143","details":"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.","modified":"2026-03-15T22:33:11.843444Z","published":"2020-05-18T18:15:11.347Z","related":["MGASA-2020-0227","MGASA-2020-0228","SUSE-SU-2020:1587-1","SUSE-SU-2020:1599-1","SUSE-SU-2020:1602-1","SUSE-SU-2020:1603-1","SUSE-SU-2020:1604-1","SUSE-SU-2020:1605-1","SUSE-SU-2020:1663-1","SUSE-SU-2020:2027-1","SUSE-SU-2020:2105-1","SUSE-SU-2020:2156-1","SUSE-SU-2020:2478-1","SUSE-SU-2020:2487-1","openSUSE-SU-2020:0801-1","openSUSE-SU-2020:0935-1","openSUSE-SU-2021:0242-1"],"references":[{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00011.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00013.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4412-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4699"},{"type":"ADVISORY","url":"https://www.spinics.net/lists/linux-usb/msg194331.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4411-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4414-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4698"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00012.html"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20200608-0001/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4419-1/"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00008.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4413-1/"},{"type":"FIX","url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=15753588bcd4bbffae1cca33c8ced5722477fe1f"},{"type":"FIX","url":"https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=d126cf46f829d146dde3e6a8963e095ac6cfcd1c"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git","events":[{"introduced":"0"},{"fixed":"15753588bcd4bbffae1cca33c8ced5722477fe1f"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git","events":[{"introduced":"0"},{"fixed":"15753588bcd4bbffae1cca33c8ced5722477fe1f"}]}],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"3.16"},{"last_affected":"5.6.13"}]},{"events":[{"introduced":"0"},{"last_affected":"15.1"}]},{"events":[{"introduced":"0"},{"last_affected":"15.2"}]},{"events":[{"introduced":"0"},{"last_affected":"8.0"}]},{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"10.0"}]},{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.04"}]},{"events":[{"introduced":"0"},{"last_affected":"19.10"}]},{"events":[{"introduced":"0"},{"last_affected":"20.04"}]},{"events":[{"introduced":"3.16"},{"last_affected":"5.6.13"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13143.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}