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-2024-26617

published high CVSS 3.1 · 7.8

fs/proc/task_mmu: move mmu notification mechanism inside mm lock

Published
29 Feb 2024, 15:52:20 UTC
Updated
05 Aug 2026, 11:26:17 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux52526ca7fdb905a768a93f8faa418e9b988fc34b to < 05509adf297924f51e1493aa86f9fcde1433ed80 · 52526ca7fdb905a768a93f8faa418e9b988fc34b to < 4cccb6221cae6d020270606b9e52b1678fc8b71a · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.7.3 through 6.7.* (unaffected · semver) · 6.8 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 Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: fs/proc/task_mmu: move mmu notification mechanism inside mm lock Move mmu notification mechanism inside mm lock to prevent race condition in other components which depend on it. The notifier will invalidate memory range. Depending upon the number of iterations, different memory ranges would be invalidated. The following warning would be removed by this patch: WARNING: CPU: 0 PID: 5067 at arch/x86/kvm/../../../virt/kvm/kvm_main.c:734 kvm_mmu_notifier_change_pte+0x860/0x960 arch/x86/kvm/../../../virt/kvm/kvm_main.c:734 There is no behavioural and performance change with this patch when there is no component registered with the mmu notifier. [[email protected]: narrow the scope of `range', per Sean]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

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 - The vulnerability is reached through the `PAGEMAP_SCAN` ioctl on `/proc/<pid>/pagemap`, which requires local access to issue syscalls on the target machine. There is no network-facing path to `do_pagemap_scan()`. AC:L - The attacker controls both sides of the race: the invalidation window is opened purely by setting `PM_SCAN_WP_MATCHING` and can be held open arbitrarily long by pointing the output `vec` buffer at a userfaultfd-backed page so `pagemap_scan_flush_buffer()`'s `copy_to_user()` blocks, while a sibling thread performs the racing `mmu_notifier_register()` (e.g. `KVM_CREATE_VM`). syzbot reproduced it, confirming reliable triggerability. PR:L - Any unprivileged user can open `/proc/self/pagemap` (`proc_mem_open` with `PTRACE_MODE_READ` on one's own task always succeeds) and there is no capability check in `do_pagemap_cmd()`, `do_pagemap_scan()`, or `pagemap_scan_get_args()`. No user namespace or CAP_SYS_ADMIN is needed. UI:N - The attacker performs the entire sequence — ioctl plus concurrent notifier registration — from its own threads. No victim action is involved. S:U - The vulnerable code and the corrupted state (kernel mm/KVM MMU-notifier bookkeeping) are both in the host kernel, the same security authority as the attacking local process. Standard kernel privilege/DoS boundary. C:H - Breaking the start/end pairing leaves secondary MMUs holding stale references to old PFNs — KVM's own comment in `kvm_change_spte_gfn()` states the shortcut is only safe because the invariant holds, otherwise "KVM ... hold[s] references to the old PFN." Guests and DMA-capable devices (ODP/SVA/HMM) retain mappings to host pages already released and reallocated, enabling disclosure of arbitrary kernel/other-tenant memory. I:H - The same stale writable secondary-MMU/DMA mappings permit writes into freed and reused host pages, and the bug directly corrupts KVM's `mmu_invalidate_in_progress`/`mn_active_invalidate_count` into states the code asserts are impossible. That combination is exploitable memory corruption, not just a bookkeeping glitch. A:H - Reachable outcomes include a kernel `BUG_ON(kvm->mmu_invalidate_in_progress < 0)` oops, the `WARN_ON_ONCE` at `kvm_main.c:732` (panic under `panic_on_warn`), an unkillable `TASK_UNINTERRUPTIBLE` hang in `kvm_swap_active_memslots()` holding `slots_lock`, and permanent guest fault livelock via `mmu_invalidate_retry()`.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 52526ca7fdb905a768a93f8faa418e9b988fc34b to < 05509adf297924f51e1493aa86f9fcde1433ed80 (affected · git)52526ca7fdb905a768a93f8faa418e9b988fc34b to < 4cccb6221cae6d020270606b9e52b1678fc8b71a (affected · git)Default: unaffected Linux · cna
Linux Linux 6.7 (affected)0 to < 6.7 (unaffected · semver)6.7.3 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

3

Linux · cna

fs/proc/task_mmu: move mmu notification mechanism inside mm lock

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
b0fdedae55ddd4b04a73abdc9f5bd63a79052d1f4227feb1c80a58e0e29535ed
Ingested
23 Sep 2026, 08:20:34 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