Linux USB
 help / color / mirror / Atom feed
* [PATCH v2 0/3] usb: tcpm: partner sink capabilities and altmodes leak fixes
@ 2026-11-25 10:40 Neil Armstrong
  2026-11-25 10:40 ` [PATCH v2 1/3] usb: typec: tcpm: unregister partner altmodes before re-discovery Neil Armstrong
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Neil Armstrong @ 2026-11-25 10:40 UTC (permalink / raw)
  To: Badhri Jagan Sridharan, Heikki Krogerus, Greg Kroah-Hartman,
	Guenter Roeck, Igor Paunovic
  Cc: linux-usb, Neil Armstrong, stable, Sashiko

Two fixes for potential leaks where neither the partner
sink capabilities and altmodes were unregistered properly.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
Changes in v2:
- Add Fixes tag and review tag
- patch2: Unregister partner_sink_caps before usb_power_delivery_register_capabilities()
- Add new patch to fix a regression when calling tcpm_unregister_port() and the TCPM driver can call back from tcpm_reset_port()
- Link to v1: https://patch.msgid.link/20261120-topic-tcpm-core-fixes-v1-0-c753d1d286bb@linaro.org

To: Badhri Jagan Sridharan <badhri@google.com>
To: Heikki Krogerus <heikki.krogerus@linux.intel.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Guenter Roeck <groeck@chromium.org>
To: Igor Paunovic <royalnet026@gmail.com>
Cc: linux-usb@vger.kernel.org

---
Neil Armstrong (3):
      usb: typec: tcpm: unregister partner altmodes before re-discovery
      usb: typec: tcpm: unregister stale partner sink capabilities
      usb: typec: tcpm: destroy worker after reset_port() in unregister_port()

 drivers/usb/typec/tcpm/tcpm.c | 29 ++++++++++++++++++++++-------
 1 file changed, 22 insertions(+), 7 deletions(-)
---
base-commit: 3dd8c790a7b7027abdd568e36db5e82ffaea7c77
change-id: 20261120-topic-tcpm-core-fixes-5cb1a6a9838c

Best regards,
--  
Neil Armstrong <neil.armstrong@linaro.org>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-25 10:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 10:40 [PATCH v2 0/3] usb: tcpm: partner sink capabilities and altmodes leak fixes Neil Armstrong
2026-11-25 10:40 ` [PATCH v2 1/3] usb: typec: tcpm: unregister partner altmodes before re-discovery Neil Armstrong
2026-11-25 10:57   ` sashiko-bot
2026-11-25 10:40 ` [PATCH v2 2/3] usb: typec: tcpm: unregister stale partner sink capabilities Neil Armstrong
2026-11-25 10:40 ` [PATCH v2 3/3] usb: typec: tcpm: destroy worker after reset_port() in unregister_port() Neil Armstrong
2026-11-25 10:59   ` sashiko-bot
2026-11-25 10:59 ` [PATCH v2 0/3] usb: tcpm: partner sink capabilities and altmodes leak fixes sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox