Skip to content
Heist/ feed
Back to feed
HighFix available

vsock/virtio: discard packets if the transport changes

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: vsock/virtio: discard packets if the transport changes If the socket has been de-assigned or assigned to another transport, we must discard any packets received because they are not expected and would cause issues when we access vsk->transport. A possible scenario is described by Hyunwoo Kim in the attached link, where after a first connect() interrupted by a signal, and a second connect() failed, we can find `vsk->transport` at NULL, leading to a NULL pointer dereference.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.234, 5.15.177, 6.1.127, 6.12.11, 6.6.74
CVEs
CVE-2025-21669
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 16:36 UTC · Revision 1

Source evidence

vsock/virtio: discard packets if the transport changes

core-osv · Original source

Published 31 Jan 2025, 11:25 UTC

In the Linux kernel, the following vulnerability has been resolved: vsock/virtio: discard packets if the transport changes If the socket has been de-assigned or assigned to another transport, we must discard any packets received because they are not expected and would cause issues when we access vsk->transport. A possible scenario is described by Hyunwoo Kim in the attached link, where after a first connect() interrupted by a signal, and a second connect() failed, we can find `vsk->transport` at NULL, leading to a NULL pointer dereference.

osv:CVE-2025-21669

Kernel

Fixed versions: 5.10.234, 5.15.177, 6.1.127, 6.6.74, 6.12.11

Complete source record
{
  "id": "34144d050923222ada3c6aa2c2a3f11409a1c879b395cd092b93262740164f89",
  "url": "https://osv.dev/vulnerability/CVE-2025-21669",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "vsock/virtio: discard packets if the transport changes",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: vsock/virtio: discard packets if the transport changes If the socket has been de-assigned or assigned to another transport, we must discard any packets received because they are not expected and would cause issues when we access vsk->transport. A possible scenario is described by Hyunwoo Kim in the attached link, where after a first connect() interrupted by a signal, and a second connect() failed, we can find `vsk->transport` at NULL, leading to a NULL pointer dereference.",
    "evidence": "osv:CVE-2025-21669",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.234",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.177",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.127",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.74",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.11",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-21669",
      "aliases": [
        "CVE-2025-21669"
      ],
      "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": "c0cfa2d8a788fcf45df5bf4070ab2474c88d543a"
                },
                {
                  "fixed": "18a7fc371d1dbf8deff16c2dd9292bcc73f43040"
                },
                {
                  "fixed": "6486915fa661584d70e8e7e4068c6c075c67dd6d"
                },
                {
                  "fixed": "88244163bc7e7b0ce9dd7bf4c8a563b41525c3ee"
                },
                {
                  "fixed": "d88b249e14bd0ee1e46bbe4f456e22e01b8c68de"
                },
                {
                  "fixed": "677579b641af109613564460a4e3bdcb16850b61"
                },
                {
                  "fixed": "2cb7c756f605ec02ffe562fb26828e4bcc5fdfc1"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21669.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.234"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.177"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.127"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.74"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.11"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21669.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.546667015Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-265688.html",
        "https://git.kernel.org/stable/c/18a7fc371d1dbf8deff16c2dd9292bcc73f43040",
        "https://git.kernel.org/stable/c/2cb7c756f605ec02ffe562fb26828e4bcc5fdfc1",
        "https://git.kernel.org/stable/c/6486915fa661584d70e8e7e4068c6c075c67dd6d",
        "https://git.kernel.org/stable/c/677579b641af109613564460a4e3bdcb16850b61",
        "https://git.kernel.org/stable/c/88244163bc7e7b0ce9dd7bf4c8a563b41525c3ee",
        "https://git.kernel.org/stable/c/d88b249e14bd0ee1e46bbe4f456e22e01b8c68de",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21669.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-21669",
        "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-21669.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-21669",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497448,
  "published_at": "2025-01-31T11:25:33.185+00:00"
}