KVM: arm64: nv: Write ESR_EL2 for injected nested SError exceptions
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.407.1.57.2In the Linux kernel, the following vulnerability has been resolved:
KVM: arm64: nv: Write ESR_EL2 for injected nested SError exceptions
kvm_inject_el2_exception() writes ESR_EL2 for synchronous exceptions but not for SError. enter_exception64() does not write ESR_ELx for any exception type, so the constructed syndrome is dropped. A guest L2 hypervisor taking a nested SError observes stale ESR_EL2.
This affects both kvm_inject_nested_serror() and the EASE path in kvm_inject_nested_sea().
Write ESR_EL2 for except_type_serror, matching except_type_sync.
From the CVE record · Linux
Linux KVM on arm64 does not write ESR_EL2 when injecting a nested SError exception. As a result, a guest L2 hypervisor taking that exception observes a stale syndrome. The input does not specify attacker access or user-interaction requirements.
Engineers running Linux KVM on arm64 with nested virtualization should check their kernels; affected versions are not specified.