CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's handling of TCPCI ports, specifically in the `rt1711h_probe()` function, where the TCPCI port may remain registered even if subsequent initialization steps fail. This oversight can lead to resource leaks and potential denial-of-service conditions, as the port is not properly unregistered during probe failures or driver detachment. Organizations using Linux systems with TCPCI support should prioritize addressing this vulnerability to mitigate the associated risks.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: usb: typec: tcpci_rt1711h: unregister TCPCI port with devres rt1711h_probe() registers the TCPCI port before requesting the interrupt and enabling alert interrupts. If either of those later steps fails, the probe function returns without unregistering the TCPCI port. The explicit unregister currently only happens from the remove callback. Register a devres action immediately after tcpci_register_port() succeeds, so tcpci_unregister_port() runs on later probe failures and on driver detach. Drop the remove callback to avoid unregistering the same port twice. This issue was identified during our ongoing static-analysis research while reviewing kernel code.