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 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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

07 Nov 2024, 19:36

Type Values Removed Values Added
CWE CWE-416
CPE cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
References () https://git.kernel.org/stable/c/ff2a1a6f869650aec99e9d070b5ab625bfbc5bc3 - () https://git.kernel.org/stable/c/ff2a1a6f869650aec99e9d070b5ab625bfbc5bc3 - Patch
References () https://git.kernel.org/stable/c/1a3f8c6cd29d9078cc81b29d39d0e9ae1d6a03c3 - () https://git.kernel.org/stable/c/1a3f8c6cd29d9078cc81b29d39d0e9ae1d6a03c3 - Patch
References () https://git.kernel.org/stable/c/5450535901d89a5dcca5fbbc59a24fe89caeb465 - () https://git.kernel.org/stable/c/5450535901d89a5dcca5fbbc59a24fe89caeb465 - Patch
References () https://git.kernel.org/stable/c/275c626c131cfe141beeb6c575e31fa53d32da19 - () https://git.kernel.org/stable/c/275c626c131cfe141beeb6c575e31fa53d32da19 - Patch
References () https://git.kernel.org/stable/c/7f445ca2e0e59c7971d0b7b853465e50844ab596 - () https://git.kernel.org/stable/c/7f445ca2e0e59c7971d0b7b853465e50844ab596 - Patch
References () https://git.kernel.org/stable/c/c23105673228c349739e958fa33955ed8faddcaf - () https://git.kernel.org/stable/c/c23105673228c349739e958fa33955ed8faddcaf - Patch
References () https://git.kernel.org/stable/c/f268f6cf875f3220afc77bdd0bf1bb136eb54db9 - () https://git.kernel.org/stable/c/f268f6cf875f3220afc77bdd0bf1bb136eb54db9 - Patch
References () https://git.kernel.org/stable/c/5ffc2a75534d9d74d49760f983f8eb675fa63d69 - () https://git.kernel.org/stable/c/5ffc2a75534d9d74d49760f983f8eb675fa63d69 - Patch
First Time Linux
Linux linux Kernel

21 Oct 2024, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-10-21 20:15

Updated : 2024-11-07 19:36


NVD link : CVE-2022-48991

Mitre link : CVE-2022-48991


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free