CVE-2022-48991: mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths
Vulnerability summary
CVE-2022-48991 is a high (CVSS 8.8) Use After Free vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 15.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 11 · Related 10Timeline
- 21-10-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths Any codepath that zaps page table entries must invoke MMU notifiers to ensure that secondary MMUs (like KVM) don't keep accessing pages which aren't mapped anymore. Secondary MMUs don't hold their own references to pages that are mirrored over, so failing to notify them can lead to page use-after-free. I'm marking this as addressing an issue introduced in commit f3f0e1d2150b ("khugepaged: add support of collapse for tmpfs/shmem pages"), but most of the security impact of this only came in commit 27e1f8273113 ("khugepaged: enable collapse pmd for pte-mapped THP"), which actually omitted flushes for the removal of present PTEs, not just for the removal of empty page tables.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.25% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu112 products
- linux< 4.15.0-208.220 | < 5.4.0-144.161 | < 5.15.0-67.74
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.15.0-1153.166 | < 5.4.0-1097.105 | < 5.15.0-1031.35
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ f3f0e1d2150b2b99da2cbdfaad000089efe9bf30, < 275c626c131cfe141beeb6c575e31fa53d32da19 | ≥ f3f0e1d2150b2b99da2cbdfaad000089efe9bf30, < c23105673228c349739e958fa33955ed8faddcaf | ≥ f3f0e1d2150b2b99da2cbdfaad000089efe9bf30, < ff2a1a6f869650aec99e9d070b5ab625bfbc5bc3 | ≥ f3f0e1d2150b2b99da2cbdfaad000089efe9bf30, < 5ffc2a75534d9d74d49760f983f8eb675fa63d69 | ≥ f3f0e1d2150b2b99da2cbdfaad000089efe9bf30, < 7f445ca2e0e59c7971d0b7b853465e50844ab596 | ≥ f3f0e1d2150b2b99da2cbdfaad000089efe9bf30, < 1a3f8c6cd29d9078cc81b29d39d0e9ae1d6a03c3 | ≥ f3f0e1d2150b2b99da2cbdfaad000089efe9bf30, < 5450535901d89a5dcca5fbbc59a24fe89caeb465 | ≥ f3f0e1d2150b2b99da2cbdfaad000089efe9bf30, < f268f6cf875f3220afc77bdd0bf1bb136eb54db9 | 4.8
- linux_kernel≥ 4.8, < 4.9.337 | ≥ 4.10, < 4.14.303 | ≥ 4.15, < 4.19.270 | ≥ 4.20, < 5.4.227 | ≥ 5.5, < 5.10.159 | ≥ 5.11, < 5.15.83 | ≥ 5.16, < 6.0.13 | 6.1:rc1 | 6.1:rc2 | 6.1:rc3 | 6.1:rc4 | 6.1:rc5 | 6.1:rc6 | 6.1:rc7
Debian1 product
- linux< 6.1.4-1
3 vendors · 115 products