CVE-2022-48727
Last modified
CVE-2022-48727 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.11, < 5.15.22 | — |
| Linux | Linux Kernel | >= 5.16, < 5.16.8 | — |
| Linux | Linux Kernel | 5.17 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-48727?
How severe is CVE-2022-48727?
How do I fix CVE-2022-48727?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-48721In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-48722In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-48723In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-48724In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-48725In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-48726In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-48728In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-48729In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-4873On Netcomm router models NF20MESH, NF20, and NL1902 a stack …9.8
- CVE-2022-48730In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-48731In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-48732In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2022-48727?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
