CVE-2022-48727
KVM: arm64: Avoid consuming a stale esr value when SError occur
Mitigation
- Upgrade Linux to 1c71dbc8a179d99dd9bb7e7fc1888db613cf85de or later.
Who should check
- Anyone running Linux >= defe21f49bc98b095300752aa1e19bb608f3e97d, < e1e852746997500f1873f60b954da5f02cc2dba3; >= defe21f49bc98b095300752aa1e19bb608f3e97d, < 57e2986c3b25092691a6e3d6ee9168caf8978932; >= defe21f49bc98b095300752aa1e19bb608f3e97d, < 1c71dbc8a179d99dd9bb7e7fc1888db613cf85de
- Anyone running Linux 5.11
Vulnerability facts
- Affected
- Linux >= defe21f49bc98b095300752aa1e19bb608f3e97d, < e1e852746997500f1873f60b954da5f02cc2dba3; >= defe21f49bc98b095300752aa1e19bb608f3e97d, < 57e2986c3b25092691a6e3d6ee9168caf8978932; >= defe21f49bc98b095300752aa1e19bb608f3e97d, < 1c71dbc8a179d99dd9bb7e7fc1888db613cf85de; Linux 5.11
- Fixed in
- Linux 57e2986c3b25092691a6e3d6ee9168caf8978932, Linux 1c71dbc8a179d99dd9bb7e7fc1888db613cf85de
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Avoid consuming a stale esr value when SError occur When any exception other than an IRQ occurs, the CPU updates the ESR_EL2 register with the exception syndrome. An SError may also become pending, and will be synchronised by KVM. KVM notes the exception type, and whether an SError was synchronised in exit_code. When an exception other than an IRQ occurs, fixup_guest_exit() updates vcpu->arch.fault.esr_el2 from the hardware register. When an SError was synchronised, the vcpu esr value is used to determine if the exception was due to an HVC. If so, ELR_EL2 is moved back one instruction. This is so that KVM can process the SError first, and re-execute the HVC if the guest survives the SError. But if an IRQ synchronises an SError, the vcpu's esr value is stale. If the previous non-IRQ exception was an HVC, KVM will corrupt ELR_EL2, causing an unrelated guest instruction to be executed twice. Check ARM_EXCEPTION_CODE() before messing with ELR_EL2, IRQs don't update this register so don't need to check.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= defe21f49bc98b095300752aa1e19bb608f3e97d, < e1e852746997500f1873f60b954da5f02cc2dba3; >= defe21f49bc98b095300752aa1e19bb608f3e97d, < 57e2986c3b25092691a6e3d6ee9168caf8978932; >= defe21f49bc98b095300752aa1e19bb608f3e97d, < 1c71dbc8a179d99dd9bb7e7fc1888db613cf85de | — | cvelist |
| Linux | 5.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-48727. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-48727.md Affected: Linux >= defe21f49bc98b095300752aa1e19bb608f3e97d, < e1e852746997500f1873f60b954da5f02cc2dba3; >= defe21f49bc98b095300752aa1e19bb608f3e97d, < 57e2986c3b25092691a6e3d6ee9168caf8978932; >= defe21f49bc98b095300752aa1e19bb608f3e97d, < 1c71dbc8a179d99dd9bb7e7fc1888db613cf85de; Linux 5.11 Fixed in: Linux 57e2986c3b25092691a6e3d6ee9168caf8978932, Linux 1c71dbc8a179d99dd9bb7e7fc1888db613cf85de Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2022-48727 being exploited?
There is no confirmed exploitation: CVE-2022-48727 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-48727?
High: CVSS 7.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-48727?
Linux >= defe21f49bc98b095300752aa1e19bb608f3e97d, < e1e852746997500f1873f60b954da5f02cc2dba3; >= defe21f49bc98b095300752aa1e19bb608f3e97d, < 57e2986c3b25092691a6e3d6ee9168caf8978932; >= defe21f49bc98b095300752aa1e19bb608f3e97d, < 1c71dbc8a179d99dd9bb7e7fc1888db613cf85de; Linux 5.11.
Is there a fix for CVE-2022-48727?
Yes. Fixed in Linux 57e2986c3b25092691a6e3d6ee9168caf8978932, Linux 1c71dbc8a179d99dd9bb7e7fc1888db613cf85de. Upgrade Linux to 1c71dbc8a179d99dd9bb7e7fc1888db613cf85de or later.
How do I check if I'm affected by CVE-2022-48727?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.