CVE-2026-142989

Unknown

Last modified

CVE-2026-142989 is a vulnerability of currently unknown severity. 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.

Description

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.

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c, < 1b98a6b2a8e03d101cd80248eceba98d324378fe; >= 0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c, < ceaee811c240dcff5d52c95be00fec82cf430436; >= 0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c, < 1955ce135090cfc323a584026c1727ebbcf56e95; >= 0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c, < 5b4b83c2ffe8740f6f3e54ea4d4962a62c063ef1; fbfe493874e98970071b15c6753116fba054487f; 468bb26acab2036a80f6c93c4ecdce74d71cefd1; >= 6.1.23, < 6.2; >= 6.2.10, < 6.3
LinuxLinux6.3

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-142989?
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.
How severe is CVE-2026-142989?
Severity scoring for CVE-2026-142989 is pending analysis.
How do I fix CVE-2026-142989?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-142989?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST