Linux USB Core Flaw Allows Local Denial of Service Through Uninterruptible Waits
Vulnerability Disclosure · 3 sources · Updated 3mo ago · First seen Sep 24, 2024

CVE-2021-47582 affects the Linux kernel USB core's USBDEVFS_CONTROL and USBDEVFS_BULK ioctl paths in drivers/usb/core/devio.c. A local low-privileged user can issue requests with an excessively large timeout to an unresponsive USB device, leaving kernel tasks in uninterruptible waits long enough to trigger hung-task warnings and cause a denial-of-service condition. Red Hat rates the flaw as Low severity with a CVSS v3.1 score of 3.3.
The upstream fix replaces the affected usb_control_msg() and usb_bulk_msg() usage with purpose-built logic using killable waits and GFP_KERNEL allocation, making do_proc_control() and do_proc_bulk() interruptible. The issue was fixed upstream in Linux 5.15.11 and 5.16; Red Hat shipped corrected RHEL 8 kernel and kernel-rt packages through RHSA-2024:7000 and RHSA-2024:7001, while fixes for RHEL 9 were deferred.
Why it matters
Impact assessment
CVE-2021-47582 enables a local, low-privileged user to cause an availability issue on Linux systems with vulnerable USB core handling and access to an unresponsive USB device. Impact is limited to denial of service: blocked kernel tasks and hung-task warnings can disrupt workloads, but published scoring identifies no confidentiality or integrity impact.
- Affected products: Linux kernels containing the vulnerable
drivers/usb/core/devio.cUSB-core paths, including affected RHEL kernel deployments. - Affected interfaces: usbfs
USBDEVFS_CONTROLandUSBDEVFS_BULKioctl operations. - Preconditions: local code execution as a low-privileged user, access to the relevant USB interface/device, an unresponsive USB device, and a request with an excessively large timeout.
- Severity: Red Hat rates the issue Low, CVSS 3.1 3.3 (
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L). NVD assigns 5.5 and rates availability impact High. - Scope: targeted local exposure rather than remotely exploitable widespread compromise. Systems allowing untrusted users to interact with USB devices, including shared workstations, lab systems, kiosks, and some physical-host environments, have greater practical exposure.
- Exploitation: the references describe syzbot reproduction of blocked tasks but provide no evidence of exploitation in the wild.
Supporting facts
- CVE:
CVE-2021-47582 - Weakness:
CWE-667— Improper Locking. - Red Hat status:
- RHEL 8 kernel: fixed by
RHSA-2024:7000on 2024-09-24. - RHEL 8 kernel-rt: fixed by
RHSA-2024:7001on 2024-09-24. - RHEL 9 kernel and kernel-rt: fix deferred.
- RHEL 6, RHEL 7, and RHEL 7 kernel-rt: out of support scope.
- RHEL 8 kernel: fixed by


