{
  "id": "CVE-2025-38618",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38618",
  "published_at": "2025-08-22T13:01:24.678Z",
  "title": "vsock: Do not allow binding to VMADDR_PORT_ANY",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nvsock: Do not allow binding to VMADDR_PORT_ANY\n\nIt is possible for a vsock to autobind to VMADDR_PORT_ANY. This can\ncause a use-after-free when a connection is made to the bound socket.\nThe socket returned by accept() also has port VMADDR_PORT_ANY but is not\non the list of unbound sockets. Binding it will result in an extra\nrefcount decrement similar to the one fixed in fcdd2242c023 (vsock: Keep\nthe binding until socket destruction).\n\nModify the check in __vsock_bind_connectible() to also prevent binding\nto VMADDR_PORT_ANY.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [
    {
      "repo": "nanabingies/cve-2025-38618",
      "url": "https://github.com/nanabingies/cve-2025-38618",
      "created_at": "2026-11-20T11:15:55Z",
      "first_seen_at": "2026-11-20T11:45:51.86Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-07-02T21:36:48Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= d021c344051af91f42c5ba9fdedc176740cbd238, \u003c c04a2c1ca25b9b23104124d3b2d349d934e302de",
          "\u003e= d021c344051af91f42c5ba9fdedc176740cbd238, \u003c d1a5b1964cef42727668ac0d8532dae4f8c19386",
          "\u003e= d021c344051af91f42c5ba9fdedc176740cbd238, \u003c cf86704798c1b9c46fa59dfc2d662f57d1394d79",
          "\u003e= d021c344051af91f42c5ba9fdedc176740cbd238, \u003c f138be5d7f301fddad4e65ec66dfc3ceebf79be3",
          "\u003e= d021c344051af91f42c5ba9fdedc176740cbd238, \u003c 44bd006d5c93f6a8f28b106cbae2428c5d0275b7",
          "\u003e= d021c344051af91f42c5ba9fdedc176740cbd238, \u003c 32950b1907919be86a7a2697d6f93d57068b3865",
          "\u003e= d021c344051af91f42c5ba9fdedc176740cbd238, \u003c 8f01093646b49f6330bb2d36761983fd829472b1",
          "\u003e= d021c344051af91f42c5ba9fdedc176740cbd238, \u003c d73960f0cf03ef1dc9e96ec7a20e538accc26d87",
          "\u003e= d021c344051af91f42c5ba9fdedc176740cbd238, \u003c aba0c94f61ec05315fa7815d21aefa4c87f6a9f4"
        ],
        "fixed_in": [
          "c04a2c1ca25b9b23104124d3b2d349d934e302de",
          "d1a5b1964cef42727668ac0d8532dae4f8c19386",
          "cf86704798c1b9c46fa59dfc2d662f57d1394d79",
          "f138be5d7f301fddad4e65ec66dfc3ceebf79be3",
          "44bd006d5c93f6a8f28b106cbae2428c5d0275b7",
          "32950b1907919be86a7a2697d6f93d57068b3865",
          "8f01093646b49f6330bb2d36761983fd829472b1",
          "d73960f0cf03ef1dc9e96ec7a20e538accc26d87",
          "aba0c94f61ec05315fa7815d21aefa4c87f6a9f4"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.9"
        ],
        "fixed_in": [
          "0",
          "5.4.297",
          "5.10.241",
          "5.15.190",
          "6.1.148",
          "6.6.102",
          "6.12.42",
          "6.15.10",
          "6.16.1",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to c04a2c1ca25b9b23104124d3b2d349d934e302de or d1a5b1964cef42727668ac0d8532dae4f8c19386 or cf86704798c1b9c46fa59dfc2d662f57d1394d79 or f138be5d7f301fddad4e65ec66dfc3ceebf79be3 or 44bd006d5c93f6a8f28b106cbae2428c5d0275b7 or 32950b1907919be86a7a2697d6f93d57068b3865 or 8f01093646b49f6330bb2d36761983fd829472b1 or d73960f0cf03ef1dc9e96ec7a20e538accc26d87 or aba0c94f61ec05315fa7815d21aefa4c87f6a9f4 or later.",
      "Upgrade Linux to 0 or 5.4.297 or 5.10.241 or 5.15.190 or 6.1.148 or 6.6.102 or 6.12.42 or 6.15.10 or 6.16.1 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
