Skip to content
Heist/ feed
Back to feed
HighFix available

KVM: s390: pci: fix GAIT table indexing due to double-scaling pointer arithmetic

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: KVM: s390: pci: fix GAIT table indexing due to double-scaling pointer arithmetic kvm_s390_pci_aif_enable(), kvm_s390_pci_aif_disable(), and aen_host_forward() index the GAIT by manually multiplying the index with sizeof(struct zpci_gaite). Since aift->gait is already a struct zpci_gaite pointer, this double-scales the offset, accessing element aisb*16 instead of aisb. This causes out-of-bounds accesses when aisb >= 32 (with ZPCI_NR_DEVICES=512) Fix by removing the erroneous sizeof multiplication.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.175, 6.12.91, 6.18.33, 6.6.141, 7.0.10
CVEs
CVE-2026-52968
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 03:17 UTC · Revision 1

Source evidence

KVM: s390: pci: fix GAIT table indexing due to double-scaling pointer arithmetic

core-osv · Original source

Published 24 Jun 2026, 16:28 UTC

In the Linux kernel, the following vulnerability has been resolved: KVM: s390: pci: fix GAIT table indexing due to double-scaling pointer arithmetic kvm_s390_pci_aif_enable(), kvm_s390_pci_aif_disable(), and aen_host_forward() index the GAIT by manually multiplying the index with sizeof(struct zpci_gaite). Since aift->gait is already a struct zpci_gaite pointer, this double-scales the offset, accessing element aisb*16 instead of aisb. This causes out-of-bounds accesses when aisb >= 32 (with ZPCI_NR_DEVICES=512) Fix by removing the erroneous sizeof multiplication.

osv:CVE-2026-52968

Kernel

Fixed versions: 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10

Complete source record
{
  "id": "1db4e20a75ad00c12308faab2fcbf0234f4cffad471c43d9f7f914eb0d41d289",
  "url": "https://osv.dev/vulnerability/CVE-2026-52968",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "KVM: s390: pci: fix GAIT table indexing due to double-scaling pointer arithmetic",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: KVM: s390: pci: fix GAIT table indexing due to double-scaling pointer arithmetic kvm_s390_pci_aif_enable(), kvm_s390_pci_aif_disable(), and aen_host_forward() index the GAIT by manually multiplying the index with sizeof(struct zpci_gaite). Since aift->gait is already a struct zpci_gaite pointer, this double-scales the offset, accessing element aisb*16 instead of aisb. This causes out-of-bounds accesses when aisb >= 32 (with ZPCI_NR_DEVICES=512) Fix by removing the erroneous sizeof multiplication.",
    "evidence": "osv:CVE-2026-52968",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.175",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.141",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.91",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.33",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.0.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-52968",
      "aliases": [
        "CVE-2026-52968"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "73f91b004321f2510fa79e66035dbbf1870fcf56"
                },
                {
                  "fixed": "31a9d9f9942885aae356a1a57c79e82c5b5b0828"
                },
                {
                  "fixed": "a99a25db131ece5e6c0f7632da606de631efe4f2"
                },
                {
                  "fixed": "11b8ff5b930b351dd1f6f088dce0beb027ac92d0"
                },
                {
                  "fixed": "b22a2da8792a7bfe743c1a922e77fa499ddedbe8"
                },
                {
                  "fixed": "e7216651b94e92e5433fb2f54b77864642b4ea48"
                },
                {
                  "fixed": "16d990a15491cf76cd6eef0846e1b4100e63261a"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52968.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.0.0"
                },
                {
                  "fixed": "6.1.175"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.141"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.91"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.33"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.0.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52968.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.319924450Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/11b8ff5b930b351dd1f6f088dce0beb027ac92d0",
        "https://git.kernel.org/stable/c/16d990a15491cf76cd6eef0846e1b4100e63261a",
        "https://git.kernel.org/stable/c/31a9d9f9942885aae356a1a57c79e82c5b5b0828",
        "https://git.kernel.org/stable/c/a99a25db131ece5e6c0f7632da606de631efe4f2",
        "https://git.kernel.org/stable/c/b22a2da8792a7bfe743c1a922e77fa499ddedbe8",
        "https://git.kernel.org/stable/c/e7216651b94e92e5433fb2f54b77864642b4ea48",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52968.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-52968",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52968.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-52968",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517684,
  "published_at": "2026-06-24T16:28:47.438+00:00"
}