PT-2023-9468 · Linux+9 · Linux Kernel+9

Ricardo Cañuelo

·

Published

2023-10-02

·

Updated

2025-11-19

·

CVE-2023-52477

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 versions prior to 5.15.108-18910-gab0e1cb584e1
Description The issue is related to the Linux kernel's USB hub component, where many functions in drivers/usb/core/hub.c and drivers/usb/core/hub.h access fields inside udev->bos without checking if it was allocated and initialized. If usb get bos descriptor() fails, udev->bos will be NULL, resulting in a crash due to a kernel NULL pointer dereference. The vulnerability can cause the system to crash, leading to a denial-of-service (DoS) condition. To mitigate this, the Linux kernel has been updated to guard against accesses to uninitialized BOS descriptors and fall back to a default behavior if the BOS descriptor isn't accessible, skipping functionalities that depend on it, such as LPM support checks, Super Speed capability checks, and U1/U2 states setup.
Recommendations To resolve the issue, update the Linux kernel to a version that includes the fix for this vulnerability. Specifically, update to a version later than 5.15.108-18910-gab0e1cb584e1. As a temporary workaround, consider disabling the hub port reset() function until a patch is available. Additionally, restrict access to the vulnerable module drivers/usb/core/hub.c to minimize the risk of exploitation. Avoid using the usb get bos descriptor() function in the affected API endpoint until the issue is resolved.

Exploit

Fix

Use of Uninitialized Resource

NULL Pointer Dereference

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

Weakness Enumeration

Related Identifiers

ALSA-2024:3618
ALSA-2024:3627
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2023-6736
BDU:2024-07821
CESA-2024_3618
CESA-2024_3627
CVE-2023-52477
INFSA-2024_3618
INFSA-2024_3627
INFSA-2024_9315
OESA-2024-1567
OESA-2024-1568
OESA-2024-1569
OESA-2024-1620
OESA-2024-1621
OESA-2024-1622
OPENSUSE-SU-2024_1321-1
OPENSUSE-SU-2024_1322-1
OPENSUSE-SU-2024_1322-2
OPENSUSE-SU-2024_1332-1
OPENSUSE-SU-2024_1332-2
OPENSUSE-SU-2024_1466-1
OPENSUSE-SU-2024_1480-1
OPENSUSE-SU-2024_1489-1
OPENSUSE-SU-2024_1490-1
RHSA-2024:3618
RHSA-2024:3627
RHSA-2024:9315
RHSA-2024_3618
RHSA-2024_3627
RHSA-2024_9315
RHSA-2025:10701
RLSA-2024:3618
RLSA-2024:3627
SUSE-SU-2024:1320-1
SUSE-SU-2024:1321-1
SUSE-SU-2024:1454-1
SUSE-SU-2024:1465-1
SUSE-SU-2024:1466-1
SUSE-SU-2024:1480-1
SUSE-SU-2024:1489-1
SUSE-SU-2024:1490-1
SUSE-SU-2024:1643-1
SUSE-SU-2024:1646-1
SUSE-SU-2024:1870-1
USN-7727-1
USN-7727-2
USN-7727-3
USN-7755-1
USN-7755-2
USN-7755-3
USN-7875-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu