PT-2024-29142 · Linux+10 · Linux Kernel+10

Hector Martin

+1

·

Published

2024-06-11

·

Updated

2026-03-14

·

CVE-2024-40927

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to the xHCI driver in the Linux kernel, specifically with handling TD clearing for multiple streams. When multiple streams are in use and an endpoint is stopped, multiple TDs might be in flight, requiring a Set TR Dequeue Pointer for each to reset properly and clear caches. The problem dates back to early commits in the XHCI driver's life, particularly with the introduction of stream support. It was identified but not fixed, leading to potential xHC crashes and IOMMU faults with UAS devices when handling errors or faults. The easiest way to reproduce the issue is by using hdparm to mark a bad sector on a disk and then running cat /dev/sdX > /dev/null in a loop. On systems without an IOMMU, this bug would silently corrupt freed memory.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

DoS

Improper Initialization

Use After Free

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

Weakness Enumeration

Related Identifiers

ALSA-2024:5101
ALSA-2024:5102
ALSA-2024:6567
ALSA-2025_16880
BDU:2025-03404
CESA-2024_5101
CESA-2024_5102
CVE-2024-40927
DLA-4008-1
DSA-5731-1
INFSA-2024_5101
INFSA-2024_5102
INFSA-2024_6567
OESA-2024-2534
OESA-2024-2537
OESA-2024-2571
OPENSUSE-SU-2024_2947-1
RHSA-2024:5101
RHSA-2024:5102
RHSA-2024:6567
RHSA-2024_5101
RHSA-2024_5102
RHSA-2024_6567
RLSA-2024:5101
RLSA-2024:5102
RLSA-2024:6567
RXSA-2024:5101
RXSA-2024:6567
SUSE-SU-2024:2894-1
SUSE-SU-2024:2939-1
SUSE-SU-2024:2947-1
SUSE-SU-2024:3194-1
SUSE-SU-2024:3195-1
SUSE-SU-2024:3383-1
SUSE-SU-2025:20044-1
SUSE-SU-2025:20047-1
USN-6999-1
USN-6999-2
USN-7004-1
USN-7005-1
USN-7005-2
USN-7007-1
USN-7007-2
USN-7007-3
USN-7008-1
USN-7009-1
USN-7009-2
USN-7019-1
USN-7029-1

Affected Products

Almalinux
Astra Linux
Centos
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu