{"api_version":"1","generated_at":"2026-12-03T23:39:59+00:00","cve":"CVE-2026-142989","urls":{"html":"https://cve.report/CVE-2026-142989","api":"https://cve.report/api/cve/CVE-2026-142989.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-142989","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-142989"},"summary":{"title":"usb: typec: ucsi: Set ucsi->connector before enabling notifications","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: ucsi: Set ucsi->connector before enabling notifications\n\nIn ucsi_init(), ucsi->connector is assigned only after the\nUCSI_SET_NOTIFICATION_ENABLE command completes. But once that command\nis sent, the PPM is free to raise a connector change notification at\nany time, which is handled through:\n\n    ucsi_notify_common() -> ucsi_connector_change()\n\nucsi_connector_change() indexes into ucsi->connector to get the\nconnector and schedule its work item. If this notification arrives\nbefore ucsi_init() reaches the \"ucsi->connector = connector;\" line,\nucsi->connector is still NULL and the driver crashes dereferencing it.\n\nFix this by setting ucsi->connector right after the connectors are\nregistered, before notifications are enabled, so it is always valid\nby the time a connector change event can be delivered. Also clear\nucsi->connector in the err_unregister path so it isn't left pointing\nat freed memory if a later step in ucsi_init() fails.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:23","updated_at":"2026-12-03 10:17:23"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/1b98a6b2a8e03d101cd80248eceba98d324378fe","name":"https://git.kernel.org/stable/c/1b98a6b2a8e03d101cd80248eceba98d324378fe","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ceaee811c240dcff5d52c95be00fec82cf430436","name":"https://git.kernel.org/stable/c/ceaee811c240dcff5d52c95be00fec82cf430436","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1955ce135090cfc323a584026c1727ebbcf56e95","name":"https://git.kernel.org/stable/c/1955ce135090cfc323a584026c1727ebbcf56e95","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5b4b83c2ffe8740f6f3e54ea4d4962a62c063ef1","name":"https://git.kernel.org/stable/c/5b4b83c2ffe8740f6f3e54ea4d4962a62c063ef1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-142989","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142989","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c 1b98a6b2a8e03d101cd80248eceba98d324378fe git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c ceaee811c240dcff5d52c95be00fec82cf430436 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c 1955ce135090cfc323a584026c1727ebbcf56e95 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c 5b4b83c2ffe8740f6f3e54ea4d4962a62c063ef1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fbfe493874e98970071b15c6753116fba054487f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 468bb26acab2036a80f6c93c4ecdce74d71cefd1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.23 6.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.2.10 6.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.3","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc4 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/usb/typec/ucsi/ucsi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"1b98a6b2a8e03d101cd80248eceba98d324378fe","status":"affected","version":"0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c","versionType":"git"},{"lessThan":"ceaee811c240dcff5d52c95be00fec82cf430436","status":"affected","version":"0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c","versionType":"git"},{"lessThan":"1955ce135090cfc323a584026c1727ebbcf56e95","status":"affected","version":"0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c","versionType":"git"},{"lessThan":"5b4b83c2ffe8740f6f3e54ea4d4962a62c063ef1","status":"affected","version":"0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c","versionType":"git"},{"status":"affected","version":"fbfe493874e98970071b15c6753116fba054487f","versionType":"git"},{"status":"affected","version":"468bb26acab2036a80f6c93c4ecdce74d71cefd1","versionType":"git"},{"lessThan":"6.2","status":"affected","version":"6.1.23","versionType":"semver"},{"lessThan":"6.3","status":"affected","version":"6.2.10","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/usb/typec/ucsi/ucsi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.3"},{"lessThan":"6.3","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc4","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc4","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.23","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2.10","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: ucsi: Set ucsi->connector before enabling notifications\n\nIn ucsi_init(), ucsi->connector is assigned only after the\nUCSI_SET_NOTIFICATION_ENABLE command completes. But once that command\nis sent, the PPM is free to raise a connector change notification at\nany time, which is handled through:\n\n    ucsi_notify_common() -> ucsi_connector_change()\n\nucsi_connector_change() indexes into ucsi->connector to get the\nconnector and schedule its work item. If this notification arrives\nbefore ucsi_init() reaches the \"ucsi->connector = connector;\" line,\nucsi->connector is still NULL and the driver crashes dereferencing it.\n\nFix this by setting ucsi->connector right after the connectors are\nregistered, before notifications are enabled, so it is always valid\nby the time a connector change event can be delivered. Also clear\nucsi->connector in the err_unregister path so it isn't left pointing\nat freed memory if a later step in ucsi_init() fails."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:17:20.630Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/1b98a6b2a8e03d101cd80248eceba98d324378fe"},{"url":"https://git.kernel.org/stable/c/ceaee811c240dcff5d52c95be00fec82cf430436"},{"url":"https://git.kernel.org/stable/c/1955ce135090cfc323a584026c1727ebbcf56e95"},{"url":"https://git.kernel.org/stable/c/5b4b83c2ffe8740f6f3e54ea4d4962a62c063ef1"}],"title":"usb: typec: ucsi: Set ucsi->connector before enabling notifications","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-142989","datePublished":"2026-12-03T09:17:20.630Z","dateReserved":"2026-12-03T03:10:28.341Z","dateUpdated":"2026-12-03T09:17:20.630Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:23","lastModifiedDate":"2026-12-03 10:17:23","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"142989","Ordinal":"1","Title":"usb: typec: ucsi: Set ucsi->connector before enabling notificati","CVE":"CVE-2026-142989","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"142989","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: ucsi: Set ucsi->connector before enabling notifications\n\nIn ucsi_init(), ucsi->connector is assigned only after the\nUCSI_SET_NOTIFICATION_ENABLE command completes. But once that command\nis sent, the PPM is free to raise a connector change notification at\nany time, which is handled through:\n\n    ucsi_notify_common() -> ucsi_connector_change()\n\nucsi_connector_change() indexes into ucsi->connector to get the\nconnector and schedule its work item. If this notification arrives\nbefore ucsi_init() reaches the \"ucsi->connector = connector;\" line,\nucsi->connector is still NULL and the driver crashes dereferencing it.\n\nFix this by setting ucsi->connector right after the connectors are\nregistered, before notifications are enabled, so it is always valid\nby the time a connector change event can be delivered. Also clear\nucsi->connector in the err_unregister path so it isn't left pointing\nat freed memory if a later step in ucsi_init() fails.","Type":"Description","Title":"usb: typec: ucsi: Set ucsi->connector before enabling notificati"}]}}}