---
id: CVE-2026-52968
title: >-
  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 th…
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 th…
severity: high
published: '2026-06-24'
updated: '2026-07-10'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-52968'
references:
  - url: 'https://git.kernel.org/stable/c/11b8ff5b930b351dd1f6f088dce0beb027ac92d0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/16d990a15491cf76cd6eef0846e1b4100e63261a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/31a9d9f9942885aae356a1a57c79e82c5b5b0828'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a99a25db131ece5e6c0f7632da606de631efe4f2'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b22a2da8792a7bfe743c1a922e77fa499ddedbe8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e7216651b94e92e5433fb2f54b77864642b4ea48'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.00176
epssPercentile: 0.07047
ingestedAt: '2026-07-11T13:13:25.052Z'
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 73f91b004321f2510fa79e66035dbbf1870fcf56 <
    31a9d9f9942885aae356a1a57c79e82c5b5b0828
  - >-
    Linux >= 73f91b004321f2510fa79e66035dbbf1870fcf56 <
    a99a25db131ece5e6c0f7632da606de631efe4f2
  - >-
    Linux >= 73f91b004321f2510fa79e66035dbbf1870fcf56 <
    11b8ff5b930b351dd1f6f088dce0beb027ac92d0
  - >-
    Linux >= 73f91b004321f2510fa79e66035dbbf1870fcf56 <
    b22a2da8792a7bfe743c1a922e77fa499ddedbe8
  - >-
    Linux >= 73f91b004321f2510fa79e66035dbbf1870fcf56 <
    e7216651b94e92e5433fb2f54b77864642b4ea48
  - >-
    Linux >= 73f91b004321f2510fa79e66035dbbf1870fcf56 <
    16d990a15491cf76cd6eef0846e1b4100e63261a
  - Linux 6.0
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-16T15:23:40.668025Z'
cvssSource: cna
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
