# CVE-2026-99703: mm/hugetlb: fix mremap deadlock when PMD sharing is possible

Status: published. Published: 2026-11-20. Updated: 2026-11-23.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 550a7d60bd5e35a56942dba6d8a26752beb26c9f; < 02e932981359ff8531293c80f5a974b16b1d793d (affected, git); ≥ 550a7d60bd5e35a56942dba6d8a26752beb26c9f; < 8886c9c5e008549808b89ae2bb7c736680456497 (affected, git); ≥ 550a7d60bd5e35a56942dba6d8a26752beb26c9f; < 6c3cf326b108ede4e9b3c32059f195bf99193ca0 (affected, git); ≥ 550a7d60bd5e35a56942dba6d8a26752beb26c9f; < dd2381dabe0761b6a200a9b4f2eca280e5986faa (affected, git); ≥ 550a7d60bd5e35a56942dba6d8a26752beb26c9f; < 71568db3f9d90c373881c6d438db9afc47a1755b (affected, git); ≥ 550a7d60bd5e35a56942dba6d8a26752beb26c9f; < 92daa8652f88c8cfc05f4899a8408a04b02f211e (affected, git). Source: CNA: Linux
- Linux / Linux: 5.16 (affected); ≥ 0; < 5.16 (unaffected, semver); ≥ 6.1.193; ≤ 6.1.* (unaffected, semver); ≥ 6.6.163; ≤ 6.6.* (unaffected, semver); ≥ 6.12.119; ≤ 6.12.* (unaffected, semver); ≥ 6.18.64; ≤ 6.18.* (unaffected, semver); ≥ 7.3.5; ≤ 7.3.* (unaffected, semver); ≥ 7.4-rc2; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.17% as of 2026-11-22; percentile 5.94%

- SSVC: Not available

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/02e932981359ff8531293c80f5a974b16b1d793d (CNA: Linux)

- https://git.kernel.org/stable/c/8886c9c5e008549808b89ae2bb7c736680456497 (CNA: Linux)

- https://git.kernel.org/stable/c/6c3cf326b108ede4e9b3c32059f195bf99193ca0 (CNA: Linux)

- https://git.kernel.org/stable/c/dd2381dabe0761b6a200a9b4f2eca280e5986faa (CNA: Linux)

- https://git.kernel.org/stable/c/71568db3f9d90c373881c6d438db9afc47a1755b (CNA: Linux)

- https://git.kernel.org/stable/c/92daa8652f88c8cfc05f4899a8408a04b02f211e (CNA: Linux)

- https://git.kernel.org/stable/c/71568db3f9d90c373881c6d438db9afc47a1755b (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/92daa8652f88c8cfc05f4899a8408a04b02f211e (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/dd2381dabe0761b6a200a9b4f2eca280e5986faa (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-99703; retrieved 2026-11-23; source updated 2026-11-23

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99703; retrieved 2026-11-20; source updated 2026-11-20

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-99703; retrieved 2026-11-23; source updated Not reported

Revision: 0e1dca0acbf672ab0c3a5aa4c9daa241bcace2b9fc5dce1d412ac664e014c7a6

Canonical: https://y2.dev/cve/CVE-2026-99703

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.