linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] usb: typec: ucsi: Fixes for Huawei Matebook E Go UCSI driver
@ 2025-11-25 10:36 Duoming Zhou
  2025-11-25 10:36 ` [PATCH v2 1/2] usb: typec: ucsi: fix probe failure in gaokun_ucsi_probe() Duoming Zhou
  2025-11-25 10:36 ` [PATCH v2 2/2] usb: typec: ucsi: fix use-after-free caused by uec->work Duoming Zhou
  0 siblings, 2 replies; 9+ messages in thread
From: Duoming Zhou @ 2025-11-25 10:36 UTC (permalink / raw)
  To: linux-usb
  Cc: gregkh, heikki.krogerus, mitltlatltl, linux-kernel,
	sergei.shtylyov, Duoming Zhou

This patch series addresses two critical issues in the Huawei Matebook E Go
UCSI driver that were preventing proper functionality and causing potential
use-after-free scenarios.

The first patch fixes a probe failure by adding the missing poll_cci to the
UCSI operations structure, which is required by the UCSI core for proper
initialization.

The second patch resolves use-after-free vulnerabilities where a delayed
work item could access freed memory after device or module removal, by
ensuring proper cancellation of the work item in gaokun_ucsi_remove().

Duoming Zhou (2):
  usb: typec: ucsi: fix probe failure in gaokun_ucsi_probe()
  usb: typec: ucsi: fix use-after-free caused by uec->work

 drivers/usb/typec/ucsi/ucsi_huawei_gaokun.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.34.1


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

end of thread, other threads:[~2025-12-17 13:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-25 10:36 [PATCH v2 0/2] usb: typec: ucsi: Fixes for Huawei Matebook E Go UCSI driver Duoming Zhou
2025-11-25 10:36 ` [PATCH v2 1/2] usb: typec: ucsi: fix probe failure in gaokun_ucsi_probe() Duoming Zhou
2025-11-26  9:49   ` Heikki Krogerus
2025-12-17 13:19   ` Greg KH
2025-11-25 10:36 ` [PATCH v2 2/2] usb: typec: ucsi: fix use-after-free caused by uec->work Duoming Zhou
2025-11-25 11:44   ` Greg KH
2025-11-25 12:02     ` duoming
2025-11-25 13:02       ` Greg KH
2025-11-26  9:50   ` Heikki Krogerus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).