Technical impact
The MCTP over USB device class splits RX processing between two work items; disabling the class from the host can free the packet buffer while the receiver is still using it. This use‑after‑free allows the device to overwrite heap memory or dereference a NULL pointer, corrupting the MCTP heap or the system heap metadata and typically resulting in a kernel crash or undefined behavior. This vulnerability is a classic CWE‑416 use‑after‑free flaw that can cause denial of service.
Affected Systems
This flaw is limited to Zephyr OS systems that enable the experimental MCTP USB subsystem via CONFIG_MCTP_USB. Any system that runs the USB device stack and processes MCTP frames—particularly those with SMP or preemptible workqueues—will be affected. The issue appears only when a USB host sends partial MCTP frames and then forces a configuration change or bus reset, which triggers the simultaneous running of the RX worker and the disable handler.
Risk and Exploitability
The CVSS score is 4.8, indicating moderate impact. The EPSS score is not available, and the vulnerability is not in CISA KEV, suggesting limited known exploitation. Attackers need physical access to a USB host attached to the device and can trigger the race condition without authentication or user interaction. While the flaw generally causes a crash, it does not provide straightforward remote code execution but may allow an attacker to disrupt services or create a reboot loop if the device restarts after a fault.