PT-2026-166844
CVE-2026-142989
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
usb: typec: ucsi: Set ucsi->connector before enabling notifications
In ucsi init(), ucsi->connector is assigned only after the
UCSI SET NOTIFICATION ENABLE command completes. But once that command
is sent, the PPM is free to raise a connector change notification at
any time, which is handled through:
ucsi notify common() -> ucsi connector change()
ucsi connector change() indexes into ucsi->connector to get the
connector and schedule its work item. If this notification arrives
before ucsi init() reaches the "ucsi->connector = connector;" line,
ucsi->connector is still NULL and the driver crashes dereferencing it.
Fix this by setting ucsi->connector right after the connectors are
registered, before notifications are enabled, so it is always valid
by the time a connector change event can be delivered. Also clear
ucsi->connector in the err unregister path so it isn't left pointing
at freed memory if a later step in ucsi init() fails.
Found an issue in the description? Have something to add? Feel free to write us 👾