usb: typec: ucsi: Set ucsi->connector before enabling notifications

Summary

CVECVE-2026-142989
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 10:17:23 UTC
Updated2026-12-03 10:17:23 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c 1b98a6b2a8e03d101cd80248eceba98d324378fe git Not specified
CNA Linux Linux affected 0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c ceaee811c240dcff5d52c95be00fec82cf430436 git Not specified
CNA Linux Linux affected 0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c 1955ce135090cfc323a584026c1727ebbcf56e95 git Not specified
CNA Linux Linux affected 0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c 5b4b83c2ffe8740f6f3e54ea4d4962a62c063ef1 git Not specified
CNA Linux Linux affected fbfe493874e98970071b15c6753116fba054487f git Not specified
CNA Linux Linux affected 468bb26acab2036a80f6c93c4ecdce74d71cefd1 git Not specified
CNA Linux Linux affected 6.1.23 6.2 semver Not specified
CNA Linux Linux affected 6.2.10 6.3 semver Not specified
CNA Linux Linux affected 6.3 Not specified
CNA Linux Linux unaffected 6.3 semver Not specified
CNA Linux Linux unaffected 6.12.120 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.66 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.7 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc4 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/1b98a6b2a8e03d101cd80248eceba98d324378fe 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ceaee811c240dcff5d52c95be00fec82cf430436 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1955ce135090cfc323a584026c1727ebbcf56e95 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5b4b83c2ffe8740f6f3e54ea4d4962a62c063ef1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report