Junglewise Threat Intelligence

CVE-2026-43327: Linux Kernel race condition in USB dummy-hcd driver

CVE-2026-43327 · Severity: medium · CVSS 5.5 · Published 2026-05-08

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A synchronization flaw was identified in the Linux kernel's USB dummy host controller driver. This vulnerability can cause a system crash (kernel panic) when a USB device reset occurs simultaneously with a driver being removed. While it primarily affects system stability and availability, it could be used by a local user to disrupt operations or cause a denial-of-service on the affected machine.

Technical details

A race condition exists in the dummy-hcd driver (drivers/usb/gadget/udc/dummy_hcd.c) due to improper locking in the set_link_state() function. The stop_activity() routine can drop and re-acquire the 'dum->lock' spinlock, creating a window where another thread performing a driver unbind can clear 'dum->driver'. If this occurs before 'dum->callback_usage' is incremented, the subsequent call to usb_gadget_udc_reset() receives a NULL driver argument, leading to an addressing exception and kernel crash. The fix involves incrementing the callback usage counter before calling stop_activity() to ensure the driver remains bound until the reset routine completes.

Affected products

  • Linux Linux Kernel All versions prior to the fix in dummy-hcd driver

Timeline

  • 2026-03-15: patched: Initial patch authored by Alan Stern
  • 2026-05-08: disclosed: CVE-2026-43327 published

References

Related threats