Skip to content
FlawDB
Sign in

CVE-2026-99477

HIGH 7.8EPSS 3%

fs/proc/task_mmu: pin mm_users in do_pagemap_scan()

Mitigation

  • Upgrade Linux to 4fb975471717c953f912776bb60301add1ffae11 or later.

Who should check

  • Anyone running Linux >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < 6e2299a9356de3364e193d6eaf123b90d7698c1d; >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < abc9c0f4f850d23e55f4230cd0f54938a64267bf; >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < 14a853bf3e6f0dd62ff479a36613411237dec24c; >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < 4fb975471717c953f912776bb60301add1ffae11
  • Anyone running Linux 6.7

Vulnerability facts

Affected
Linux >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < 6e2299a9356de3364e193d6eaf123b90d7698c1d; >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < abc9c0f4f850d23e55f4230cd0f54938a64267bf; >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < 14a853bf3e6f0dd62ff479a36613411237dec24c; >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < 4fb975471717c953f912776bb60301add1ffae11; Linux 6.7
Fixed in
Linux 6e2299a9356de3364e193d6eaf123b90d7698c1d, Linux 14a853bf3e6f0dd62ff479a36613411237dec24c, Linux 4fb975471717c953f912776bb60301add1ffae11
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.16% chance of exploitation in 30 days (percentile 3, 2026-11-28)
Published
Modified

Description

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]

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < 6e2299a9356de3364e193d6eaf123b90d7698c1d; >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < abc9c0f4f850d23e55f4230cd0f54938a64267bf; >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < 14a853bf3e6f0dd62ff479a36613411237dec24c; >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < 4fb975471717c953f912776bb60301add1ffae11—cvelist
Linux6.7—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-99477. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99477.md
Affected: Linux >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < 6e2299a9356de3364e193d6eaf123b90d7698c1d; >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < abc9c0f4f850d23e55f4230cd0f54938a64267bf; >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < 14a853bf3e6f0dd62ff479a36613411237dec24c; >= 52526ca7fdb905a768a93f8…
Fixed in: Linux 6e2299a9356de3364e193d6eaf123b90d7698c1d, Linux 14a853bf3e6f0dd62ff479a36613411237dec24c, Linux 4fb975471717c953f912776bb60301add1ffae11

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-99477 being exploited?

There is no confirmed exploitation: CVE-2026-99477 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-28).

How serious is CVE-2026-99477?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-99477?

Linux >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < 6e2299a9356de3364e193d6eaf123b90d7698c1d; >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < abc9c0f4f850d23e55f4230cd0f54938a64267bf; >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < 14a853bf3e6f0dd62ff479a36613411237dec24c; >= 52526ca7fdb905a768a93f8faa418e9b988fc34b, < 4fb975471717c953f912776bb60301add1ffae11; Linux 6.7.

Is there a fix for CVE-2026-99477?

Yes. Fixed in Linux 6e2299a9356de3364e193d6eaf123b90d7698c1d, Linux 14a853bf3e6f0dd62ff479a36613411237dec24c, Linux 4fb975471717c953f912776bb60301add1ffae11. Upgrade Linux to 4fb975471717c953f912776bb60301add1ffae11 or later.

How do I check if I'm affected by CVE-2026-99477?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
HIGH 7.0CVE-2026-137974

Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile

Linux kernel+1
EPSS 31%
HIGH 7.8CVE-2026-137941

Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property

Linux kernel+1
EPSS 11%
HIGH 7.3CVE-2026-137898

Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling

Linux kernel+1
EPSS 11%
MEDIUM 6.5CVE-2026-102963

Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled

Linux kernel+1
EPSS 24%
MEDIUM 5.3CVE-2026-115841

Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa

Linux kernel+4
EPSS 3%
Sponsors