AZL-117887: CVE-2026-142989 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
usb: typec: ucsi: Set ucsi->connector before enabling notifications
In ucsiinit(), ucsi->connector is assigned only after the UCSISETNOTIFICATIONENABLE 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:
ucsinotifycommon() -> ucsiconnectorchange()
ucsiconnectorchange() indexes into ucsi->connector to get the connector and schedule its work item. If this notification arrives before ucsiinit() 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 errunregister path so it isn't left pointing at freed memory if a later step in ucsiinit() fails.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In ucsi_init(), assign ucsi->connector before enabling notifications so connector-change events can use a valid connector.
- Compensating control
Clear ucsi->connector in the err_unregister path so it does not point to freed memory.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux kernel UCSI USB Type-C driver are exposed when a Platform Policy Manager can send a connector-change notification during UCSI initialization.
What timing is required to trigger the failure?
A connector-change notification must arrive after notification delivery is enabled but before the driver assigns its connector array. The notification handler can then dereference a NULL connector pointer and crash the driver.
What package release is identified as affected?
The affected package release listed is azure-linux/kernel 6.6.161.1-1.