CVE-2026-80684: KVM: s390: pci: Fix NULL dereference on AIBV allocation failure
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
KVM: s390: pci: Fix NULL dereference on AIBV allocation failure
The airq_iv_create() can return NULL on failure, but the return value was never checked. If it fails, zdev->aibv will be NULL and fail when dereferenced in kvm_zpci_set_airq(). Add a NULL check and free the previously allocated AISB bit and zdev->aisb on failure.
The Linux kernel CVE team has assigned CVE-2026-80684 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.0 with commit 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc and fixed in 6.1.183 with commit 96099486b63985801c9c6ef22505e9aa635b2d20 Issue introduced in 6.0 with commit 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc and fixed in 6.6.151 with commit 0a95abe964400771ad82b027d7b84a0d183cd0db Issue introduced in 6.0 with commit 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc and fixed in 6.12.103 with commit df947d85e164a50a29d43a96e814f69ab1d0f7ed Issue introduced in 6.0 with commit 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc and fixed in 6.18.44 with commit e137d082325bbcae780087b57501d38585e625d9 Issue introduced in 6.0 with commit 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc and fixed in 7.1.8 with commit d1a103dc9016c25e7423ce5841a5cc2df76d59f3 Issue introduced in 6.0 with commit 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc and fixed in 7.2 with commit 8bf09b9b7d3232806df95f409581f8a9fd99a3fa
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-80684
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
arch/s390/kvm/pci.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/96099486b63985801c9c6ef22505e9aa635b2d20 https://git.kernel.org/stable/c/0a95abe964400771ad82b027d7b84a0d183cd0db https://git.kernel.org/stable/c/df947d85e164a50a29d43a96e814f69ab1d0f7ed https://git.kernel.org/stable/c/e137d082325bbcae780087b57501d38585e625d9 https://git.kernel.org/stable/c/d1a103dc9016c25e7423ce5841a5cc2df76d59f3 https://git.kernel.org/stable/c/8bf09b9b7d3232806df95f409581f8a9fd99a3fa