CVE-2026-31553: KVM: arm64: Fix the descriptor address in __kvm_at_swap_desc()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
KVM: arm64: Fix the descriptor address in __kvm_at_swap_desc()
Using "(u64 __user *)hva + offset" to get the virtual addresses of S1/S2 descriptors looks really wrong, if offset is not zero. What we want to get for swapping is hva + offset, not hva + offset*8. ;-)
Fix it.
The Linux kernel CVE team has assigned CVE-2026-31553 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.19 with commit f6927b41d57390c597a126063e2e518911976878 and fixed in 6.19.11 with commit 4307e05e568782fc92eff651b09ee5dee88a058d Issue introduced in 6.19 with commit f6927b41d57390c597a126063e2e518911976878 and fixed in 7.0 with commit 0496acc42fb51eee040b5170cec05cec41385540
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-31553
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/arm64/kvm/at.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/4307e05e568782fc92eff651b09ee5dee88a058d https://git.kernel.org/stable/c/0496acc42fb51eee040b5170cec05cec41385540