{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "3ef0279bb0031f67537bd8972899a6a23d3064d7"
            },
            {
              "fixed": "05f7cbf026f76222512e8e8860390700cc9ae12f"
            },
            {
              "fixed": "61faf08159ba3926db91d2053f7667d539b0cbf1"
            },
            {
              "fixed": "fd797069f18c66c1b75743a93773028b55a8dad9"
            },
            {
              "fixed": "0ca849f565874ff3638fb673aced5a4d208aaa67"
            },
            {
              "fixed": "5c8032e3c7baa7820b524fda81dd5a683136a442"
            },
            {
              "fixed": "5564d7a654a7be040d7dd55fd9dd20dd4e0beab2"
            },
            {
              "fixed": "08e4d674c109f4a4002efdb1b3066430abe62404"
            },
            {
              "fixed": "909307cea08aff4e486cdb7491de5c76a2c31341"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.15.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.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138816.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-rdma: don't complete a request after a bogus remote invalidation\n\nWhen a remote invalidation names an rkey that is not the one we handed out\nfor this request, nvme_rdma_process_nvme_rsp() logs and schedules error\nrecovery, then falls through to nvme_rdma_end_request().  The request is\ncompleted with req-\u003emr never invalidated, and nvme_rdma_unmap_data() hands\nit back with ib_mr_pool_put(), which only puts it on a list.  The rkey\nstays valid and still maps the pages the completed read filled, so a\ncontroller that sent the bogus invalidation can write into those pages\nafter pread() has returned.\n\nReturn instead, the way the local invalidation path below already does,\nand leave the request for error recovery to cancel.",
  "id": "CVE-2026-138816",
  "modified": "2026-11-30T14:45:48.264047346Z",
  "published": "2026-11-30T13:25:15.037Z",
  "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/05f7cbf026f76222512e8e8860390700cc9ae12f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/08e4d674c109f4a4002efdb1b3066430abe62404"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0ca849f565874ff3638fb673aced5a4d208aaa67"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5564d7a654a7be040d7dd55fd9dd20dd4e0beab2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5c8032e3c7baa7820b524fda81dd5a683136a442"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/61faf08159ba3926db91d2053f7667d539b0cbf1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/909307cea08aff4e486cdb7491de5c76a2c31341"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fd797069f18c66c1b75743a93773028b55a8dad9"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138816.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138816"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "nvme-rdma: don't complete a request after a bogus remote invalidation"
}