Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99477

published high CVSS 3.1 · 7.8

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

Published
19 Nov 2026, 14:43:11 UTC
Updated
22 Nov 2026, 11:08:33 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux52526ca7fdb905a768a93f8faa418e9b988fc34b to < 6e2299a9356de3364e193d6eaf123b90d7698c1d · 52526ca7fdb905a768a93f8faa418e9b988fc34b to < abc9c0f4f850d23e55f4230cd0f54938a64267bf · 52526ca7fdb905a768a93f8faa418e9b988fc34b to < 14a853bf3e6f0dd62ff479a36613411237dec24c · 52526ca7fdb905a768a93f8faa418e9b988fc34b to < 4fb975471717c953f912776bb60301add1ffae11 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected; Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3538 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
Debian bookworm linux-6.12 Advisory build 6.12.117-1~deb12u1 DLA-4927-1
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-64k Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-debug Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-debug-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-debug-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-debug-devel-matched Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-debug-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-debug-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-debug-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-devel-matched Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-cross-headers Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-debug Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-debug-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-debug-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-debug-devel-matched Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-debug-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-debug-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-debug-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-debug-uki-virt Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-devel-matched Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-doc Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-headers Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-modules-extra-matched Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-debug Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-debug-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-debug-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-debug-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-debug-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-debug-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-debug Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-debug-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-debug-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-debug-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-debug-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-debug-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-tools Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-tools-libs Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-tools-libs-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-uki-virt Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-uki-virt-addons Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-zfcpdump Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-zfcpdump-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-zfcpdump-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-zfcpdump-devel-matched Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-zfcpdump-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-zfcpdump-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-zfcpdump-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 libperf Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 perf Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 python3-perf Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 rtla Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 rv Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253

Package entries are limited to the first 100 builds and 100 linked advisories.

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. [[email protected]: remove unneeded & undesirable test for !mm]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

7

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - PAGEMAP_SCAN is issued through do_pagemap_cmd() on a /proc/<pid>/pagemap fd opened by pagemap_open(). do_pagemap_scan() walks that mm without mmget_not_zero(), so the triggering action is a local ioctl racing the target task's exit_mmap(). AC:L - The attacker mmap()s MAP_SHARED|MAP_HUGETLB|MAP_NORESERVE, so hugetlb_reserve_pages() calls hugetlb_vma_lock_alloc() and returns on VMA_NORESERVE with no hugepage pool, then overlaps walk_hugetlb_range() with that task's exit_mmap(). Both tasks are the attacker's. PR:L - /proc/<pid>/pagemap is mode S_IRUSR. pagemap_open() reaches proc_mem_open() with PTRACE_MODE_READ, which __ptrace_may_access() grants to the same uid, and Yama applies its ptrace_scope check only to PTRACE_MODE_ATTACH. do_pagemap_cmd() has no capability check. UI:N - The attacker creates the shared hugetlb VMA, opens that task's pagemap, issues PAGEMAP_SCAN, and exits the task. Exploitation is entirely the attacker's own syscalls. S:U - The use-after-free frees the scanned task's hugetlb_vma_lock in the kernel that runs do_pagemap_scan(). The corruption remains inside that kernel security authority. C:H - hugetlb_vma_lock_read() holds the vma->vm_private_data pointer and down_read()s it after __hugetlb_vma_unlock_write_put() has kref_put() that hugetlb_vma_lock into kfree() in hugetlb_vma_lock_release(). rwsem_down_read_slowpath() then loads sem->first_waiter from the reclaimed object and list_add_tail() reads through it. I:H - rwsem_read_trylock() atomic_long_add_return_acquire()s RWSEM_READER_BIAS into the freed rw_semaphore count, and rwsem_down_read_slowpath() list_add_tail()s a waiter through sem->first_waiter. Reclaiming the hugetlb_vma_lock turns those stores into a kernel write. A:H - down_read() on the kfree'd hugetlb_vma_lock rw_semaphore dereferences a poisoned or reused slab object, and the slow path can sleep uninterruptibly in rwsem_down_read_slowpath(). That oopses or hangs the kernel, and the attacker can retry against a new task.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 52526ca7fdb905a768a93f8faa418e9b988fc34b to < 6e2299a9356de3364e193d6eaf123b90d7698c1d (affected · git)52526ca7fdb905a768a93f8faa418e9b988fc34b to < abc9c0f4f850d23e55f4230cd0f54938a64267bf (affected · git)52526ca7fdb905a768a93f8faa418e9b988fc34b to < 14a853bf3e6f0dd62ff479a36613411237dec24c (affected · git)52526ca7fdb905a768a93f8faa418e9b988fc34b to < 4fb975471717c953f912776bb60301add1ffae11 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.7 (affected)0 to < 6.7 (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
8c6ae7de98c5a7502b6332a7acb80d60e2d9507ece93bcecdb6748d0e8957bd9
Ingested
23 Nov 2026, 14:35:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected