{"vuln_id":"CVE-2026-99477","aliases":["CVE-2026-100080","CVE-2026-100081","CVE-2026-100082","CVE-2026-89866","CVE-2026-92499","CVE-2026-98176","CVE-2026-98177","CVE-2026-98180","CVE-2026-98228","CVE-2026-98408","CVE-2026-98439","CVE-2026-98449","CVE-2026-98466","CVE-2026-98674","CVE-2026-98682","CVE-2026-98683","CVE-2026-98684","CVE-2026-98685","CVE-2026-98714","CVE-2026-98715","CVE-2026-98786","CVE-2026-98853","CVE-2026-98863","CVE-2026-98920","CVE-2026-98978","CVE-2026-98989","CVE-2026-98996","CVE-2026-99021","CVE-2026-99026","CVE-2026-99076","CVE-2026-99086","CVE-2026-99087","CVE-2026-99109","CVE-2026-99122","CVE-2026-99146","CVE-2026-99172","CVE-2026-99270","CVE-2026-99271","CVE-2026-99273","CVE-2026-99274","CVE-2026-99281","CVE-2026-99282","CVE-2026-99283","CVE-2026-99286","CVE-2026-99287","CVE-2026-99288","CVE-2026-99290","CVE-2026-99292","CVE-2026-99295","CVE-2026-99296"],"description":"kernel: kernel: privilege escalation via use-after-free in pagemap scan","published_at":"2026-11-19T14:43:11Z","modified_at":"2026-11-22T11:16:53.720000Z","first_seen_at":"2026-11-21T19:15:15.262956Z","severity":"high","severity_source":"nvd","cvss_score":7.8,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-825"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00168,"epss_percentile":0.06197,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99477"},"matched_alias":null,"items":[{"id":11687,"source":{"id":"osv","name":"OSV.dev"},"title":"DEBIAN-CVE-2026-99477: 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_…","summary":"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/\n/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]\n\nAffected: Debian:12:linux-6.12, Debian:13:linux, Debian:14:linux\n\nFixed in: 6.12.117-1, 7.3.3-1, 6.12.117-1~deb12u1\n\nReferences:\nhttps://security-tracker.debian.org/tracker/CVE-2026-99477","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-99477","published_at":"2026-11-19T15:18:02.257000Z","updated_at":"2026-11-22T01:00:17.910388Z","fetched_at":"2026-11-22T08:08:55.103981Z","severity":"high","cvss_score":7.8,"epss":0.00168,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":"12:linux-6.12","vuln_id":"CVE-2026-99477","vuln_ids":["CVE-2026-100080","CVE-2026-100081","CVE-2026-100082","CVE-2026-89866","CVE-2026-92499","CVE-2026-98176","CVE-2026-98177","CVE-2026-98180","CVE-2026-98228","CVE-2026-98408","CVE-2026-98439","CVE-2026-98449","CVE-2026-98466","CVE-2026-98674","CVE-2026-98682","CVE-2026-98683","CVE-2026-98684","CVE-2026-98685","CVE-2026-98714","CVE-2026-98715","CVE-2026-98786","CVE-2026-98853","CVE-2026-98863","CVE-2026-98920","CVE-2026-98978","CVE-2026-98989","CVE-2026-98996","CVE-2026-99021","CVE-2026-99026","CVE-2026-99076","CVE-2026-99086","CVE-2026-99087","CVE-2026-99109","CVE-2026-99122","CVE-2026-99146","CVE-2026-99172","CVE-2026-99270","CVE-2026-99271","CVE-2026-99273","CVE-2026-99274","CVE-2026-99281","CVE-2026-99282","CVE-2026-99283","CVE-2026-99286","CVE-2026-99287","CVE-2026-99288","CVE-2026-99290","CVE-2026-99292","CVE-2026-99295","CVE-2026-99296","CVE-2026-99477","DEBIAN-CVE-2026-99477"],"tags":["osv","debian","fix-available"],"cluster_id":943,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/11687","html":"https://vulnwatch.ve1ve2.com/item/11687"}},{"id":8809,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-99477: 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_…","summary":"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//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] References: https://git.kernel.org/stable/c/14a853bf3e6f0dd62ff479a36613411237dec24c https://git.kernel.org/stable/c/4fb975471717c953f912776bb60301add1ffae11 https://git.kernel.org/stable/c/6e2299a9356de3364e193d6eaf123b90d7698c1d https://git.kernel.org/stable/c/abc9c0f4f850d23e55f4230cd0f54938a64267bf","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99477","published_at":"2026-11-19T15:18:02.257000Z","updated_at":"2026-11-22T11:16:53.720000Z","fetched_at":"2026-11-21T19:15:31.484502Z","severity":"high","cvss_score":7.8,"epss":0.00168,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-99477","vuln_ids":["CVE-2026-100080","CVE-2026-100081","CVE-2026-100082","CVE-2026-89866","CVE-2026-92499","CVE-2026-98176","CVE-2026-98177","CVE-2026-98180","CVE-2026-98228","CVE-2026-98408","CVE-2026-98439","CVE-2026-98449","CVE-2026-98466","CVE-2026-98674","CVE-2026-98682","CVE-2026-98683","CVE-2026-98684","CVE-2026-98685","CVE-2026-98714","CVE-2026-98715","CVE-2026-98786","CVE-2026-98853","CVE-2026-98863","CVE-2026-98920","CVE-2026-98978","CVE-2026-98989","CVE-2026-98996","CVE-2026-99021","CVE-2026-99026","CVE-2026-99076","CVE-2026-99086","CVE-2026-99087","CVE-2026-99109","CVE-2026-99122","CVE-2026-99146","CVE-2026-99172","CVE-2026-99270","CVE-2026-99271","CVE-2026-99273","CVE-2026-99274","CVE-2026-99281","CVE-2026-99282","CVE-2026-99283","CVE-2026-99286","CVE-2026-99287","CVE-2026-99288","CVE-2026-99290","CVE-2026-99292","CVE-2026-99295","CVE-2026-99296","CVE-2026-99477"],"tags":[],"cluster_id":943,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/8809","html":"https://vulnwatch.ve1ve2.com/item/8809"}},{"id":1204,"source":{"id":"redhat","name":"Red Hat Security Data API"},"title":"CVE-2026-99477: kernel: kernel: privilege escalation via use-after-free in pagemap scan","summary":"kernel: kernel: privilege escalation via use-after-free in pagemap scan","url":"https://access.redhat.com/security/cve/cve-2026-99477","published_at":"2026-11-19T14:43:11Z","updated_at":null,"fetched_at":"2026-11-21T19:15:08.894034Z","severity":"high","cvss_score":7.8,"epss":0.00168,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"redhat","product":null,"vuln_id":"CVE-2026-99477","vuln_ids":["CVE-2026-100080","CVE-2026-100081","CVE-2026-100082","CVE-2026-89866","CVE-2026-92499","CVE-2026-98176","CVE-2026-98177","CVE-2026-98180","CVE-2026-98228","CVE-2026-98408","CVE-2026-98439","CVE-2026-98449","CVE-2026-98466","CVE-2026-98674","CVE-2026-98682","CVE-2026-98683","CVE-2026-98684","CVE-2026-98685","CVE-2026-98714","CVE-2026-98715","CVE-2026-98786","CVE-2026-98853","CVE-2026-98863","CVE-2026-98920","CVE-2026-98978","CVE-2026-98989","CVE-2026-98996","CVE-2026-99021","CVE-2026-99026","CVE-2026-99076","CVE-2026-99086","CVE-2026-99087","CVE-2026-99109","CVE-2026-99122","CVE-2026-99146","CVE-2026-99172","CVE-2026-99270","CVE-2026-99271","CVE-2026-99273","CVE-2026-99274","CVE-2026-99281","CVE-2026-99282","CVE-2026-99283","CVE-2026-99286","CVE-2026-99287","CVE-2026-99288","CVE-2026-99290","CVE-2026-99292","CVE-2026-99295","CVE-2026-99296","CVE-2026-99477"],"tags":["redhat"],"cluster_id":943,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/1204","html":"https://vulnwatch.ve1ve2.com/item/1204"}}]}