{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "bd74fdaea146029e4fa12c6de89adbe0779348a9"
            },
            {
              "fixed": "a352391f8f9c035d3b2a8a9fe6e3fd2e1c4ec44e"
            },
            {
              "fixed": "4b428d9d24e303f92819119c66858f5de38bbc78"
            },
            {
              "fixed": "4e5eb180d37cb222ed3c9b6772c6044e16c2a1c3"
            },
            {
              "fixed": "65a9bf08a3e4d6e58df211ed900c16bafb79b267"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.1.0"
            },
            {
              "fixed": "6.12.118"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.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-99735.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/mglru: don't use stack pointers when walking PUD and PMD tables\n\nMGLRU passes stack copies of page-table entries in walk_pud_range() and\nwalk_pmd_range() when walking to the next level. These copies can become\nstale when khugepaged or MADV_DONTNEED (CONFIG_PT_RECLAIM) removes a PTE\ntable concurrently.\n\nThis pattern dates back to commit bd74fdaea146 (\"mm: multi-gen LRU:\nsupport page table walks\"). Likely, earlier locking masked the latent\nbug. Later changes exposed it: commit 1d65b771bc08 (\"mm/khugepaged:\nretract_page_tables() without mmap or vma lock\") allowed concurrent\nretraction, and commit cf4a65539c13 (\"memcg-v1: no need for memcg locking\nfor MGLRU\") dropped the walker's outer RCU protection.\n\nThe fix is simple, so just fix the original commit so we don't have to\nspeculate. To fix it, pass the actual PMD/PUD pointers. This restores the\nRCU-protected lookup and validation against the live PMD. Note that the PUD\nhandling is required as well to handle folded page tables correctly in all\ncases.\n\nFix generated by an LLM and sent by Josef Bacik in private.\n\n[ david: handle walk_pud_range() as well, clarify+simplify description,\n         adjust Fixes: ]",
  "id": "CVE-2026-99735",
  "modified": "2026-11-20T06:45:32.474393873Z",
  "published": "2026-11-20T05:51:09.038Z",
  "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/4b428d9d24e303f92819119c66858f5de38bbc78"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4e5eb180d37cb222ed3c9b6772c6044e16c2a1c3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/65a9bf08a3e4d6e58df211ed900c16bafb79b267"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a352391f8f9c035d3b2a8a9fe6e3fd2e1c4ec44e"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99735.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99735"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "mm/mglru: don't use stack pointers when walking PUD and PMD tables"
}