{"id":"CVE-2026-52968","state":"PUBLISHED","title":"KVM: s390: pci: fix GAIT table indexing due to double-scaling pointer arithmetic","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: s390: pci: fix GAIT table indexing due to double-scaling pointer arithmetic\n\nkvm_s390_pci_aif_enable(), kvm_s390_pci_aif_disable(), and\naen_host_forward() index the GAIT by manually multiplying the index\nwith sizeof(struct zpci_gaite).\n\nSince aift->gait is already a struct zpci_gaite pointer, this\ndouble-scales the offset, accessing element aisb*16 instead of aisb.\n\nThis causes out-of-bounds accesses when aisb >= 32 (with\nZPCI_NR_DEVICES=512)\n\nFix by removing the erroneous sizeof multiplication.","publishedAt":"2026-06-24T16:28:47.438Z","updatedAt":"2026-10-19T19:47:10.859Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"73f91b004321f2510fa79e66035dbbf1870fcf56","status":"affected","lessThan":"31a9d9f9942885aae356a1a57c79e82c5b5b0828","versionType":"git"},{"version":"73f91b004321f2510fa79e66035dbbf1870fcf56","status":"affected","lessThan":"a99a25db131ece5e6c0f7632da606de631efe4f2","versionType":"git"},{"version":"73f91b004321f2510fa79e66035dbbf1870fcf56","status":"affected","lessThan":"11b8ff5b930b351dd1f6f088dce0beb027ac92d0","versionType":"git"},{"version":"73f91b004321f2510fa79e66035dbbf1870fcf56","status":"affected","lessThan":"b22a2da8792a7bfe743c1a922e77fa499ddedbe8","versionType":"git"},{"version":"73f91b004321f2510fa79e66035dbbf1870fcf56","status":"affected","lessThan":"e7216651b94e92e5433fb2f54b77864642b4ea48","versionType":"git"},{"version":"73f91b004321f2510fa79e66035dbbf1870fcf56","status":"affected","lessThan":"16d990a15491cf76cd6eef0846e1b4100e63261a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/s390/kvm/interrupt.c","arch/s390/kvm/pci.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.175","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.141","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.91","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/s390/kvm/interrupt.c","arch/s390/kvm/pci.c"]}],"references":["https://git.kernel.org/stable/c/31a9d9f9942885aae356a1a57c79e82c5b5b0828","https://git.kernel.org/stable/c/a99a25db131ece5e6c0f7632da606de631efe4f2","https://git.kernel.org/stable/c/11b8ff5b930b351dd1f6f088dce0beb027ac92d0","https://git.kernel.org/stable/c/b22a2da8792a7bfe743c1a922e77fa499ddedbe8","https://git.kernel.org/stable/c/e7216651b94e92e5433fb2f54b77864642b4ea48","https://git.kernel.org/stable/c/16d990a15491cf76cd6eef0846e1b4100e63261a"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/52xxx/CVE-2026-52968.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-52968","state":"PUBLISHED","datePublished":"2026-06-24T16:28:47.438Z","dateUpdated":"2026-10-19T19:47:10.859Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.375Z"},"containers":{"cna":{"title":"KVM: s390: pci: fix GAIT table indexing due to double-scaling pointer arithmetic","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: s390: pci: fix GAIT table indexing due to double-scaling pointer arithmetic\n\nkvm_s390_pci_aif_enable(), kvm_s390_pci_aif_disable(), and\naen_host_forward() index the GAIT by manually multiplying the index\nwith sizeof(struct zpci_gaite).\n\nSince aift->gait is already a struct zpci_gaite pointer, this\ndouble-scales the offset, accessing element aisb*16 instead of aisb.\n\nThis causes out-of-bounds accesses when aisb >= 32 (with\nZPCI_NR_DEVICES=512)\n\nFix by removing the erroneous sizeof multiplication."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"73f91b004321f2510fa79e66035dbbf1870fcf56","status":"affected","lessThan":"31a9d9f9942885aae356a1a57c79e82c5b5b0828","versionType":"git"},{"version":"73f91b004321f2510fa79e66035dbbf1870fcf56","status":"affected","lessThan":"a99a25db131ece5e6c0f7632da606de631efe4f2","versionType":"git"},{"version":"73f91b004321f2510fa79e66035dbbf1870fcf56","status":"affected","lessThan":"11b8ff5b930b351dd1f6f088dce0beb027ac92d0","versionType":"git"},{"version":"73f91b004321f2510fa79e66035dbbf1870fcf56","status":"affected","lessThan":"b22a2da8792a7bfe743c1a922e77fa499ddedbe8","versionType":"git"},{"version":"73f91b004321f2510fa79e66035dbbf1870fcf56","status":"affected","lessThan":"e7216651b94e92e5433fb2f54b77864642b4ea48","versionType":"git"},{"version":"73f91b004321f2510fa79e66035dbbf1870fcf56","status":"affected","lessThan":"16d990a15491cf76cd6eef0846e1b4100e63261a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/s390/kvm/interrupt.c","arch/s390/kvm/pci.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.175","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.141","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.91","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/s390/kvm/interrupt.c","arch/s390/kvm/pci.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/31a9d9f9942885aae356a1a57c79e82c5b5b0828"},{"url":"https://git.kernel.org/stable/c/a99a25db131ece5e6c0f7632da606de631efe4f2"},{"url":"https://git.kernel.org/stable/c/11b8ff5b930b351dd1f6f088dce0beb027ac92d0"},{"url":"https://git.kernel.org/stable/c/b22a2da8792a7bfe743c1a922e77fa499ddedbe8"},{"url":"https://git.kernel.org/stable/c/e7216651b94e92e5433fb2f54b77864642b4ea48"},{"url":"https://git.kernel.org/stable/c/16d990a15491cf76cd6eef0846e1b4100e63261a"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable code is reached through local KVM/VFIO s390 zPCI management paths, specifically the `KVM_S390_ZPCI_OP` VM ioctl and host interrupt forwarding, not through network packets.\nAC:L - Once zPCI AEN interpretation is available and an AISB index of 32 or higher is allocated, the bad pointer arithmetic deterministically accesses the wrong GAIT entry; no attacker-uncontrolled race is required.\nPR:L - The attacker needs local ability to operate a KVM VM with an associated VFIO zPCI device or equivalent VM-management access, but the vulnerable ioctl itself does not require a real init-namespace root capability check.\nUI:N - After the attacker can issue the relevant KVM/VFIO operations or trigger adapter events for the assigned device, exploitation does not require a separate victim user action.\nS:C - This is KVM host-side memory corruption in a virtualization/device-assignment path, so a plausible exploit crosses the VM or assigned-device security boundary into host kernel resources.\nC:H - The bug performs out-of-bounds reads from page-allocator memory through the misindexed GAIT entry and can expose host kernel memory contents or pointers.\nI:H - The registration and deregistration paths perform out-of-bounds writes to fields including `gisa`, `gisc`, `count`, `aisbo`, and `aisb`, making host kernel memory corruption and potential code execution defensible.\nA:H - The same out-of-bounds reads and writes can corrupt arbitrary adjacent kernel memory or dereference corrupted physical addresses, making host crash or panic a high-probability impact."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:32:12.815Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.1.175"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.6.141"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.12.91"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.18.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"7.0.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-52968","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:23:40.668025Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","type":"CWE","description":"CWE-125 Out-of-bounds Read"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T19:47:10.859Z"}}]}}}