CVE-2026-99703
mm/hugetlb: fix mremap deadlock when PMD sharing is possible
Check your servers for CVE-2026-99703
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99703 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
mm/hugetlb: fix mremap deadlock when PMD sharing is possible
move_hugetlb_page_tables() holds the mapping's i_mmap_rwsem for write while moving hugetlb PTEs. This prevents races with truncation and protects huge_pmd_unshare(), but the move loop must not call helpers that can acquire the same rwsem for read.
huge_pte_alloc() can do that when the destination can use PMD sharing: it may call huge_pmd_share(), which takes i_mmap_rwsem for read while searching for a shareable PMD table. Calling it while the move path already holds i_mmap_rwsem for write can deadlock.
Avoid that path for PMD-sized hugetlb mappings that can use PMD sharing. Instead of allocating or sharing the destination page table while moving, zap the source range and let the destination fault path populate or share the PMD lazily.
Reuse the hugetlb unmap logic for the source-side zap by splitting the core loop out of __unmap_hugepage_range(). The wrapper keeps the existing tlb_start_vma(), tlb_end_vma() and huge_pmd_unshare_flush() behavior, while move_hugetlb_page_tables() can reuse the unmap loop with its existing mmu_gather.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.80% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 550a7d60bd5e35a56942dba6d8a26752beb26c9f, before 02e932981359ff8531293c80f5a974b16b1d793d affected from 550a7d60bd5e35a56942dba6d8a26752beb26c9f, before 8886c9c5e008549808b89ae2bb7c736680456497 affected from 550a7d60bd5e35a56942dba6d8a26752beb26c9f, before 6c3cf326b108ede4e9b3c32059f195bf99193ca0 affected from 550a7d60bd5e35a56942dba6d8a26752beb26c9f, before dd2381dabe0761b6a200a9b4f2eca280e5986faa affected from 550a7d60bd5e35a56942dba6d8a26752beb26c9f, before 71568db3f9d90c373881c6d438db9afc47a1755b affected from 550a7d60bd5e35a56942dba6d8a26752beb26c9f, before 92daa8652f88c8cfc05f4899a8408a04b02f211e
Other versions: unaffected
|
| Linux |
affected 5.16 unaffected before 5.16 unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.64 up to and including 6.18.* unaffected from 7.3.5 up to and including 7.3.* unaffected 7.4-rc2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99703 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99703
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99703
trivy image --scanners vuln IMAGE | grep CVE-2026-99703
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/02e932981359ff8531293c80f5a974b16b1d793d git.kernel.org
- https://git.kernel.org/stable/c/8886c9c5e008549808b89ae2bb7c736680456497 git.kernel.org
- https://git.kernel.org/stable/c/6c3cf326b108ede4e9b3c32059f195bf99193ca0 git.kernel.org
- https://git.kernel.org/stable/c/dd2381dabe0761b6a200a9b4f2eca280e5986faa git.kernel.org
- https://git.kernel.org/stable/c/71568db3f9d90c373881c6d438db9afc47a1755b git.kernel.org
- https://git.kernel.org/stable/c/92daa8652f88c8cfc05f4899a8408a04b02f211e git.kernel.org
Source: the record CVE-2026-99703 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse