Vulnerability in Linux
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 __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.
EPSS: 0.003 (16.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Linux — versions bd53cb35a3e9adb73a834a36586e9ad80e877767, 5.2, 0
- Linux Linux_kernel
References
Frequently asked questions
- What is CVE-2022-49562?
- CVE-2022-49562 is a high-severity vulnerability in Linux. CVSS score: 7.8/10. Published 2025-02-26.
- How severe is CVE-2022-49562?
- High severity. CVSS v3 base score is 7.8 out of 10.