From: Duoming Zhou <duoming@zju.edu.cn>
To: linux-usb@vger.kernel.org
Cc: gregkh@linuxfoundation.org, heikki.krogerus@linux.intel.com,
mitltlatltl@gmail.com, linux-kernel@vger.kernel.org,
sergei.shtylyov@gmail.com, Duoming Zhou <duoming@zju.edu.cn>
Subject: [PATCH v2 0/2] usb: typec: ucsi: Fixes for Huawei Matebook E Go UCSI driver
Date: Tue, 25 Nov 2025 18:36:25 +0800 [thread overview]
Message-ID: <cover.1764065838.git.duoming@zju.edu.cn> (raw)
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
next reply other threads:[~2025-11-25 10:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-25 10:36 Duoming Zhou [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1764065838.git.duoming@zju.edu.cn \
--to=duoming@zju.edu.cn \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mitltlatltl@gmail.com \
--cc=sergei.shtylyov@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox