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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-06-24T16:28:47.438Z
- **Modified:** 2026-10-19T20:18:51.607Z

## Who should check

- Anyone running Linux \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< 31a9d9f9942885aae356a1a57c79e82c5b5b0828; \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< a99a25db131ece5e6c0f7632da606de631efe4f2; \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< 11b8ff5b930b351dd1f6f088dce0beb027ac92d0; \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< b22a2da8792a7bfe743c1a922e77fa499ddedbe8; \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< e7216651b94e92e5433fb2f54b77864642b4ea48; \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< 16d990a15491cf76cd6eef0846e1b4100e63261a
- Anyone running Linux 6.0

## 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.

## Affected and fixed versions

- Linux: \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< 31a9d9f9942885aae356a1a57c79e82c5b5b0828; \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< a99a25db131ece5e6c0f7632da606de631efe4f2; \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< 11b8ff5b930b351dd1f6f088dce0beb027ac92d0; \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< b22a2da8792a7bfe743c1a922e77fa499ddedbe8; \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< e7216651b94e92e5433fb2f54b77864642b4ea48; \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< 16d990a15491cf76cd6eef0846e1b4100e63261a (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 16d990a15491cf76cd6eef0846e1b4100e63261a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-52968. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-52968.md
Affected: Linux >= 73f91b004321f2510fa79e66035dbbf1870fcf56, < 31a9d9f9942885aae356a1a57c79e82c5b5b0828; >= 73f91b004321f2510fa79e66035dbbf1870fcf56, < a99a25db131ece5e6c0f7632da606de631efe4f2; >= 73f91b004321f2510fa79e66035dbbf1870fcf56, < 11b8ff5b930b351dd1f6f088dce0beb027ac92d0; >= 73f91b004321f2510fa79e6…
Fixed in: Linux 31a9d9f9942885aae356a1a57c79e82c5b5b0828, Linux 11b8ff5b930b351dd1f6f088dce0beb027ac92d0, Linux 16d990a15491cf76cd6eef0846e1b4100e63261a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-52968 being exploited?

There is no confirmed exploitation: CVE-2026-52968 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-52968?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-52968?

Linux \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< 31a9d9f9942885aae356a1a57c79e82c5b5b0828; \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< a99a25db131ece5e6c0f7632da606de631efe4f2; \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< 11b8ff5b930b351dd1f6f088dce0beb027ac92d0; \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< b22a2da8792a7bfe743c1a922e77fa499ddedbe8; \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< e7216651b94e92e5433fb2f54b77864642b4ea48; \>= 73f91b004321f2510fa79e66035dbbf1870fcf56, \< 16d990a15491cf76cd6eef0846e1b4100e63261a; Linux 6.0.

### Is there a fix for CVE-2026-52968?

Yes. Fixed in Linux 31a9d9f9942885aae356a1a57c79e82c5b5b0828, Linux 11b8ff5b930b351dd1f6f088dce0beb027ac92d0, Linux 16d990a15491cf76cd6eef0846e1b4100e63261a. Upgrade Linux to 16d990a15491cf76cd6eef0846e1b4100e63261a or later.

### How do I check if I'm affected by CVE-2026-52968?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-52968>

HTML: <https://flawdb.com/CVE-2026-52968> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-52968>
