{"id":"CVE-2026-68166","aliases":["CVE-2026-68166"],"related":[],"kind":"vulnerability","state":"published","title":"userfaultfd: prevent registration of special VMAs","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nuserfaultfd: prevent registration of special VMAs\n\nVova Tokarev says:\n\n  userfaultfd allows registration on shadow stack VMAs.  With userfaultfd\n  access, you can register on the shadow stack, discard a page ... and\n  inject a page with chosen return addresses via UFFDIO_COPY.\n\nUpdate vma_can_userfault() to reject VM_SHADOW_STACK.\n\nWhile on it, also reject VM_SPECIAL so that if a driver would implement\nvm_uffd_ops, it wouldn't be possible to register special VMAs with\nuserfaultfd.\n\nSince VM_SPECIAL includes VM_DONTEXPAND which is set but hugetlb, exclude\nhugetlb VMAs from the check for VM_SPECIAL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nuserfaultfd: prevent registration of special VMAs\n\nVova Tokarev says:\n\n  userfaultfd allows registration on shadow stack VMAs.  With userfaultfd\n  access, you can register on the shadow stack, discard a page ... and\n  inject a page with chosen return addresses via UFFDIO_COPY.\n\nUpdate vma_can_userfault() to reject VM_SHADOW_STACK.\n\nWhile on it, also reject VM_SPECIAL so that if a driver would implement\nvm_uffd_ops, it wouldn't be possible to register special VMAs with\nuserfaultfd.\n\nSince VM_SPECIAL includes VM_DONTEXPAND which is set but hugetlb, exclude\nhugetlb VMAs from the check for VM_SPECIAL.","source":"cvelist"}],"published":"2026-08-10T11:59:34.576Z","modified":"2026-11-30T16:13:21.673Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"54007f818206dc27309ca423df4c87dd160a7208","fixed":"d974b4b786214883bd8e56bda10b454c80fd6205","status":"affected"},{"type":"git","introduced":"54007f818206dc27309ca423df4c87dd160a7208","fixed":"495a28d5a100be1b232633f4c2dcc42ba10b3796","status":"affected"},{"type":"git","introduced":"54007f818206dc27309ca423df4c87dd160a7208","fixed":"165613191ad9d034bf17c00e3a142f9561597ec5","status":"affected"},{"type":"git","introduced":"54007f818206dc27309ca423df4c87dd160a7208","fixed":"0c26202b157f1efc3cd2f26f5c30f59b508a6a5d","status":"affected"},{"type":"git","introduced":"54007f818206dc27309ca423df4c87dd160a7208","fixed":"3c58f641e813c3c71039f8fd4d4e2a3aab713288","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.153","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.105","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.44","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/d974b4b786214883bd8e56bda10b454c80fd6205","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/495a28d5a100be1b232633f4c2dcc42ba10b3796","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/165613191ad9d034bf17c00e3a142f9561597ec5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0c26202b157f1efc3cd2f26f5c30f59b508a6a5d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3c58f641e813c3c71039f8fd4d4e2a3aab713288","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:43:33.609Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68166","url":"https://www.cve.org/CVERecord?id=CVE-2026-68166","licence":"CVE Terms of Use","modified":"2026-11-06T16:45:00.223Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68166","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68166","licence":"Public domain","modified":"2026-11-30T16:13:21.673Z"}],"updatedAt":"2026-11-30T16:17:31.851Z","epss":{"score":0.00206,"percentile":0.11308,"date":"2026-12-01T12:00:22.000Z"}}