Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98773 Overview
CVE-2026-98773 is a use-after-free vulnerability in the Linux kernel's USB CDC ACM (Communications Device Class Abstract Control Model) driver. The flaw resides in acm_port_shutdown(), which can race with acm_disconnect() when a USB serial device is removed while a TTY port is being closed. When the ALWAYS_POLL_CTRL quirk is set, the shutdown path unconditionally calls acm_unpoison_urbs() and resubmits the control and read URBs. If the concurrent disconnect path has already freed those URBs and their DMA buffers, the resubmitted URBs reference freed memory in acm_ctrl_irq() or acm_read_bulk_callback().
Critical Impact
A race between USB device disconnect and TTY port shutdown can trigger a use-after-free on freed DMA buffers, leading to kernel memory corruption or crash.
Affected Products
- Linux kernel versions containing the CDC ACM driver with the ALWAYS_POLL_CTRL quirk logic
- Systems using USB CDC ACM serial devices (modems, serial adapters, embedded device consoles)
- Distributions shipping affected stable kernel branches prior to the fix commits
Discovery Timeline
- 2026-10-18 - CVE-2026-98773 published to NVD
- 2026-10-21 - Last updated in NVD database
Technical Details for CVE-2026-98773
Vulnerability Analysis
The vulnerability is a classic use-after-free race condition in the Linux USB cdc-acm driver [CWE-416]. The acm_port_shutdown() function is invoked by the TTY port layer when the last user closes the port. Separately, acm_disconnect() runs when the USB device is physically or logically removed. The disconnect handler sets acm->disconnected, invokes tty_port_tty_vhangup(), and then calls acm_poison_urbs() before freeing the control URB, read URBs, and their associated DMA buffers.
Because tty_port_tty_vhangup() can itself trigger port_shutdown(), the shutdown routine executes concurrently with the free path. When the ALWAYS_POLL_CTRL quirk is enabled, acm_port_shutdown() calls acm_unpoison_urbs() and immediately resubmits the ctrlurb and all read URBs. These resubmissions reach the USB host controller after acm_disconnect() has freed the backing memory.
Root Cause
The root cause is missing coordination between the shutdown and disconnect paths. acm_port_shutdown() did not consult the acm->disconnected flag before unpoisoning and resubmitting URBs. The fix adds an early return after draining the delayed anchor so that resubmission is skipped when the driver is tearing down the device.
Attack Vector
Triggering the condition requires concurrent USB device removal and TTY port close on a device matching the ALWAYS_POLL_CTRL quirk. The flaw is typically reachable by a local user with access to the serial device node or through physical USB device manipulation. Successful exploitation corrupts kernel memory via writes performed by the USB host controller into freed DMA regions, with potential outcomes ranging from a kernel crash to kernel memory corruption. See the upstream commits for the authoritative technical description.
Detection Methods for CVE-2026-98773
Indicators of Compromise
- Kernel oops or panic messages originating from acm_ctrl_irq() or acm_read_bulk_callback()
- KASAN (Kernel Address Sanitizer) use-after-free reports referencing cdc-acm URB buffers
- Unexpected cdc-acm driver crashes correlated with USB device disconnect events in dmesg
Detection Strategies
- Enable KASAN on test or canary systems to catch use-after-free accesses in the cdc-acm code path
- Audit installed kernel versions against the stable commits listed in the kernel.org references
- Monitor kernel logs for repeated cdc-acm driver faults following USB hotplug events
Monitoring Recommendations
- Centralize kernel ring buffer and journald logs and alert on BUG:, KASAN:, or general protection fault entries involving acm_ symbols
- Track USB device connect and disconnect events on systems using CDC ACM peripherals
- Review crash dumps for stack frames containing acm_port_shutdown, acm_ctrl_irq, or acm_read_bulk_callback
How to Mitigate CVE-2026-98773
Immediate Actions Required
- Apply the upstream stable kernel updates that include the fix commits referenced below
- Prioritize patching systems that attach USB CDC ACM devices such as cellular modems, serial adapters, or embedded device consoles
- Restrict physical and local access to USB ports on servers where kernel updates cannot be applied immediately
Patch Information
The fix adds an acm->disconnected check in acm_port_shutdown() after the delayed-anchor drain loop and returns early when the driver is disconnecting, preventing URB resubmission against freed memory. The patch is available across multiple stable branches via the following commits: Kernel Git Commit 420ca35, Kernel Git Commit 9742905, Kernel Git Commit a0ed07b, Kernel Git Commit d86775e, and Kernel Git Commit dc614d6.
Workarounds
- Unload the cdc-acm module on systems that do not require USB serial functionality using modprobe -r cdc_acm
- Blacklist the cdc-acm module where it is not needed to prevent automatic loading on USB attach
- Avoid hot-unplugging CDC ACM devices while sessions are active on affected systems
# Blacklist the cdc-acm module on systems that do not require USB serial support
echo "blacklist cdc_acm" | sudo tee /etc/modprobe.d/blacklist-cdc-acm.conf
sudo modprobe -r cdc_acm
sudo update-initramfs -u
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

