PT-2020-5253 · Linux+4 · Linux Kernel+4
Kyungtae Kim
·
Published
2020-05-15
·
Updated
2025-03-21
·
CVE-2020-13143
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions 3.16 through 5.6.13
Description
The issue is related to the
gadget dev desc UDC store function in the drivers/usb/gadget/configfs.c file of the Linux kernel. It relies on kstrdup without considering the possibility of an internal 0 value, allowing attackers to trigger an out-of-bounds read. This can potentially lead to a denial of service.Recommendations
For Linux kernel versions 3.16 through 5.6.13, consider disabling the
gadget dev desc UDC store function as a temporary workaround until a patch is available. Restrict access to the configfs.c file to minimize the risk of exploitation. Avoid using the kstrdup function in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Linuxmint
Linux Kernel
Suse
Ubuntu