CVE-2022-49562
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
5.2
and later are affected. Fixed in
5.17.13,
5.18.2,
5.19
and their respective stable series.
References
The following references provide additional information about CVE-2022-49562 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/38b888911e8dc89b89d8147cfb1d2dbe6373bf78
-
PatchKernel patch commithttps://git.kernel.org/stable/c/8089e5e1d18402fb8152d6b6815450a36fffa9b0
-
PatchKernel patch commithttps://git.kernel.org/stable/c/f122dfe4476890d60b8c679128cd2259ec96a24c
Frequently asked questions
-
What is CVE-2022-49562?
CVE-2022-49562 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 5.2 onward and has been patched in 5.17.13, 5.18.2 and 5.19. CVE-2022-49562 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-49562?
CVE-2022-49562 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2022-49562?
Yes — CVE-2022-49562 has been patched. Fixed versions include 5.17.13, 5.18.2 and 5.19. If you are running Linux kernel 5.2 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-49562 actively exploited?
No — CVE-2022-49562 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.