[PATCH v2 0/2] usb: typec: ucsi: Fixes for Huawei Matebook E Go UCSI driver

From: Duoming Zhou
Date: Tue Nov 25 2025 - 05:37:11 EST


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