PT-2024-31358 · Linux+6 · Linux Kernel+6

Karel Balej

·

Published

2024-08-15

·

Updated

2025-09-29

·

CVE-2024-45006

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 6.6.50
Description A NULL pointer dereference vulnerability has been resolved in the Linux kernel. The issue occurs when re-enumerating full-speed devices after a failed address device command, which can trigger a NULL pointer dereference. This happens because the xhci configure endpoint() function checks and reserves bandwidth in software on Panther point xHC, but the bandwidth table pointers are not set up properly after a failed address device command. The usb ep0 reinit() function calls xhci configure endpoint(), leading to the NULL pointer dereference. To fix this, the bandwidth table pointers need to be set up correctly after a failed address device command, and checking for bandwidth should be avoided in cases where no actual endpoints are added or removed.
Recommendations Update to Linux kernel version 6.6.50 or later to resolve the vulnerability. As a temporary workaround, consider disabling the xhci configure endpoint() function until a patch is available. Restrict access to the usb ep0 reinit() function to minimize the risk of exploitation. Avoid using the xhci reserve bandwidth() function in the affected API endpoint until the issue is resolved.

Exploit

Fix

NULL Pointer Dereference

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

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2024-11855
ALT-PU-2024-11863
ALT-PU-2024-12053
ALT-PU-2024-12535
ALT-PU-2024-12537
ALT-PU-2024-12541
ALT-PU-2024-12543
ALT-PU-2024-12790
ALT-PU-2024-13121
ALT-PU-2024-13260
ALT-PU-2024-13979
ALT-PU-2024-14046
AZL-48696
AZL-48807
BDU:2025-01945
CVE-2024-45006
DLA-3912-1
DLA-4008-1
DSA-5782-1
MGASA-2024-0309
MGASA-2024-0310
OESA-2024-2152
OESA-2024-2255
OESA-2024-2257
OESA-2024-2258
OESA-2025-1078
OPENSUSE-SU-2024_3551-1
OPENSUSE-SU-2024_3561-1
OPENSUSE-SU-2024_3564-1
OPENSUSE-SU-2024_3587-1
OPENSUSE-SU-2024_3592-1
SUSE-SU-2024:3551-1
SUSE-SU-2024:3553-1
SUSE-SU-2024:3561-1
SUSE-SU-2024:3564-1
SUSE-SU-2024:3569-1
SUSE-SU-2024:3587-1
SUSE-SU-2024:3592-1
SUSE-SU-2025:20073-1
SUSE-SU-2025:20077-1
USN-7088-1
USN-7088-2
USN-7088-3
USN-7088-4
USN-7088-5
USN-7100-1
USN-7100-2
USN-7119-1
USN-7123-1
USN-7144-1
USN-7154-1
USN-7154-2
USN-7155-1
USN-7156-1
USN-7185-1
USN-7185-2
USN-7194-1
USN-7196-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu