Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocal unprivileged shell account
-
DeliveryOpen target /proc/<pid>/pagemap
-
ExploitIssue PAGEMAP_SCAN ioctl while target exits
-
Executionwalk_hugetlb_range loads freed vma_lock
-
Persistdown_read on freed rw_semaphore (UAF)
-
ImpactCorrupt kernel memory, escalate privileges
Vulnerability Assessment
| Exploitation Conditions | Requires a local account on the host: an unprivileged user calls the PAGEMAP_SCAN ioctl on an mm obtained via /proc/<pid>/pagemap without the code holding an mm_users reference, and must race the scan against the target reaching exit_mmap()/__hugetlb_zap_end() concurrently so the hugetlb_vma_lock is freed under the read lock. The flaw specifically needs the walk to traverse a shared hugetlb VMA, but notably does NOT require any huge pages to be configured - hugetlb_reserve_pages() allocates the lock before the VM_NORESERVE early return, so any unprivileged user can reach it on default systems. Limiting factors: exploitation is local only (AV:L), needs a valid local login (PR:L), and depends on winning the concurrency window against the exiting task, though the attacker controls both the scanning and target processes and can orchestrate the timing. |
| Impact | Signals are mostly consistent and point to a genuine but non-emergency local-privilege-escalation risk. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 7.8 HIGH) describes a locally reachable, low-privilege, no-user-interaction flaw with high confidentiality, integrity and availability impact - consistent with a kernel use-after-free of a freed rw_semaphore that any unprivileged local user can trigger. The exploitation-likelihood signals pull the other way: EPSS is 0.17% (6th percentile), there is no CISA KEV listing, and no public exploit was identified - the only references are the kernel.org stable fix commits, not working exploit code. The vuln.today decision label is 'this_week', i.e. patch promptly but not an emergency. Net: this is a real, patch-worthy local kernel vulnerability affecting an enormously deployed product, but current evidence shows no active exploitation and no weaponized PoC, so it is priority for routine kernel patching rather than an incident-response fire. Two data caveats: the 'Information Disclosure' tag understates the issue - the C:H/I:H/A:H memory-corruption primitive is broader than disclosure - and CWE is listed as N/A despite a clearly described use-after-free. |
| Exploit ScenarioDerived | A local unprivileged user opens /proc/<pid>/pagemap for a process they control and issues the PAGEMAP_SCAN ioctl, while concurrently forcing that target process to exit so exit_mmap() runs under the read lock. If the scan's walk_hugetlb_range() loads vma->vm_private_data just as __hugetlb_zap_end() frees the hugetlb_vma_lock, the scanner down_read()s a freed rw_semaphore, yielding a use-after-free that can be shaped toward memory corruption and privilege escalation. No public exploit identified at time of analysis; the referenced links are the upstream fix commits, not exploit code, and no huge pages need to be configured to reach the bug. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 22, 2026
Local privilege escalation in the Linux kernel's /proc/<pid>/pagemap PAGEMAP_SCAN handler: do_pagemap_scan() takes mmap_read_lock() on an mm obtained without an mm_users reference, so a shared hugetlb VMA's hugetlb_vma_lock can be freed by a concurrently exiting task and then read-locked, producing a use-after-free that an unprivileged local user controls the timing of. Affected are kernels from 6.7 onward (including the 6.12 and 6.18 stable branches), fixed by upstream commits abc9c0f4f850, 14a853bf3e6f, 6e2299a9356d and 4fb975471717 and released in 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1. No public exploit code was identified at time of analysis and there is no CISA KEV entry; EPSS is 0.17% (6th percentile), reflecting a local-only, race-dependent attack that nevertheless yields high confidentiality and integrity impact once won.
RemediationAI
Vendor-released patch: upgrade to Linux 6.12.117, 6.18.61, 7.3.2 or 7.4-rc1, or cherry-pick the corresponding stable commit (abc9c0f4f850d23e55f4230cd0f54938a64267bf, 14a853bf3e6f0dd62ff479a36613411237dec24c, 6e2299a9356de3364e193d6eaf123b90d7698c1d, 4fb975471717c953f912776bb60301add1ffae11) which pins mm_users across do_pagemap_scan() the way the other fs/proc/task_mmu.c consumers already do. The upstream fix is the only complete remediation described in the supplied references; no vendor-documented workaround is provided there. Where patching must be staged, exposure is limited to local unprivileged callers of the PAGEMAP_SCAN ioctl on procfs pagemap files, so short-term containment means restricting that path - for example a seccomp policy denying that ioctl on /proc/<pid>/pagemap descriptors, or mounting procfs with hidepid so other processes' pagemap files are unreachable - with the trade-off that legitimate idle-page tracking, DAMON-style scanners and memory-profiling tooling that rely on PAGEMAP_SCAN will break, and such filters do not address the in-kernel race for processes that remain reachable. Advisory tracking is available at https://nvd.nist.gov/vuln/detail/CVE-2026-99477 (EUVD-2026-130150).
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
proc_mem_open() intentionally takes only an mm_count reference on the mm behind /proc/<pid>/pagemap, which obliges any consumer that walks the address space to first call mmget_not_zero() to pin mm_users. All other consumers in fs/proc/task_mmu.c do so (m_start(), do_procmap_query(), show_smaps_rollup(), pagemap_read()); do_pagemap_scan() did not. Without that pin, the target process can enter exit_mmap() while the scan is in progress, and exit_mmap() runs unmap_vmas() under mmap_lock for reading only, which does not exclude the scanner. Ordinary VMAs survive this because free_pgtables() and remove_vma() run later under mmap_write_lock, but a shared hugetlb VMA is special: __hugetlb_zap_end() frees the VMA's hugetlb_vma_lock inside the read-locked phase, so walk_hugetlb_range() can load vma->vm_private_data, have the underlying rw_semaphore freed, and then call down_read() on freed memory. Because the load precedes the freeing side's pointer clear, the result is a use-after-free rather than a NULL dereference. Notably hugetlb_reserve_pages() allocates the lock before its VM_NORESERVE early return, so no huge pages need to be configured and default systems are reachable. No CWE identifier is assigned in the supplied data; the root-cause class is a missing object-lifetime reference leading to use-after-free (CWE-416-like). The CPE strings identify the generic linux:linux product line rather than a single distribution.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local-only reach (AV:L) by any unprivileged user (PR:L) with no interaction; attacker orchestrates both processes to hit the window (AC:L); UAF gives full kernel C:H/I:H/A:H.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
fs/proc/task_mmu: pin mm_users in do_pagemap_scan()
The PAGEMAP_SCAN ioctl takes mmap_read_lock() on an mm obtained from /proc/<pid>/pagemap without holding a reference to mm_users.
proc_mem_open() deliberately grabs only mm_count, so a consumer that touches the address space has to call mmget_not_zero() first. Every other consumer in this file does -- m_start(), do_procmap_query(), show_smaps_rollup() and pagemap_read() -- but do_pagemap_scan() does not.
Without that reference the target can reach exit_mmap() concurrently, and exit_mmap() calls unmap_vmas() while holding mmap_lock only for reading, which does not exclude the scanner. For ordinary VMAs this is harmless, as free_pgtables() and remove_vma() run afterwards under mmap_write_lock. A shared hugetlb VMA is different: __hugetlb_zap_end() frees the VMA's hugetlb_vma_lock inside the read-locked phase.
walk_hugetlb_range() can therefore load vma->vm_private_data, have the lock freed underneath it, and then down_read() a freed rw_semaphore. The load happens before the freeing side clears the pointer, so this is a use-after-free and not a NULL dereference. Any unprivileged user can reach it with no huge pages configured, as hugetlb_reserve_pages() allocates the lock before the VM_NORESERVE early return.
Pin mm_users across the scan, the way the other consumers do. mmput() from the exiting task can then no longer reach exit_mmap() while a walk is in progress.
[akpm@linux-foundation.org: remove unneeded & undesirable test for !mm]
Executive ViewAI
CVE-2026-99477 is a Linux kernel local privilege escalation affecting servers and endpoints running kernel 6.7 or later, including the widely deployed 6.12 and 6.18 stable branches. Any user with a local account on an affected host could potentially elevate their privileges, meaning the exposure spans multi-tenant servers, developer workstations, and container hosts where untrusted users have shell access. Leadership should care because the impact, if successfully triggered, is full compromise of the host's confidentiality and integrity; prioritization should reflect the current low confirmation of real-world exploitation.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-130150
GHSA-fjgg-vgg4-3jpf
NVD
CVE.org
EPSS
VulDB
Exploit-DB