{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "fe6cf984939d8e12cb33a99673c8d026c5135e68"
            },
            {
              "fixed": "a5786ec7ba7967433207f20214ff75768497a2c9"
            },
            {
              "fixed": "e6a07d29b0a60f3a4cfe77fe34eeb4b3fb38d6c4"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "79d8c89baa10612c1675972a632c65cdbe0936f6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "13f4910d81b62a214cdb28b47237198fa96078a2"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "7a4c3f7b47ba34b021a7747081f330bfb76a4271"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6e904f9e8cb0e39f60e1cdbea679f89346a563c2"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "fd720d3906877b3d2118cd480027e4bc6648f0c5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "effe3cc6d4fdd407457eb30f7b0ef094393f0d64"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "9435cddf1378d149d826bd7bd1448a44bf96868d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.10.273"
            },
            {
              "fixed": "5.11"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.15.224"
            },
            {
              "fixed": "5.16"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.1.191"
            },
            {
              "fixed": "6.2"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.6.160"
            },
            {
              "fixed": "6.7"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.12.114"
            },
            {
              "fixed": "6.13"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.18.52"
            },
            {
              "fixed": "6.19"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "7.2.5"
            },
            {
              "fixed": "7.3"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "7.3.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-99669.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/huge_memory: fix truncate racing with PMD zapping\n\nzap_huge_pmd_folio() removes the rmap before calling folio_mark_dirty().\nIf this was the last mapping, truncation can skip unmapping the folio\nand proceed without waiting for the PMD lock, racing with dirtying.\n\nifs_set_range_dirty() can oops if MADV_DONTNEED races with\nftruncate() on XFS, when we get the folio set dirty after it was found\nto not be mapped anymore.\n\nMove folio_mark_dirty() and folio_mark_accessed() before rmap removal,\nmatching the PTE zap path. This keeps the folio mapped while updating\nits state, so truncation must wait for the page table lock.\n\nFix generated by an LLM and sent by Chris Mason in private.\n\n[ david: simplify comment and description ]",
  "id": "CVE-2026-99669",
  "modified": "2026-11-20T06:46:05.729162646Z",
  "published": "2026-11-20T05:50:18.839Z",
  "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/a5786ec7ba7967433207f20214ff75768497a2c9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e6a07d29b0a60f3a4cfe77fe34eeb4b3fb38d6c4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99669.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99669"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "mm/huge_memory: fix truncate racing with PMD zapping"
}