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

VectorAV: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

ALT-PU-2020-2031
ALT-PU-2020-2091
ALT-PU-2020-2153
ALT-PU-2020-2155
ALT-PU-2020-2158
ALT-PU-2020-2164
ALT-PU-2021-1621
ALT-PU-2021-1656
ALT-PU-2021-1739
ALT-PU-2021-1862
ALT-PU-2021-1866
ALT-PU-2021-1870
BDU:2020-05886
CVE-2020-13143
DLA-2241-1
DLA-2241-2
DLA-2242-1
DSA-4698-1
DSA-4699-1
MGASA-2020-0227
MGASA-2020-0228
OPENSUSE-SU-2020:0801-1
OPENSUSE-SU-2020:0935-1
OPENSUSE-SU-2020_0801-1
OPENSUSE-SU-2020_0935-1
OPENSUSE-SU-2021:0242-1
OPENSUSE-SU-2021_0242-1
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
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
USN-4411-1
USN-4412-1
USN-4413-1
USN-4414-1
USN-4419-1

Affected Products

Alt Linux
Linuxmint
Linux Kernel
Suse
Ubuntu