# CVE-2026-68166: userfaultfd: prevent registration of special VMAs

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-08-10T11:59:34.576Z
- Modified: 2026-11-30T16:13:21.673Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

userfaultfd: prevent registration of special VMAs

Vova Tokarev says:

  userfaultfd allows registration on shadow stack VMAs.  With userfaultfd
  access, you can register on the shadow stack, discard a page ... and
  inject a page with chosen return addresses via UFFDIO_COPY.

Update vma_can_userfault() to reject VM_SHADOW_STACK.

While on it, also reject VM_SPECIAL so that if a driver would implement
vm_uffd_ops, it wouldn't be possible to register special VMAs with
userfaultfd.

Since VM_SPECIAL includes VM_DONTEXPAND which is set but hugetlb, exclude
hugetlb VMAs from the check for VM_SPECIAL.

(As written by CVE List.)

## Affected

- Linux Linux: from 54007f818206dc27309ca423df4c87dd160a7208 before d974b4b786214883bd8e56bda10b454c80fd6205; from 54007f818206dc27309ca423df4c87dd160a7208 before 495a28d5a100be1b232633f4c2dcc42ba10b3796; from 54007f818206dc27309ca423df4c87dd160a7208 before 165613191ad9d034bf17c00e3a142f9561597ec5; from 54007f818206dc27309ca423df4c87dd160a7208 before 0c26202b157f1efc3cd2f26f5c30f59b508a6a5d; from 54007f818206dc27309ca423df4c87dd160a7208 before 3c58f641e813c3c71039f8fd4d4e2a3aab713288; 6.6 (not affected: before 6.6; from 6.6.153 up to 6.6.*; from 6.12.105 up to 6.12.*; from 6.18.44 up to 6.18.*; from 7.1.6 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/d974b4b786214883bd8e56bda10b454c80fd6205>
- <https://git.kernel.org/stable/c/495a28d5a100be1b232633f4c2dcc42ba10b3796>
- <https://git.kernel.org/stable/c/165613191ad9d034bf17c00e3a142f9561597ec5>
- <https://git.kernel.org/stable/c/0c26202b157f1efc3cd2f26f5c30f59b508a6a5d>
- <https://git.kernel.org/stable/c/3c58f641e813c3c71039f8fd4d4e2a3aab713288>

## Sources

- CVE List: [CVE-2026-68166](https://www.cve.org/CVERecord?id=CVE-2026-68166), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-68166](https://nvd.nist.gov/vuln/detail/CVE-2026-68166), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-68166 · Whole record: https://cve.day/CVE-2026-68166.json · Rebuilt by cve.day 2026-11-30T16:17:31.851Z
