cbcvebase.
CVE-2022-49562
published 2025-02-26

CVE-2022-49562: In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Use __try_cmpxchg_user() to update guest PTE A/D bits Use the recently introduced…

PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.27%
18.7th percentile
In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Use __try_cmpxchg_user() to update guest PTE A/D bits Use the recently introduced __try_cmpxchg_user() to update guest PTE A/D bits instead of mapping the PTE into kernel address space. The VM_PFNMAP path is broken as it assumes that vm_pgoff is the base pfn of the mapped VMA range, which is conceptually wrong as vm_pgoff is the offset relative to the file and has nothing to do with the pfn. The horrific hack worked for the original use case (backing guest memory with /dev/mem), but leads to accessing "random" pfns for pretty much any other VM_PFNMAP case.

Affected

13 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 5.18.2-1 (bookworm)linux 5.18.2-1 (bookworm)
linuxlinux
linuxlinux>= bd53cb35a3e9adb73a834a36586e9ad80e877767 < 38b888911e8dc89b89d8147cfb1d2dbe6373bf7838b888911e8dc89b89d8147cfb1d2dbe6373bf78
linuxlinux>= bd53cb35a3e9adb73a834a36586e9ad80e877767 < 8089e5e1d18402fb8152d6b6815450a36fffa9b08089e5e1d18402fb8152d6b6815450a36fffa9b0
linuxlinux>= bd53cb35a3e9adb73a834a36586e9ad80e877767 < f122dfe4476890d60b8c679128cd2259ec96a24cf122dfe4476890d60b8c679128cd2259ec96a24c
linuxlinux_kernel>= 0 < 5.18.2-15.18.2-1
linuxlinux_kernel>= 0 < 5.18.2-15.18.2-1
linuxlinux_kernel>= 0 < 5.18.2-15.18.2-1
linuxlinux_kernel>= 5.18 < 5.18.25.18.2
linuxlinux_kernel>= 5.2 < 5.17.135.17.13
msrccbl2_kernel_5.15.186.1-1_on_cbl_mariner_2.0
msrccbl2_kernel_5.15.200.1-1_on_cbl_mariner_2.0
msrccbl2_kernel_5.15.202.1-1_on_cbl_mariner_2.0

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
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.