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 A10A33DA7EE for ; Fri, 24 Apr 2026 14:37:49 +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=1777041469; cv=none; b=IBHz2FAprd/FCCCyoNnfRmeFCBug6gJEJKBO2/eCns0Jyc41Ihza6NoQzBZyzO+6pnt2MH/0KPIF4DQku3xPdddy7MRbsGzCT5EDtpsfaq/1ery6B1vtXDcmqZBieiMluMHAhuR91MUGP7RqFJIWT01Sp96+tmfHEtZDBi2yDQ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041469; c=relaxed/simple; bh=u/p7X/OzBswFiWT3KEMV/kIEoOH4d2wO6Gqi9ZYrNUA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=I2Sf+5UOZpwSeV+kIsO87l5ssuebW3/GlrRXth/aC+Vg4Tb7x5DMX6o1DnArFqqouP7cMqrGvFfWc5LGFDQO3YnhnKU1Y17wPvulIwxUaZHcJTdK+B3tApOIrZrJ6wZYPmZEoTsxwyBj0W1TKyuuy9TY5QUVA44bJWx1TiWyIiM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wQ3JGQQL; 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="wQ3JGQQL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE917C19425; Fri, 24 Apr 2026 14:37:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777041469; bh=u/p7X/OzBswFiWT3KEMV/kIEoOH4d2wO6Gqi9ZYrNUA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=wQ3JGQQL4d4VG9qITHC6O0A9J6Tus6dXQOpwfL3DqTpj+kknJUCr1b6t1vy1xbp4L hzSKZ5+rI5tNuObLhyDmifB5dyPcXybhC8OpSbZwhQ91zuJ689k3HC0oKMpyxhhCcI zxTuwX5yM4jsFiY8kABtIygdjQm2Uzyp9nLseORA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31569: LoongArch: KVM: Handle the case that EIOINTC's coremap is empty Date: Fri, 24 Apr 2026 16:36:13 +0200 Message-ID: <2026042401-CVE-2026-31569-41ce@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=2265; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GeqY2kAjzNcKEET/KV1yYPMJJcZOTL63eFfizUO4/ik=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmv6y8GfGGUSOMPD1nTvXJiKYPeFVkGWbEyhUW6/T/Kv 5yoPiHeEcvCIMgEFFRk+bKN5+j+ikOKXoa2p2HmsDKBDGHg4hSAicx9xbCgRaRlwuLktUvP1L5S 5N43pyYz+Ew5wxwOjhV8DzjXnTJ8+6BkWdkaX4HKwnkA 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: Handle the case that EIOINTC's coremap is empty EIOINTC's coremap in eiointc_update_sw_coremap() can be empty, currently we get a cpuid with -1 in this case, but we actually need 0 because it's similar as the case that cpuid >= 4. This fix an out-of-bounds access to kvm_arch::phyid_map::phys_map[]. The Linux kernel CVE team has assigned CVE-2026-31569 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 3956a52bc05bd811082a3c9d2b423ee957e6fefc and fixed in 6.18.21 with commit 126053d0a685bf1f2e98db8966386f38b2336338 Issue introduced in 6.13 with commit 3956a52bc05bd811082a3c9d2b423ee957e6fefc and fixed in 6.19.11 with commit 2a0cbcd28ecf6e0b88fa498bebb94bd1be61a7c3 Issue introduced in 6.13 with commit 3956a52bc05bd811082a3c9d2b423ee957e6fefc and fixed in 7.0 with commit b97bd69eb0f67b5f961b304d28e9ba45e202d841 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-31569 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/126053d0a685bf1f2e98db8966386f38b2336338 https://git.kernel.org/stable/c/2a0cbcd28ecf6e0b88fa498bebb94bd1be61a7c3 https://git.kernel.org/stable/c/b97bd69eb0f67b5f961b304d28e9ba45e202d841