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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-08-10T11:59:34.576Z
- **Modified:** 2026-11-06T17:19:20.417Z

## Who should check

- Anyone running Linux \>= 54007f818206dc27309ca423df4c87dd160a7208, \< d974b4b786214883bd8e56bda10b454c80fd6205; \>= 54007f818206dc27309ca423df4c87dd160a7208, \< 495a28d5a100be1b232633f4c2dcc42ba10b3796; \>= 54007f818206dc27309ca423df4c87dd160a7208, \< 165613191ad9d034bf17c00e3a142f9561597ec5; \>= 54007f818206dc27309ca423df4c87dd160a7208, \< 0c26202b157f1efc3cd2f26f5c30f59b508a6a5d; \>= 54007f818206dc27309ca423df4c87dd160a7208, \< 3c58f641e813c3c71039f8fd4d4e2a3aab713288
- Anyone running Linux 6.6

## 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.

## Affected and fixed versions

- Linux: \>= 54007f818206dc27309ca423df4c87dd160a7208, \< d974b4b786214883bd8e56bda10b454c80fd6205; \>= 54007f818206dc27309ca423df4c87dd160a7208, \< 495a28d5a100be1b232633f4c2dcc42ba10b3796; \>= 54007f818206dc27309ca423df4c87dd160a7208, \< 165613191ad9d034bf17c00e3a142f9561597ec5; \>= 54007f818206dc27309ca423df4c87dd160a7208, \< 0c26202b157f1efc3cd2f26f5c30f59b508a6a5d; \>= 54007f818206dc27309ca423df4c87dd160a7208, \< 3c58f641e813c3c71039f8fd4d4e2a3aab713288 (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 3c58f641e813c3c71039f8fd4d4e2a3aab713288 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68166. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68166.md
Affected: Linux >= 54007f818206dc27309ca423df4c87dd160a7208, < d974b4b786214883bd8e56bda10b454c80fd6205; >= 54007f818206dc27309ca423df4c87dd160a7208, < 495a28d5a100be1b232633f4c2dcc42ba10b3796; >= 54007f818206dc27309ca423df4c87dd160a7208, < 165613191ad9d034bf17c00e3a142f9561597ec5; >= 54007f818206dc27309ca42…
Fixed in: Linux 495a28d5a100be1b232633f4c2dcc42ba10b3796, Linux 165613191ad9d034bf17c00e3a142f9561597ec5, Linux 0c26202b157f1efc3cd2f26f5c30f59b508a6a5d, Linux 3c58f641e813c3c71039f8fd4d4e2a3aab713288

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-68166 being exploited?

There is no confirmed exploitation: CVE-2026-68166 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-68166?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-68166?

Linux \>= 54007f818206dc27309ca423df4c87dd160a7208, \< d974b4b786214883bd8e56bda10b454c80fd6205; \>= 54007f818206dc27309ca423df4c87dd160a7208, \< 495a28d5a100be1b232633f4c2dcc42ba10b3796; \>= 54007f818206dc27309ca423df4c87dd160a7208, \< 165613191ad9d034bf17c00e3a142f9561597ec5; \>= 54007f818206dc27309ca423df4c87dd160a7208, \< 0c26202b157f1efc3cd2f26f5c30f59b508a6a5d; \>= 54007f818206dc27309ca423df4c87dd160a7208, \< 3c58f641e813c3c71039f8fd4d4e2a3aab713288; Linux 6.6.

### Is there a fix for CVE-2026-68166?

Yes. Fixed in Linux 495a28d5a100be1b232633f4c2dcc42ba10b3796, Linux 165613191ad9d034bf17c00e3a142f9561597ec5, Linux 0c26202b157f1efc3cd2f26f5c30f59b508a6a5d, Linux 3c58f641e813c3c71039f8fd4d4e2a3aab713288. Upgrade Linux to 3c58f641e813c3c71039f8fd4d4e2a3aab713288 or later.

### How do I check if I'm affected by CVE-2026-68166?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68166>

HTML: <https://flawdb.com/CVE-2026-68166> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68166>
