Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A80243DD50C for ; Fri, 24 Apr 2026 14:37:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041456; cv=none; b=BmkYMiryrFGvxHnekfno8FWDrjiiqk1mIC6Agu2phGLg3uiQRZ+fSVty/Kix5EHrUdH/1o2NZes1OvuSANKA3f/h0/0bfISD49kI7WFsVf8dDaJBhtrbL5rJ0rD6docwNd8F/i67yqIEDMcYYeUSS5j0JLlzvkcYpdC/bn+VLEk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041456; c=relaxed/simple; bh=/zQP2AeaspP5LtLJvk1UOjlGa7LdBxnDlk9vdzJBERg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=m0T/0kL4abDjNUs0fc95DXGkUdeieWeRe5p1i7qwgjgBEsb0uXzH0UlX6mZ6RTUWWZygvY8lnVJgR5oK15voSukJwECIKUsQeW/9uRDCV+/WpCRzox6xQjbnP7sM+3lAzQMXB1FvltTDPrOvy1hJ8ugAQW6p16Y8SRKtOvUU0gA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZAAoL+sl; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ZAAoL+sl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EEBC1C19425; Fri, 24 Apr 2026 14:37:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777041456; bh=/zQP2AeaspP5LtLJvk1UOjlGa7LdBxnDlk9vdzJBERg=; h=From:To:Cc:Subject:Date:Reply-To:From; b=ZAAoL+sli3LoF0e/fSUZO4dXsgtiAL3nRKBkVuQI8jZw/Dh39NgdgupHc2hxlt7Vs zdgE85JOLtmC+Lo5Rk1JeSp1woZjb8ippZQuQ28TvCpy1FegWGI6qK483EwdDpQrep Kfg3P4VkKg9c8iCDG0EvSVG8tyjQh4uDamqNUsGQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31564: LoongArch: KVM: Fix base address calculation in kvm_eiointc_regs_access() Date: Fri, 24 Apr 2026 16:36:08 +0200 Message-ID: <2026042459-CVE-2026-31564-c762@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2076; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=34oDUStULAksMOjp92sncVBwWBBatfA9JSZbEZJpwNc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmv6y+kL5ZY+S1yjltO5903Hj9f/rcW3PbkYMCGpzbXW B8tvvXcoiOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmsrODYb739P0v8/81Lj47 882t1d9YtsZXuj1lWHBc86NCJkfauWWPNl24FP9+YaPova0A X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: LoongArch: KVM: Fix base address calculation in kvm_eiointc_regs_access() In function kvm_eiointc_regs_access(), the register base address is caculated from array base address plus offset, the offset is absolute value from the base address. The data type of array base address is u64, it should be converted into the "void *" type and then plus the offset. The Linux kernel CVE team has assigned CVE-2026-31564 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit d3e43a1f34acbb9a814337fc5624765538e5a274 and fixed in 6.19.11 with commit c4f0a9481cf0dd7c71a07484bc98f2570fdb3a82 Issue introduced in 6.19 with commit d3e43a1f34acbb9a814337fc5624765538e5a274 and fixed in 7.0 with commit 6bcfb7f46d667b04bd1a1169ccedf5fb699c60df 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-31564 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/intc/eiointc.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/c4f0a9481cf0dd7c71a07484bc98f2570fdb3a82 https://git.kernel.org/stable/c/6bcfb7f46d667b04bd1a1169ccedf5fb699c60df