Skip to main content
Published on November 27, 2026
CVE-2026-99580 — Linux kernel, userfaultfd. A local user with no special privilege can corrupt kernel page tables and, according to Red Hat, gain root or crash the server. Kernels 6.9 to 7.3 are affected. If your server hosts several users, third-party code or containers, install your distribution’s fixed kernel and reboot.

The bug in two sentences

During a userfaultfd operation, the kernel allocates an anonymous memory structure (anon_vma) on a read-only shared mapping before checking that the mapping is eligible. On a later fork, the kernel wrongly copies shared hugetlb page tables without holding the required locks, and can end up using a page table that has already been freed. Red Hat describes the result as a use-after-free: a local attacker can use it to escalate privileges or crash the system. Affected versions:
  • Linux kernels since 6.9, starting with commit 867a43a34ff8a (“userfaultfd: use per-vma locks in userfaultfd operations”);
  • fixed upstream by commit 514c9247db30 (7.4-rc1), and in stable branches 6.12.118, 6.18.64, and 7.3.5.
The NVD record carries the CVSS 3.1 score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) assigned by kernel.org, which Red Hat also uses. Red Hat rates the flaw Important, Ubuntu gives it high priority.
As of November 27, 2026, no public exploit code is referenced, and the flaw is not in CISA’s KEV catalog of exploited vulnerabilities.

Sizing your exposure

The question to ask: can anyone other than you run code on the server? A shell account, a compromised website running as www-data or an untrusted container is enough: the flaw needs local access, not administrator access. To see the running kernel:
A kernel older than 6.9 is not affected. On distribution kernels, rely on the tables below rather than the version number alone: fixes are backported.

Updating the kernel, distro by distro

The fix is a kernel update followed by a reboot. Until the server reboots, the old kernel stays loaded. Before rebooting a production VPS, take a snapshot. If the server does not come back on the network, the KVM console gives you the boot screen.

Debian

Ubuntu

Ubuntu has not published a USN for this CVE yet. Follow Ubuntu’s CVE page and apply the checks in the next section in the meantime. As soon as the package is out:

RHEL, AlmaLinux, Rocky Linux

The Red Hat advisory came out on November 23, 2026, the AlmaLinux one on November 24. For Rocky Linux, check Red Hat’s CVE page and your distribution’s advisory.

Kubernetes

Every node needs the fixed kernel and a reboot. Drain nodes one at a time to keep the service up:

Reducing exposure until you can patch

Red Hat states that its default configuration limits exposure, because it restricts unprivileged users’ access to userfaultfd. Systems where that access was relaxed, or where untrusted workloads hold tracing privileges, remain exposed. Two settings, described in the kernel documentation, control that access:
  • the vm.unprivileged_userfaultfd sysctl, whose kernel default is 0: users without the CAP_SYS_PTRACE capability can then only handle page faults in user mode;
  • the /dev/userfaultfd device, governed by file permissions: a user who can open it bypasses the sysctl.
Its limits:
  • with the value 0, unprivileged users can still use userfaultfd in user mode: the kernel documentation only says the setting may make some vulnerabilities harder to exploit;
  • a container started with CAP_SYS_PTRACE escapes the restriction: do not grant it to an untrusted workload;
  • it does not replace the kernel update.

Verifying the mitigation

The first command should print vm.unprivileged_userfaultfd = 0. For /dev/userfaultfd, only root or a group you control should be able to open it. The check that matters is still the kernel: after the reboot, uname -v (Debian) or uname -r (Ubuntu, RHEL, AlmaLinux) should show a version equal to or later than the ones in the tables.

Rolling back the mitigation

If an application needed vm.unprivileged_userfaultfd = 1, restore that value once the fixed kernel is loaded, and remove the file created above.

What next?

Tightening userfaultfd only narrows the attack surface: the target is the fixed kernel, loaded after a reboot. For another local privilege escalation in the kernel, read Copy Fail (CVE-2026-31431); also turn on automatic security updates. For any technical question, open a ticket from your OnetSolutions customer area.