{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0482c34ec6f8557e06cd0f8e2d0e20e8ede6a22c"
            },
            {
              "fixed": "1b98a6b2a8e03d101cd80248eceba98d324378fe"
            },
            {
              "fixed": "ceaee811c240dcff5d52c95be00fec82cf430436"
            },
            {
              "fixed": "1955ce135090cfc323a584026c1727ebbcf56e95"
            },
            {
              "fixed": "5b4b83c2ffe8740f6f3e54ea4d4962a62c063ef1"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "fbfe493874e98970071b15c6753116fba054487f"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "468bb26acab2036a80f6c93c4ecdce74d71cefd1"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.1.23"
            },
            {
              "fixed": "6.2"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.10"
            },
            {
              "fixed": "6.3"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.3.0"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142989.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: ucsi: Set ucsi-\u003econnector before enabling notifications\n\nIn ucsi_init(), ucsi-\u003econnector 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() -\u003e ucsi_connector_change()\n\nucsi_connector_change() indexes into ucsi-\u003econnector to get the\nconnector and schedule its work item. If this notification arrives\nbefore ucsi_init() reaches the \"ucsi-\u003econnector = connector;\" line,\nucsi-\u003econnector is still NULL and the driver crashes dereferencing it.\n\nFix this by setting ucsi-\u003econnector 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-\u003econnector in the err_unregister path so it isn't left pointing\nat freed memory if a later step in ucsi_init() fails.",
  "id": "CVE-2026-142989",
  "modified": "2026-12-03T10:46:09.017411518Z",
  "published": "2026-12-03T09:17:20.630Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1955ce135090cfc323a584026c1727ebbcf56e95"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1b98a6b2a8e03d101cd80248eceba98d324378fe"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5b4b83c2ffe8740f6f3e54ea4d4962a62c063ef1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ceaee811c240dcff5d52c95be00fec82cf430436"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142989.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142989"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "usb: typec: ucsi: Set ucsi-\u003econnector before enabling notifications"
}