CVE-2026-139714: usb: gadget: composite: avoid warning on aborted delayed status
In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: composite: avoid warning on aborted delayed status
A SETCONFIGURATION request that disables the current configuration, or a disconnect, can abort a control transfer whose status stage was delayed by a function driver. The asynchronous function work can nevertheless finish later and call usbcompositesetupcontinue() after resetconfig() has cleared delayedstatus.
This is an expected consequence of aborting the old control transfer, and does not require a kernel warning. Keep the diagnostic available under dynamic debug and ignore the obsolete completion as before.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 3.3 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 3.5 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 3.11 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 3.13 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1
Event History
Frequently Asked Questions
Which systems can encounter this condition?
Linux systems using the USB gadget composite framework can encounter it when a function driver delays a control-transfer status stage. The condition occurs if a host SET_CONFIGURATION request disables the active configuration or if the gadget disconnects before the delayed work finishes.
What happens when the delayed function work completes after the transfer was aborted?
The later call to usb_composite_setup_continue() is treated as an obsolete completion because reset_config() has already cleared delayed_status. It is ignored as before; the change avoids emitting a kernel warning, while retaining the diagnostic under dynamic debug.