{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "f7c72265927540fb24c99fee8a54da7db537656c"
            },
            {
              "fixed": "664e92a740fc61d651afe34c2e23552171c4f326"
            },
            {
              "fixed": "71f395aa263fb30e92bb252eed50e1c8622d6586"
            },
            {
              "fixed": "71b06766b7c49ed5f489b8bd104f82ff164d67a3"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.17.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/143xxx/CVE-2026-143139.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nhv_sock: Report no unread data before a channel is available\n\nThe Hyper-V transport is assigned before the asynchronous VMBus channel\noffer completes.  Its zero-initialized hvsock therefore has a NULL chan\nuntil hvs_open_connection() associates the channel with the socket.\n\nSIOCINQ can query the assigned transport while the socket is connecting,\nor after connect() fails once the transport has been assigned.  Unlike\npoll(), that path does not check stream_is_active() before calling the\ntransport's stream_has_data callback.  hvs_stream_has_data() then passes\nthe NULL channel to hvs_channel_readable_payload(), and any user in the\nguest can trigger an oops:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000178\n  RIP: 0010:hvs_stream_has_data+0x23/0x120\n  Call Trace:\n   \u003cTASK\u003e\n   ? vsock_ioctl+0x74/0xf0\n   sock_do_ioctl+0x42/0xf0\n   sock_ioctl+0x27d/0x310\n   do_vfs_ioctl+0x700/0x810\n   __x64_sys_ioctl+0x7d/0xf0\n\nReturn zero unread bytes when no channel is available, before accessing\nthe receive state or ring.  Leave the existing channel-backed receive\nhandling unchanged.\n\nThe oops was reproduced on an unmodified v7.4-rc1 kernel in a WSL2\nguest with a small user-space program, available on request.  With this\npatch, the program reports zero unread bytes and the kernel logs nothing.\nOther vsock_test cases were not run, as most of them need a host-side\npeer.\n\nAI assistance was used to identify the issue and develop the fix.",
  "id": "CVE-2026-143139",
  "modified": "2026-12-03T10:45:33.708233259Z",
  "published": "2026-12-03T09:19:45.881Z",
  "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/664e92a740fc61d651afe34c2e23552171c4f326"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/71b06766b7c49ed5f489b8bd104f82ff164d67a3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/71f395aa263fb30e92bb252eed50e1c8622d6586"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143139.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143139"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "hv_sock: Report no unread data before a channel is available"
}