Skip to content
Heist/ feed
Back to feed
HighFix available

Revert "usb: typec: ucsi: add a common function ucsi_unregister_connectors()"

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: Revert "usb: typec: ucsi: add a common function ucsi_unregister_connectors()" The recent commit 87d0e2f41b8c ("usb: typec: ucsi: add a common function ucsi_unregister_connectors()") introduced a regression that caused NULL dereference at reading the power supply sysfs. It's a stale sysfs entry that should have been removed but remains with NULL ops. The commit changed the error handling to skip the entries after a NULL con->wq, and this leaves the power device unreleased. For addressing the regression, the straight revert is applied here. Further code improvements can be done from the scratch again.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.19.8
CVEs
CVE-2022-49944
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 20:29 UTC · Revision 1

Source evidence

Revert "usb: typec: ucsi: add a common function ucsi_unregister_connectors()"

core-osv · Original source

Published 18 Jun 2025, 10:59 UTC

In the Linux kernel, the following vulnerability has been resolved: Revert "usb: typec: ucsi: add a common function ucsi_unregister_connectors()" The recent commit 87d0e2f41b8c ("usb: typec: ucsi: add a common function ucsi_unregister_connectors()") introduced a regression that caused NULL dereference at reading the power supply sysfs. It's a stale sysfs entry that should have been removed but remains with NULL ops. The commit changed the error handling to skip the entries after a NULL con->wq, and this leaves the power device unreleased. For addressing the regression, the straight revert is applied here. Further code improvements can be done from the scratch again.

osv:CVE-2022-49944

Kernel

Fixed versions: 5.19.8

Complete source record
{
  "id": "c78221a01df058abc0f1dcb7f35254bcb26cbf2332f82a85a84bb2a938b834a0",
  "url": "https://osv.dev/vulnerability/CVE-2022-49944",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Revert \"usb: typec: ucsi: add a common function ucsi_unregister_connectors()\"",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: Revert \"usb: typec: ucsi: add a common function ucsi_unregister_connectors()\" The recent commit 87d0e2f41b8c (\"usb: typec: ucsi: add a common function ucsi_unregister_connectors()\") introduced a regression that caused NULL dereference at reading the power supply sysfs. It's a stale sysfs entry that should have been removed but remains with NULL ops. The commit changed the error handling to skip the entries after a NULL con->wq, and this leaves the power device unreleased. For addressing the regression, the straight revert is applied here. Further code improvements can be done from the scratch again.",
    "evidence": "osv:CVE-2022-49944",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.19.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-49944",
      "aliases": [
        "CVE-2022-49944"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "87d0e2f41b8cc2018499be4e8003fa8c09b6f2fb"
                },
                {
                  "fixed": "3d4044c9e6d2e3f11f1f8b5e0ee8647d3eb1afad"
                },
                {
                  "fixed": "5f73aa2cf8bef4a39baa1591c3144ede4788826e"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49944.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.19.0"
                },
                {
                  "fixed": "5.19.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49944.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.486044370Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/3d4044c9e6d2e3f11f1f8b5e0ee8647d3eb1afad",
        "https://git.kernel.org/stable/c/5f73aa2cf8bef4a39baa1591c3144ede4788826e",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49944.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-49944",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49944.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-49944",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489847,
  "published_at": "2025-06-18T10:59:59.319+00:00"
}