{"id":"CVE-2026-99477","aliases":[],"cve":{"records":[{"id":"CVE-2026-99477","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.417Z","published":"2026-11-19T14:43:11.195Z","modified":"2026-11-22T11:08:33.584Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-22T11:08:33.584Z"}],"references":[{"url":"https://git.kernel.org/stable/c/6e2299a9356de3364e193d6eaf123b90d7698c1d","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/abc9c0f4f850d23e55f4230cd0f54938a64267bf","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/14a853bf3e6f0dd62ff479a36613411237dec24c","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/4fb975471717c953f912776bb60301add1ffae11","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"7.4-rc1"}]}]}]}],"prioritization":[]},"title":"fs/proc/task_mmu: pin mm_users in do_pagemap_scan()","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/proc/task_mmu: pin mm_users in do_pagemap_scan()\n\nThe PAGEMAP_SCAN ioctl takes mmap_read_lock() on an mm obtained from\n/proc/<pid>/pagemap without holding a reference to mm_users.\n\nproc_mem_open() deliberately grabs only mm_count, so a consumer that\ntouches the address space has to call mmget_not_zero() first.  Every other\nconsumer in this file does -- m_start(), do_procmap_query(),\nshow_smaps_rollup() and pagemap_read() -- but do_pagemap_scan() does not.\n\nWithout that reference the target can reach exit_mmap() concurrently, and\nexit_mmap() calls unmap_vmas() while holding mmap_lock only for reading,\nwhich does not exclude the scanner.  For ordinary VMAs this is harmless,\nas free_pgtables() and remove_vma() run afterwards under mmap_write_lock. \nA shared hugetlb VMA is different: __hugetlb_zap_end() frees the VMA's\nhugetlb_vma_lock inside the read-locked phase.\n\nwalk_hugetlb_range() can therefore load vma->vm_private_data, have the\nlock freed underneath it, and then down_read() a freed rw_semaphore.  The\nload happens before the freeing side clears the pointer, so this is a\nuse-after-free and not a NULL dereference.  Any unprivileged user can\nreach it with no huge pages configured, as hugetlb_reserve_pages()\nallocates the lock before the VM_NORESERVE early return.\n\nPin mm_users across the scan, the way the other consumers do.  mmput()\nfrom the exiting task can then no longer reach exit_mmap() while a walk is\nin progress.\n\n[akpm@linux-foundation.org: remove unneeded & undesirable test for !mm]","score":7.8,"severity":"high","published":"2026-11-19T14:43:11.195Z","modified":"2026-11-22T11:08:33.584Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"52526ca7fdb905a768a93f8faa418e9b988fc34b","status":"affected","lessThan":"6e2299a9356de3364e193d6eaf123b90d7698c1d","versionType":"git"},{"version":"52526ca7fdb905a768a93f8faa418e9b988fc34b","status":"affected","lessThan":"abc9c0f4f850d23e55f4230cd0f54938a64267bf","versionType":"git"},{"version":"52526ca7fdb905a768a93f8faa418e9b988fc34b","status":"affected","lessThan":"14a853bf3e6f0dd62ff479a36613411237dec24c","versionType":"git"},{"version":"52526ca7fdb905a768a93f8faa418e9b988fc34b","status":"affected","lessThan":"4fb975471717c953f912776bb60301add1ffae11","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99477"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"6.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.7","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99477"}],"remediation":[],"references":["https://git.kernel.org/stable/c/6e2299a9356de3364e193d6eaf123b90d7698c1d","https://git.kernel.org/stable/c/abc9c0f4f850d23e55f4230cd0f54938a64267bf","https://git.kernel.org/stable/c/14a853bf3e6f0dd62ff479a36613411237dec24c","https://git.kernel.org/stable/c/4fb975471717c953f912776bb60301add1ffae11"],"sources":[{"name":"CVE","id":"CVE-2026-99477","modified":"2026-11-22T11:08:33.584Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99477"}],"assessments":[{"source":"Linux","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8}],"sourceAffected":[],"observedAt":"2026-11-22T11:21:45.515Z","kev":{"status":"not-listed","checkedAt":"2026-11-22T12:25:32.613Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-22T04:25:35.204Z","attemptedAt":"2026-11-22T04:25:35.204Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-22T04:05:40.820Z","attemptedAt":"2026-11-22T04:05:40.820Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-22T03:45:33.123Z","attemptedAt":"2026-11-22T03:45:33.123Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-22T02:15:36.092Z","attemptedAt":"2026-11-22T02:15:36.092Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-99477","url":"https://www.first.org/epss/","probability":0.00168,"percentile":0.06197,"date":"2026-11-21","checkedAt":"2026-11-22T02:15:36.092Z"},{"source":"ENISA EUVD","id":"EUVD-2026-130150","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-130150","modified":"Nov 19, 2026, 2:43:11 PM","checkedAt":"2026-11-22T03:45:33.123Z"},{"source":"GitHub Advisory Database","id":"GHSA-fjgg-vgg4-3jpf","url":"https://github.com/advisories/GHSA-fjgg-vgg4-3jpf","modified":"2026-11-19T15:31:29Z","checkedAt":"2026-11-22T04:05:40.820Z"},{"source":"NVD","id":"CVE-2026-99477","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99477","modified":"2026-11-19T15:18:02.257","checkedAt":"2026-11-22T04:25:35.204Z"}],"aiSummary":null}