net: thunderbolt: Mark the connection down when bringing it up fails
- 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.6.157, 6.12.109, 6.18.50, 7.2.4
- 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: net: thunderbolt: Mark the connection down when bringing it up fails Every failure path in tbnet_connected_work() undoes its own work and returns without clearing login_sent, so the connection still looks established. The next tbnet_tear_down() therefore takes its main branch and repeats a teardown that already happened: it stops rings that are already stopped, which is a dev_WARN() and fatal under panic_on_warn, and it releases net->remote_transmit_path even on the HopID mismatch path, where this connection never owned that id, silently freeing one that someone else is still using. Clear login_sent on those paths. That is enough for tbnet_tear_down() to leave the unwound state alone, and login_received has to stay set: it records that the peer has logged in and carries the transmit path it gave us, which nothing on this side can make the peer send again. Two things change beyond keeping the teardown out of the way: the logout request in that block is no longer sent, and the peer's next login request now re-queues our login work rather than connected_work, giving the connection a fresh login instead of a retry on stale state.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From e69b6c02b4c3b8d03be7136f90dd9551ad5a5a5e · fixed in e0d4a17afde5aa0045dc3e1d66c6bb80927bad8c; From e69b6c02b4c3b8d03be7136f90dd9551ad5a5a5e · fixed in ed1d6e3d735e7b03f43a02f4306c89eb7663da14; From e69b6c02b4c3b8d03be7136f90dd9551ad5a5a5e · fixed in f01e6a35c440b62f060e21f36b385e574a7f308c; From e69b6c02b4c3b8d03be7136f90dd9551ad5a5a5e · fixed in d6c0af293129345a17dc31c9b4179dc7f3d6af7a; From e69b6c02b4c3b8d03be7136f90dd9551ad5a5a5e · fixed in 3c8b26ebf525ba5960510f48c6e9936a79ebe76f
- Linux Linux
4.15
- KernelLinux
From 4.15.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4