{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142989",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.341Z",
        "datePublished": "2026-12-03T09:17:20.630Z",
        "dateUpdated": "2026-12-03T09:17:20.630Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:17:20.630Z"
            },
            "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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/usb/typec/ucsi/ucsi.c"
                    ],
                    "versions": [
                        {
                            "version": "0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c",
                            "lessThan": "1b98a6b2a8e03d101cd80248eceba98d324378fe",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c",
                            "lessThan": "ceaee811c240dcff5d52c95be00fec82cf430436",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c",
                            "lessThan": "1955ce135090cfc323a584026c1727ebbcf56e95",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c",
                            "lessThan": "5b4b83c2ffe8740f6f3e54ea4d4962a62c063ef1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "fbfe493874e98970071b15c6753116fba054487f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "468bb26acab2036a80f6c93c4ecdce74d71cefd1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.1.23",
                            "lessThan": "6.2",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.2.10",
                            "lessThan": "6.3",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/usb/typec/ucsi/ucsi.c"
                    ],
                    "versions": [
                        {
                            "version": "6.3",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.3",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.120",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc4",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.3",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.3",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.3",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.3",
                                    "versionEndExcluding": "7.4-rc4"
                                },
                                {
                                    "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"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}