{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "38607c62b34b46317c46d5baf1df03ac6e48a1c6"
            },
            {
              "fixed": "f437fcb76d448a396940498aba278ac0ad8d715a"
            },
            {
              "fixed": "456932cdc6eda70b5ad4c628556098846699ab03"
            },
            {
              "fixed": "0193e83368022a308d19ee0293f55a4f5d548e40"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.15.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99648.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/vma: call -\u003emay_split() before a partial merge\n\nA driver can use the -\u003emay_split() hook to forbid a VMA boundary at\ncertain addresses.\n\nA device-dax device is a character device that gives raw access to a\nrange of memory through mmap(). device-dax refuses any address that is not\na multiple of the device's alignment through vm_ops-\u003emay_split.\n\nvma_merge_existing_range() can move boundaries, but does not call\nvm_ops-\u003emay_split.\n\nIf a range at the edge of a VMA gets the attributes of the adjacent VMA,\nthe function moves only that range over to the neighbour: one VMA shrinks\nand the other grows. This is a partial merge, and vma_modify() tries it\nbefore any split.\n\nTake a device-dax VMA that lies next to another VMA of the same file.\nThe user calls mprotect() on the one page of the first VMA that touches\nthe second VMA, and asks for the protection that the second VMA already\nhas. The result is a partial merge. It puts the boundary inside a 1 GiB\nmapping, which is a single leaf entry at the PUD level.\n\nAs part of the merge, the kernel looks for a huge PMD to split at the\nnew boundary. That code does not expect a PUD leaf:\n\n    vma_merge_existing_range()\n      commit_merge()\n        vma_adjust_trans_huge()\n          split_huge_pmd_address()\n            mm_find_pmd()\n              treats the PUD leaf as a pointer to a PMD table,\n              so the \"table\" is the device memory that the leaf maps\n            __split_huge_pmd()\n              reads a PMD that the user wrote to the device memory\n              folio_put() on the folio that this PMD names\n\nBad. While the code must at some point be taught to split PUD entries as\nwell, the issue here is that we move VMA boundaries such that they are\nincompatible with the driver.\n\nFix this by calling -\u003emay_split() on the address that a partial merge\nwould move the boundary to, and by abandoning the merge if the driver\nrefuses. vma_modify() then tries the split, which fails with -EINVAL.\n\nFactor out existing split handling into check_split() and reuse it.\n\nFix generated by an LLM and sent by Chris Mason in private.\n\n[ david: improve description; cleanup the code ]",
  "id": "CVE-2026-99648",
  "modified": "2026-11-20T06:45:55.777506411Z",
  "published": "2026-11-20T05:50:02.280Z",
  "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/0193e83368022a308d19ee0293f55a4f5d548e40"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/456932cdc6eda70b5ad4c628556098846699ab03"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f437fcb76d448a396940498aba278ac0ad8d715a"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99648.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99648"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "mm/vma: call -\u003emay_split() before a partial merge"
}