CVE-2020-13143

NameCVE-2020-13143
Descriptiongadget_dev_desc_UDC_store in drivers/usb/gadget/configfs.c in the Linux kernel 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2241-1, DLA-2242-1, DSA-4698-1, DSA-4699-1
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)stretch4.9.210-1vulnerable
stretch (security)4.9.210-1+deb9u1fixed
buster4.19.118-2vulnerable
buster (security)4.19.118-2+deb10u1fixed
bullseye, sid5.7.6-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsource(unstable)5.6.14-1
linuxsourcebuster4.19.118-2+deb10u1DSA-4699-1
linuxsourcejessie3.16.84-1DLA-2241-1
linuxsourcestretch4.9.210-1+deb9u1DSA-4698-1
linux-4.9sourcejessie4.9.210-1+deb9u1~deb8u1DLA-2242-1

Notes

https://git.kernel.org/linus/15753588bcd4bbffae1cca33c8ced5722477fe1f

Search for package or bug name: Reporting problems