thunderbolt: Fixes for v7.3-rc3

This includes following USB4/Thunderbolt fixes:
 
   - Fix various issues around asynchronous DisplayPort tunnel activation
     when there is no graphics driver doing doing the capability
     exchange.
   - Fix potential NULL pointer dereference when XDomain connection is
     removed.
   - Fix use-after-free when control channel request is canceled.
   - Fix lockdep false positive.
   - Revert a commit that causes XDomain properties ping-pong.
 
 All these have been in linux-next with no reported issues.
 -----BEGIN PGP SIGNATURE-----
 
 iQJUBAABCgA+FiEEVTdhRGBbNzLrSUBaAP2fSd+ZWKAFAmqhPMogHG1pa2Eud2Vz
 dGVyYmVyZ0BsaW51eC5pbnRlbC5jb20ACgkQAP2fSd+ZWKAAVg/+OMbB+Jfz0Pue
 AfycByqZ/D6mZEVRubMQtHbq6rYp3E22DkL20ApX788fTapdEC0om/JHVdi+w0v2
 c8+cwXtjucsHK0ndJ5DhYOXKCOWgMD7Hcl7vWgHHLQAg8eAsga0YgKPJF2Ef1eIT
 p2ndLiL3Df/PO3fRjdYUEkuWnJP555aFW6UDjNeHsp1vf7tx9Yc0pGm4ezeUxapa
 GspTt5MPEAtu3EiHSzWSjR+5PrJevdIMO3X975FFGPLXFKqtA7u6ZarQz/QRETzp
 FoGRxZUdlV7O+oTFhJYYem6Ol4315gURlC9kVWnW2W02QqMpq34ZYb9n2fwGC6dK
 S2GHhv5YhT7DbFFPDAA82TO1Ebj7diuMDxSD7hNNrMAhjl98PJ1gTJfFSSbdWQ93
 Huth/0hiVva2CXtnT3H2vQfu9TlQirudZPn+55WzZ9TSmGXQhwjOWza+ShZ0DACp
 qhgW0ootH3EcvkAKndXTJrV1+pzszryDGsfwZPL+t6cC3S4LpjqJO80FrEjl73DX
 Ej5XphyNEgcvH17sUj/ZOLBefyJzAO4C4jWNP0XRUk5VEANZaWM1GhMlGFxVfIrB
 0zlx0rar++R8RZOvsUy7Xx/3vJtu73GU7c559tK/A1muiWYMUCIiOjRFZ7y/EmN1
 AZrXL8bCutrobeTyI7joULC6a1hbqNQ=
 =o2Tr
 -----END PGP SIGNATURE-----

Merge tag 'thunderbolt-for-v7.3-rc3' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt into usb-linus

Mika writes:

thunderbolt: Fixes for v7.3-rc3

This includes following USB4/Thunderbolt fixes:

  - Fix various issues around asynchronous DisplayPort tunnel activation
    when there is no graphics driver doing doing the capability
    exchange.
  - Fix potential NULL pointer dereference when XDomain connection is
    removed.
  - Fix use-after-free when control channel request is canceled.
  - Fix lockdep false positive.
  - Revert a commit that causes XDomain properties ping-pong.

All these have been in linux-next with no reported issues.

* tag 'thunderbolt-for-v7.3-rc3' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt:
  Revert "thunderbolt: xdomain: Notify peers after enumeration"
  thunderbolt: Use separate lock class for each ring
  thunderbolt: Fix KASAN reported use-after-free when request is canceled
  thunderbolt: Fix NULL dereference in tb_remove_work()
  thunderbolt: Tear down inactive DP tunnels when the domain is stopped
  thunderbolt: Mark discovered tunnels as active
  thunderbolt: Don't access a DP tunnel after its DPRX read was canceled
  thunderbolt: Fix domain reference leak when DPRX read is canceled
  thunderbolt: Make the DP tunnel activation callback mandatory
  thunderbolt: Hold a router reference for each allocated HopID
This commit is contained in:
Greg Kroah-Hartman 2026-09-09 14:14:16 +02:00
commit 6ea92f0109
9 changed files with 170 additions and 87 deletions