thunderbolt: Tear down inactive DP tunnels when the domain is stopped
- 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 6.18.56, 7.2.10
- 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
Summary
In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Tear down inactive DP tunnels when the domain is stopped tb_stop() only tears down DMA tunnels so a DP tunnel that is still waiting for dprx_work to complete keeps that work queued while the routers are removed and the control channel is stopped. The work only stops once the DPRX timeout has passed and because it requeues itself until then the flush_workqueue() in tb_domain_remove() won't wait for its final run. The callback then runs against a domain that is already torn down. A reference to that domain is kept so the completion waiting for that domain to disappear in unbind will block until the timeout is eventually reached. Tear down DP tunnels that are not active yet as well which also cancels that work. Tunnels for displays that are already alive are untouched and keep working.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From d6d458d42e1e1544a18f37f1d5c840e00d5261b9 · fixed in 34a6e27c954e5bfc29fead17867c7155d54b6481; From d6d458d42e1e1544a18f37f1d5c840e00d5261b9 · fixed in cbd2abb85ea32cafdcbaba218e13b18d8ed79bfa; From d6d458d42e1e1544a18f37f1d5c840e00d5261b9 · fixed in 0b457c6733f73421a3fb03786f13d67c618b5119
- Linux Linux
6.14
- KernelLinux
From 6.14.0 · fixed in 6.18.56; From 6.19.0 · fixed in 7.2.10