{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "7d2eba0557c18f7522b98befed98799990dd4fdb"
            },
            {
              "fixed": "6534f1867a63c8a40a27d96b50c9f0b4ffaf6d5f"
            },
            {
              "fixed": "931c01918ebb75b589db1c68e07713eac2e0aabd"
            },
            {
              "fixed": "6bfd20c1f7ef92417ff4efd878ca52f9ac51f9d0"
            },
            {
              "fixed": "ba2f1f92ddfabd340c9248fd2380104f717ee8b1"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.5.0"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142794.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm: khugepaged: fix folio is used after pte_unmap_unlock()\n\nAfter the page table lock has dropped, the folio can be freed\nconcurrently.  The trace_mm_khugepaged_scan_pmd() is left with a dangling\nfolio pointer.\n\nSo using the folio_pfn() before dropping the page table lock, closing\nuse-after-free window.\n\nAnd other pre-existing bug, When the `for (i = 0; i \u003c HPAGE_PMD_NR; i++)`\niteration to terminate and the folio operation preceding is normal, but\npfn will be incorrect.  so we really only trace the PFN if it really was\nproblematic.",
  "id": "CVE-2026-142794",
  "modified": "2026-12-03T04:45:47.875276642Z",
  "published": "2026-12-03T03:11:27.071Z",
  "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/6534f1867a63c8a40a27d96b50c9f0b4ffaf6d5f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6bfd20c1f7ef92417ff4efd878ca52f9ac51f9d0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/931c01918ebb75b589db1c68e07713eac2e0aabd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ba2f1f92ddfabd340c9248fd2380104f717ee8b1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142794.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142794"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "mm: khugepaged: fix folio is used after pte_unmap_unlock()"
}