{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-80684",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-80684"
  ],
  "published": "2026-08-28T06:53:24Z",
  "summary": "KVM: s390: pci: Fix NULL dereference on AIBV allocation failure",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: s390: pci: Fix NULL dereference on AIBV allocation failure\n\nThe airq_iv_create() can return NULL on failure, but the return value was\nnever checked. If it fails, zdev->aibv will be NULL and fail when\ndereferenced in kvm_zpci_set_airq(). Add a NULL check and free the\npreviously allocated AISB bit and zdev->aisb on failure.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.183",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-80684"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/96099486b63985801c9c6ef22505e9aa635b2d20"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0a95abe964400771ad82b027d7b84a0d183cd0db"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/df947d85e164a50a29d43a96e814f69ab1d0f7ed"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e137d082325bbcae780087b57501d38585e625d9"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d1a103dc9016c25e7423ce5841a5cc2df76d59f3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8bf09b9b7d3232806df95f409581f8a9fd99a3fa"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-29T06:25:05Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 9.3,
      "cvss_v3_severity": "Critical",
      "scenario": "AV:L - The bug is reached through the KVM_S390_ZPCI_OP VM ioctl (kvm_arch_vm_ioctl -> kvm_s390_pci_zpci_op -> kvm_s390_pci_aif_enable), a local syscall on the s390 hypervisor host, not via any network-facing kernel service.\nAC:L - An attacker can reliably trigger airq_iv_create() failure and the subsequent NULL dereference by issuing KVM_S390_ZPCIOP_REG_AEN under controlled host memory pressure or repeated registration attempts while holding a valid passthrough zPCI device context.\nPR:N - A malicious KVM guest with an assigned VFIO zPCI passthrough device can cause QEMU to issue KVM_S390_ZPCIOP_REG_AEN during normal adapter-event setup without possessing any host-root or init-namespace administrative credentials.\nUI:N - Exploitation requires no action by a separate victim user; triggering occurs through the attacker's own guest workload or VMM issuing the REG_AEN ioctl during standard zPCI passthrough interrupt-forwarding registration.\nS:C - The vulnerable KVM host code executes on behalf of a guest's passthrough device setup, and the resulting host kernel crash or corrupted global AIFT/GAIT interrupt-forwarding state impacts the hypervisor and resources outside the attacking guest's security boundary.\nC:H - Before the NULL dereference, unchecked allocation failure still populates host GAIT/summary-bit tables with attacker-influenced interrupt-routing fields, enabling misdelivery or exposure of adapter events intended for other guests or host contexts.\nI:H - Failed AIBV allocation leaves partially written host kernel interrupt-forwarding metadata (GAIT entries, kzdev pointers, summary-bit assignments) under attacker-controlled ioctl parameters, constituting exploitable kernel memory corruption prior to the crash.\nA:H - When zdev->aibv is NULL, kvm_zpci_set_airq() dereferences zdev->aibv->vector and airq_iv_end(zdev->aibv), causing a host kernel oops/panic that denies availability to all VMs on the system."
    }
  }
}
