CVE-2026-72294: LoongArch: KVM: Check irq validity in kvm_vcpu_ioctl_interrupt()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
LoongArch: KVM: Check irq validity in kvm_vcpu_ioctl_interrupt()
Function kvm_vcpu_ioctl_interrupt() can be called from userspace, here add irq validility cheking in kvm_vcpu_ioctl_interrupt().
The Linux kernel CVE team has assigned CVE-2026-72294 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.7 with commit f45ad5b8aa9335bc6b30331b739e778f2f730b35 and fixed in 6.12.97 with commit 15469ba0284c7cc01c38493391e9e73b918833c4 Issue introduced in 6.7 with commit f45ad5b8aa9335bc6b30331b739e778f2f730b35 and fixed in 6.18.40 with commit efe27b19a15c384cad7c80de399f3107ab070e6d Issue introduced in 6.7 with commit f45ad5b8aa9335bc6b30331b739e778f2f730b35 and fixed in 7.1.5 with commit d4574547e04a47ad498149576f65b84475ea6f4c Issue introduced in 6.7 with commit f45ad5b8aa9335bc6b30331b739e778f2f730b35 and fixed in 7.2-rc1 with commit 09b318ab77b7a4fc9987fd98d1525fc55ddc2617
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-72294
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/loongarch/kvm/vcpu.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/15469ba0284c7cc01c38493391e9e73b918833c4 https://git.kernel.org/stable/c/efe27b19a15c384cad7c80de399f3107ab070e6d https://git.kernel.org/stable/c/d4574547e04a47ad498149576f65b84475ea6f4c https://git.kernel.org/stable/c/09b318ab77b7a4fc9987fd98d1525fc55ddc2617