CVE-2026-89921: KVM: s390: Zero initialize data structures for inject_pfault_token
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
KVM: s390: Zero initialize data structures for inject_pfault_token
__kvm_inject_pfault_token() only sets .type and .u.ext.ext_params2 of the on-stack struct kvm_s390_irq but the full ext substructure is copied into the cpu local variable on inject. ext_params and pad contain stale stack values.
Interrupt delivery only uses ext_params2, so nothing leaks to the guest, but a host user can use the migration ioctls to get to the data.
Fix by zero-initializing the irq struct.
Do the same for the inti data structure.
The Linux kernel CVE team has assigned CVE-2026-89921 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.19 with commit 383d0b050106abecb82f43101cac94fa423af5cd and fixed in 6.18.52 with commit 9b046de62b8098af6e2ba820b125ec9dc5f162c8 Issue introduced in 3.19 with commit 383d0b050106abecb82f43101cac94fa423af5cd and fixed in 7.2.5 with commit 134f235e0e8de54611a72d3cc3f63e5f31246baa Issue introduced in 3.19 with commit 383d0b050106abecb82f43101cac94fa423af5cd and fixed in 7.3-rc1 with commit 4e2c7f7cbc27418f9a290399b986c1b85ff93b90
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-89921
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
arch/s390/kvm/kvm-s390.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/9b046de62b8098af6e2ba820b125ec9dc5f162c8 https://git.kernel.org/stable/c/134f235e0e8de54611a72d3cc3f63e5f31246baa https://git.kernel.org/stable/c/4e2c7f7cbc27418f9a290399b986c1b85ff93b90