KVM: s390: pci: Fix GISC refcount leak on AIF enable failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc · < 7b69729046a4c58f4cb457184e5ac4aaa179bff4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
KVM: s390: pci: Fix GISC refcount leak on AIF enable failure
kvm_s390_gisc_register() registers the guest ISC before pinning the guest interrupt forwarding pages and allocating the AISB bit. If any of the later setup steps fails, the function unwinds the pinned pages and other local state, but does not unregister the GISC reference. Add the missing kvm_s390_gisc_unregister() to the error unwind path.
From the CVE record · Linux
The Linux kernel's KVM s390 PCI code can leak a guest ISC (GISC) reference if enabling adapter interrupt forwarding fails during setup. The input does not specify how an attacker could trigger the failure or whether access or user interaction is required.
Engineers running the Linux kernel with KVM s390 PCI support should check their version against the vendor advisory; affected versions were not provided.