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.
Published: 2026-08-10
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel vulnerability allows a local user to register the shadow stack or other special virtual memory areas with the userfaultfd interface. By invoking the UFFDIO_COPY ioctl, the attacker can inject arbitrary content into these protected regions, overwriting return addresses or other control data. This results in a kernel‑level write to protected memory that can be leveraged to execute arbitrary code with elevated privileges.

Affected Systems

All kernel versions that include the userfaultfd system call and have not applied the patch to reject VM_SHADOW_STACK and VM_SPECIAL are affected. The flaw is inherent to the kernel code and is independent of distribution or particular modules; any system running an unpatched kernel that uses userfaultfd can potentially exploit it.

Risk and Exploitability

The vulnerability provides a local user with a write‑to‑kernel memory capability, enabling privilege escalation. With a CVSS score of 7.0 the potential impact is moderate, but achieving arbitrary code execution in kernel space is severe. The EPSS score of < 1% indicates a very low likelihood of exploitation in the wild. The flaw is not listed in the CISA KEV catalog, yet its nature warrants timely remediation.

Generated by OpenCVE AI on August 13, 2026 at 09:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest kernel version that includes the commit rejecting VM_SHADOW_STACK and VM_SPECIAL in vma_can_userfault(); this patch disables the vulnerable registration path.
  • If an immediate kernel upgrade cannot be performed, rebuild the kernel with CONFIG_USERFAULTFD disabled to eliminate the vulnerable interface entirely.
  • Configure host or container security policies (such as seccomp, SELinux, or AppArmor) to block the UFFDIO_COPY ioctl for unprivileged processes, thereby preventing data injection into protected regions.

Generated by OpenCVE AI on August 13, 2026 at 09:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6466-1 linux security update
History

Sun, 23 Aug 2026 13:15:00 +0000


Thu, 13 Aug 2026 08:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-787

Wed, 12 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-94
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important


Mon, 10 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-787

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
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.
Title userfaultfd: prevent registration of special VMAs
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-23T12:46:02.309Z

Reserved: 2026-07-30T09:28:09.372Z

Link: CVE-2026-68166

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-10T13:20:03.110

Modified: 2026-08-23T13:16:34.650

Link: CVE-2026-68166

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-10T11:59:34Z

Links: CVE-2026-68166 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T09:45:03Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')