CVE-2022-49562
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2022
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
KVM: x86: Use __try_cmpxchg_user() to update guest PTE A/D bits
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| bd53cb35a3e9adb73a834a36586e9ad80e877767 | affected | git | 38b888911e8dc89b89d8147cfb1d2dbe6373bf78 | Unavailable | None listed |
| bd53cb35a3e9adb73a834a36586e9ad80e877767 | affected | git | 8089e5e1d18402fb8152d6b6815450a36fffa9b0 | Unavailable | None listed |
| bd53cb35a3e9adb73a834a36586e9ad80e877767 | affected | git | f122dfe4476890d60b8c679128cd2259ec96a24c | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.2 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 5.2 | Unavailable | None listed |
| 5.17.13 | unaffected | semver | Unavailable | 5.17.* | None listed |
| 5.18.2 | unaffected | semver | Unavailable | 5.18.* | None listed |
| 5.19 | unaffected | original_commit_for_fix | Unavailable | * | None listed |