usb: typec: tcpci_rt1711h: unregister TCPCI port with devres
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4.20, Kernel 5.5, Kernel 5.8 and 11 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.19.131 <4.20, >=5.4.50 <5.5, >=5.7.7 <5.8, >=5.8.1 <6.1.191, >=6.13 <6.18.39, >=6.19 <7.1.4, >=6.2 <6.6.145, >=6.7 <6.12.96, =5.8, =7.2, >=302c570bf36e997d55ad0d60628a2feec76954a4 <569f18a83eed0b0be4615f0c7bed40fb5c50e2e6, >=302c570bf36e997d55ad0d60628a2feec76954a4 <94b1abf1af94aa5a355e9f03675e07bccfc41c4b, >=302c570bf36e997d55ad0d60628a2feec76954a4 <ce2e36e8759dfbfe546723810c306f42f484866d, >=302c570bf36e997d55ad0d60628a2feec76954a4 <e5406c8fb71cd2f89a46300a746f6e7972e621e8, >=302c570bf36e997d55ad0d60628a2feec76954a4 <e8da46d99d3710106e7c44db14566bf9b57386b5, =4309ab96ab744703871e35d829177dd9347bf643, =745dcedb896a740825160228f98dbb5725a49f85, =895ec8c86e13f85b119c71d5f95491b48867955e, >=302c570bf36e997d55ad0d60628a2feec76954a4 <388f5354158fc038214b73baad43a723385fea1e | 4.20, 5.5, 5.8, 6.1.191, 6.18.39, 7.1.4, 6.6.145, 6.12.96, 569f18a83eed0b0be4615f0c7bed40fb5c50e2e6, 94b1abf1af94aa5a355e9f03675e07bccfc41c4b, ce2e36e8759dfbfe546723810c306f42f484866d, e5406c8fb71cd2f89a46300a746f6e7972e621e8, e8da46d99d3710106e7c44db14566bf9b57386b5, 388f5354158fc038214b73baad43a723385fea1e |
| linux-kernel: Kernel | >=4.19.131 <4.20, >=5.4.50 <5.5, >=5.7.7 <5.8, >=5.8.0 <6.1.191, >=6.13.0 <6.18.39, >=6.19.0 <7.1.4, >=6.2.0 <6.6.145, >=6.7.0 <6.12.96 | 4.20, 5.5, 5.8, 6.1.191, 6.18.39, 7.1.4, 6.6.145, 6.12.96 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket