Skip to main content
Mallory
← Back to News
endpoint-software-vulnerabilitywidely-deployed-product-advisoryprivilege-escalation-method

Linux USB Core Flaw Allows Local Denial of Service Through Uninterruptible Waits

Vulnerability Disclosure · 3 sources · Updated 3mo ago · First seen Sep 24, 2024

Linux USB Core Flaw Allows Local Denial of Service Through Uninterruptible Waits

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.c USB-core paths, including affected RHEL kernel deployments.
  • Affected interfaces: usbfs USBDEVFS_CONTROL and USBDEVFS_BULK ioctl 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:7000 on 2024-09-24.
    • RHEL 8 kernel-rt: fixed by RHSA-2024:7001 on 2024-09-24.
    • RHEL 9 kernel and kernel-rt: fix deferred.
    • RHEL 6, RHEL 7, and RHEL 7 kernel-rt: out of support scope.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · Sep 24, 2024
  1. Reported Sep 24, 20242y ago

    CVE-2021-47582 assigned to Linux kernel USB core flaw

    The Linux kernel CVE team assigned CVE-2021-47582 to an improper-locking issue in the USBDEVFS_CONTROL and USBDEVFS_BULK ioctl paths. A low-privileged local user could use a large timeout with an unresponsive USB device to leave kernel tasks blocked and cause denial of service.

    2293247 - (CVE-2021-47582) CVE-2021-47582 kernel: USB: core: Make do_proc_control() and do_proc_bulk() killable
  2. Sep 24, 20242y ago

    Red Hat patches RHEL 8 kernel and kernel-rt

    Red Hat issued RHSA-2024:7000 for the Red Hat Enterprise Linux 8 kernel and RHSA-2024:7001 for the RHEL 8 kernel-rt package, addressing CVE-2021-47582. Red Hat rated the vulnerability Low severity with a CVSS v3.1 score of 3.3.

    2293247 - (CVE-2021-47582) CVE-2021-47582 kernel: USB: core: Make do_proc_control() and do_proc_bulk() killable
  3. Reported Sep 24, 20242y ago

    Upstream Linux kernels fixed USB ioctl uninterruptible waits

    Linux kernel versions 5.15.11 and 5.16 fixed the issue by replacing affected usbfs message calls with logic using killable waits and GFP_KERNEL allocation.

    CVE-2021-47582 - Red Hat Customer Portal
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.