Skip to content
Heist/ feed
Unrated

s390/vfio-ap: fix KVM GISC and page leak when queue removed from host config

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: s390/vfio-ap: fix KVM GISC and page leak when queue removed from host config Three related problems exist in the handling of KVM interrupt and page resources when a queue is removed from the host's AP configuration while assigned to a mediated device (mdev). Problem 1: ~~~~~~~~~ AP_RESPONSE_Q_NOT_AVAIL not handled in vfio_ap_mdev_reset_queue() When the AP bus removes a queue device whose adapter or domain has been removed from the host's AP configuration, vfio_ap_mdev_remove_queue() is called. If the queue is still in the host's AP configuration at that point, it calls vfio_ap_mdev_reset_queue(), which issues a PQAP(ZAPQ). Since the adapter is already gone from the host configuration, ap_zapq() returns AP_RESPONSE_Q_NOT_AVAIL (0x01). This response code is not handled in vfio_ap_mdev_reset_queue()'s switch statement and falls through to the default case, which issues a WARN but does not call vfio_ap_free_aqic_resources(). As a result, if IRQ handling was enabled for the queue by the guest, the KVM GISC registration and the pinned guest page holding the notification indicator byte (NIB) are both leaked. This is fixed by adding AP_RESPONSE_Q_NOT_AVAIL to the same case as AP_RESPONSE_DECONFIGURED and AP_RESPONSE_CHECKSTOPPED in vfio_ap_mdev_reset_queue(). Like those response codes, Q_NOT_AVAIL indicates the queue is not operational and no further reset attempts are possible; the correct action is to free the IRQ

Announced Source revision 1
Original source ↗

CVE-2026-98473

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-98473

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "b9bd10c43456d16abd97b717446f51afb3b88411",
        "lessThan": "da69d3ac53490724eba0ade9deb4e539a6ae9034",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "b9bd10c43456d16abd97b717446f51afb3b88411",
        "lessThan": "cf441a0db681dfad5e89b015d6be11365159d7a9",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "b9bd10c43456d16abd97b717446f51afb3b88411",
        "lessThan": "3c3433657c82f200dae36c29e2b80681c81b85be",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "b9bd10c43456d16abd97b717446f51afb3b88411",
        "lessThan": "65e05ec252a9b79e75930d3c4dd42d8877db04c5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "582014b08cb83383cdd61f052cd81e8aa5023696",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7abe1494896c052d5dcf4ba910656777aff72fbb",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6.6.15",
        "lessThan": "6.7",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "6.7.3",
        "lessThan": "6.8",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "drivers/s390/crypto/vfio_ap_ops.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.8"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.8",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.112",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.55",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.9",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/s390/crypto/vfio_ap_ops.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98473

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#38521 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement