Bug 2492289 (CVE-2026-52968) - CVE-2026-52968 kernel: KVM: s390: pci: fix GAIT table indexing due to double-scaling pointer arithmetic
Summary: CVE-2026-52968 kernel: KVM: s390: pci: fix GAIT table indexing due to double-...
Keywords:
Status: NEW
Alias: CVE-2026-52968
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-24 18:03 UTC by OSIDB Bzimport
Modified: 2026-06-25 16:18 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-24 18:03:32 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.

Comment 1 Mauro Matteo Cascella 2026-06-25 15:35:15 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026062438-CVE-2026-52968-8803@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.