{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "744b7bdfa79edb30bb7d5f9ae43b65e0d147533a"
            },
            {
              "fixed": "f3c538a464e8c9c77844dbaa6aa62ba81f23b3d5"
            },
            {
              "fixed": "149ed0680f70ca2fcddb1917de1c3781c4f8860a"
            },
            {
              "fixed": "d1dde136b712ff5c0220f5a33175e01bd6b9e9bf"
            },
            {
              "fixed": "15b14c77c1cd7289ec365fabf40fd867b478950e"
            },
            {
              "fixed": "39c0b6196a3c157e3ce08165cfeddbbb54f67004"
            },
            {
              "fixed": "3757b8d50dc93ffd9aede64eeda136c1b8169b03"
            },
            {
              "fixed": "5afa562683a0fec2b427941cbe39e0a14ea79ada"
            },
            {
              "fixed": "ce29f6e741844a78ad1977f2a550ede27ecf95f8"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.8.0"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139598.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hns: Pin CQ buffer writable to match device DMA write access\n\nalloc_cq_buf() leaves user_access zero-initialized, but the device\nwrites CQEs into the CQ buffer. Set IB_ACCESS_LOCAL_WRITE so the buffer\nis pinned writable, matching the device's write access.",
  "id": "CVE-2026-139598",
  "modified": "2026-11-30T14:45:20.444376101Z",
  "published": "2026-11-30T13:36:14.030Z",
  "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/149ed0680f70ca2fcddb1917de1c3781c4f8860a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/15b14c77c1cd7289ec365fabf40fd867b478950e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3757b8d50dc93ffd9aede64eeda136c1b8169b03"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/39c0b6196a3c157e3ce08165cfeddbbb54f67004"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5afa562683a0fec2b427941cbe39e0a14ea79ada"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ce29f6e741844a78ad1977f2a550ede27ecf95f8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d1dde136b712ff5c0220f5a33175e01bd6b9e9bf"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f3c538a464e8c9c77844dbaa6aa62ba81f23b3d5"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139598.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139598"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "RDMA/hns: Pin CQ buffer writable to match device DMA write access"
}