CVE-2022-48991

HIGH

Linux Kernel 4.8-6.0.13 Use-After-Free in MMU Notifier Handling

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0025
EPSS Percentile 16.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-416
Status published
Products (27)
linux/Kernel 4.10.0 - 4.14.303linux
linux/Kernel 4.15.0 - 4.19.270linux
linux/Kernel 4.20.0 - 5.4.227linux
linux/Kernel 4.8.0 - 4.9.337linux
linux/Kernel 5.11.0 - 5.15.83linux
linux/Kernel 5.16.0 - 6.0.13linux
linux/Kernel 5.5.0 - 5.10.159linux
Linux/Linux < 4.8
Linux/Linux 4.14.303 - 4.14.*
Linux/Linux 4.19.270 - 4.19.*
... and 17 more
Published Oct 21, 2024
Tracked Since Feb 18, 2026