cbcvebase.
CVE-2022-48991
published 2024-10-21

CVE-2022-48991: In the Linux kernel, the following vulnerability has been resolved: mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths Any codepath that zaps…

PriorityP338high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.25%
16.6th percentile
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.

Affected

22 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.4-1 (bookworm)linux 6.1.4-1 (bookworm)
linuxlinux
linuxlinux>= f3f0e1d2150b2b99da2cbdfaad000089efe9bf30 < 275c626c131cfe141beeb6c575e31fa53d32da19275c626c131cfe141beeb6c575e31fa53d32da19
linuxlinux>= f3f0e1d2150b2b99da2cbdfaad000089efe9bf30 < c23105673228c349739e958fa33955ed8faddcafc23105673228c349739e958fa33955ed8faddcaf
linuxlinux>= f3f0e1d2150b2b99da2cbdfaad000089efe9bf30 < ff2a1a6f869650aec99e9d070b5ab625bfbc5bc3ff2a1a6f869650aec99e9d070b5ab625bfbc5bc3
linuxlinux>= f3f0e1d2150b2b99da2cbdfaad000089efe9bf30 < 5ffc2a75534d9d74d49760f983f8eb675fa63d695ffc2a75534d9d74d49760f983f8eb675fa63d69
linuxlinux>= f3f0e1d2150b2b99da2cbdfaad000089efe9bf30 < 7f445ca2e0e59c7971d0b7b853465e50844ab5967f445ca2e0e59c7971d0b7b853465e50844ab596
linuxlinux>= f3f0e1d2150b2b99da2cbdfaad000089efe9bf30 < 1a3f8c6cd29d9078cc81b29d39d0e9ae1d6a03c31a3f8c6cd29d9078cc81b29d39d0e9ae1d6a03c3
linuxlinux>= f3f0e1d2150b2b99da2cbdfaad000089efe9bf30 < 5450535901d89a5dcca5fbbc59a24fe89caeb4655450535901d89a5dcca5fbbc59a24fe89caeb465
linuxlinux>= f3f0e1d2150b2b99da2cbdfaad000089efe9bf30 < f268f6cf875f3220afc77bdd0bf1bb136eb54db9f268f6cf875f3220afc77bdd0bf1bb136eb54db9
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.162-15.10.162-1
linuxlinux_kernel>= 0 < 6.1.4-16.1.4-1
linuxlinux_kernel>= 0 < 6.1.4-16.1.4-1
linuxlinux_kernel>= 0 < 6.1.4-16.1.4-1
linuxlinux_kernel>= 4.10 < 4.14.3034.14.303
linuxlinux_kernel>= 4.15 < 4.19.2704.19.270
linuxlinux_kernel>= 4.20 < 5.4.2275.4.227
linuxlinux_kernel>= 4.8 < 4.9.3374.9.337
linuxlinux_kernel>= 5.11 < 5.15.835.15.83
linuxlinux_kernel>= 5.16 < 6.0.136.0.13
linuxlinux_kernel>= 5.5 < 5.10.1595.10.159

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.