Skip to content
Heist/ feed
Back to feed
MediumFix available

usb: typec: ucsi: Fix NULL pointer access

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: Fix NULL pointer access Resources should be released only after all threads that utilize them have been destroyed. This commit ensures that resources are not released prematurely by waiting for the associated workqueue to complete before deallocating them.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.133, 6.12.19, 6.13.7, 6.6.83
CVEs
CVE-2025-21918
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 00:32 UTC · Revision 1

Source evidence

usb: typec: ucsi: Fix NULL pointer access

core-osv · Original source

Published 1 Apr 2025, 15:40 UTC

In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: Fix NULL pointer access Resources should be released only after all threads that utilize them have been destroyed. This commit ensures that resources are not released prematurely by waiting for the associated workqueue to complete before deallocating them.

osv:CVE-2025-21918

Kernel

Fixed versions: 6.1.133, 6.6.83, 6.12.19, 6.13.7

Complete source record
{
  "id": "c178420067a0bdf743e604881838ef73b9588160d754dc7f1baa5d4cfb8edcfe",
  "url": "https://osv.dev/vulnerability/CVE-2025-21918",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "usb: typec: ucsi: Fix NULL pointer access",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: Fix NULL pointer access Resources should be released only after all threads that utilize them have been destroyed. This commit ensures that resources are not released prematurely by waiting for the associated workqueue to complete before deallocating them.",
    "evidence": "osv:CVE-2025-21918",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.133",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.83",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.19",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.13.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-21918",
      "aliases": [
        "CVE-2025-21918"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b9aa02ca39a49740926c2c450a1505a4a0f8954a"
                },
                {
                  "fixed": "7a735a8a46f6ebf898bbefd96659ca5da798bce0"
                },
                {
                  "fixed": "46fba7be161bb89068958138ea64ec33c0b446d4"
                },
                {
                  "fixed": "079a3e52f3e751bb8f5937195bdf25c5d14fdff0"
                },
                {
                  "fixed": "592a0327d026a122e97e8e8bb7c60cbbe7697344"
                },
                {
                  "fixed": "b13abcb7ddd8d38de769486db5bd917537b32ab1"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21918.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.133"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.83"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.19"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.13.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21918.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.791296323Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/079a3e52f3e751bb8f5937195bdf25c5d14fdff0",
        "https://git.kernel.org/stable/c/46fba7be161bb89068958138ea64ec33c0b446d4",
        "https://git.kernel.org/stable/c/592a0327d026a122e97e8e8bb7c60cbbe7697344",
        "https://git.kernel.org/stable/c/7a735a8a46f6ebf898bbefd96659ca5da798bce0",
        "https://git.kernel.org/stable/c/b13abcb7ddd8d38de769486db5bd917537b32ab1",
        "https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21918.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-21918",
        "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/2025/21xxx/CVE-2025-21918.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-21918",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513509,
  "published_at": "2025-04-01T15:40:53.561+00:00"
}