# CVE-2026-52968: KVM: s390: pci: fix GAIT table indexing due to double-scaling pointer arithmetic

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-06-24T16:28:47.438Z
- Modified: 2026-10-19T20:18:51.607Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 73f91b004321f2510fa79e66035dbbf1870fcf56 before 31a9d9f9942885aae356a1a57c79e82c5b5b0828; from 73f91b004321f2510fa79e66035dbbf1870fcf56 before a99a25db131ece5e6c0f7632da606de631efe4f2; from 73f91b004321f2510fa79e66035dbbf1870fcf56 before 11b8ff5b930b351dd1f6f088dce0beb027ac92d0; from 73f91b004321f2510fa79e66035dbbf1870fcf56 before b22a2da8792a7bfe743c1a922e77fa499ddedbe8; from 73f91b004321f2510fa79e66035dbbf1870fcf56 before e7216651b94e92e5433fb2f54b77864642b4ea48; from 73f91b004321f2510fa79e66035dbbf1870fcf56 before 16d990a15491cf76cd6eef0846e1b4100e63261a; 6.0 (not affected: before 6.0; from 6.1.175 up to 6.1.*; from 6.6.141 up to 6.6.*; from 6.12.91 up to 6.12.*; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.0 before 6.1.175; from 6.2 before 6.6.141; from 6.7 before 6.12.91; from 6.13 before 6.18.33; from 6.19 before 7.0.10; 7.1

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/31a9d9f9942885aae356a1a57c79e82c5b5b0828> (patch)
- <https://git.kernel.org/stable/c/a99a25db131ece5e6c0f7632da606de631efe4f2> (patch)
- <https://git.kernel.org/stable/c/11b8ff5b930b351dd1f6f088dce0beb027ac92d0> (patch)
- <https://git.kernel.org/stable/c/b22a2da8792a7bfe743c1a922e77fa499ddedbe8> (patch)
- <https://git.kernel.org/stable/c/e7216651b94e92e5433fb2f54b77864642b4ea48> (patch)
- <https://git.kernel.org/stable/c/16d990a15491cf76cd6eef0846e1b4100e63261a> (patch)

## Sources

- CVE List: [CVE-2026-52968](https://www.cve.org/CVERecord?id=CVE-2026-52968), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-52968](https://nvd.nist.gov/vuln/detail/CVE-2026-52968), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-52968 · Whole record: https://cve.day/CVE-2026-52968.json · Rebuilt by cve.day 2026-11-25T22:59:25.634Z
