PT-2024-11275 · Linux+3 · Linux Kernel+3

Marian-Cristian Rotariu

·

Published

2021-06-09

·

Updated

2025-12-15

·

CVE-2021-47269

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel version 4.19.124
Description The issue is related to a NULL pointer exception in the Linux kernel's USB driver, specifically in the dwc3 module. There is no validation of the index from dwc3 wIndex to dep(), which can lead to referring to a non-existing endpoint and triggering a NULL pointer exception. This can occur in certain configurations where fewer endpoints are used, and the index might wrongly indicate a larger endpoint index than existing. The patch adds validation to report a wrong index back to the caller.
Recommendations To resolve the issue, update the Linux kernel to a version that includes the fix for the NULL pointer exception in the dwc3 module. As a temporary workaround, consider disabling the dwc3 ep0 handle feature() function until a patch is available. Restrict access to the dwc3 module to minimize the risk of exploitation. Avoid using the dwc3 wIndex to dep() function in the affected API endpoint until the issue is resolved.

Fix

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-07382
CVE-2021-47269
OESA-2024-1677
OESA-2024-1678
OPENSUSE-SU-2024_2185-1
SUSE-SU-2024:1979-1
SUSE-SU-2024:1983-1
SUSE-SU-2024:2010-1
SUSE-SU-2024:2183-1
SUSE-SU-2024:2184-1
SUSE-SU-2024:2185-1
USN-7930-1
USN-7930-2

Affected Products

Astra Linux
Linux Kernel
Suse
Ubuntu