usb: typec: tcpci_rt1711h: unregister TCPCI port with devres
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.20, 5.5, 5.8, 6.6.145, 6.12.96, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 302c570bf36e997d55ad0d60628a2feec76954a4 · fixed in ce2e36e8759dfbfe546723810c306f42f484866d; From 302c570bf36e997d55ad0d60628a2feec76954a4 · fixed in 94b1abf1af94aa5a355e9f03675e07bccfc41c4b; From 302c570bf36e997d55ad0d60628a2feec76954a4 · fixed in e5406c8fb71cd2f89a46300a746f6e7972e621e8; From 302c570bf36e997d55ad0d60628a2feec76954a4 · fixed in 569f18a83eed0b0be4615f0c7bed40fb5c50e2e6; From 302c570bf36e997d55ad0d60628a2feec76954a4 · fixed in e8da46d99d3710106e7c44db14566bf9b57386b5; From 4.19.131 · fixed in 4.20; From 5.4.50 · fixed in 5.5; From 5.7.7 · fixed in 5.8
- Linux Linux
5.8
- KernelLinux
From 5.8.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.96; From 6.13.0 · fixed in 6.18.39; From 6.19.0 · fixed in 7.1.4