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 B7C0D28934F for ; Sat, 31 Jan 2026 11:45:14 +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=1769859914; cv=none; b=t4Y0hAxGD4Ehj/OZkqFaA+NpoGg+S12Demyd4Piz8mVu/DoYME+tY6nNCtCDnGZwFDi07o+uK0fjUchwqtXhyRAP6qQNut+FHJYC1MgSKnp7MVyle6VD35wYV4WLAPC8ezWo/rBbb7Ntpqlovcy96HHRCRe/OCN9Im8bniF2Z+Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769859914; c=relaxed/simple; bh=D2P51H4hJvMEKlj78iuVKfSJRamU+v/sZlExosHWLac=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AGfs1NeJ2E/0+0dy/fmugB2eqiVxgZam4kMEP6s8O/MZCo+g0dIUcmzTdZv/vlqbPiMrHTBldIp2MJ3YqhzgNO6gIrNm2UmMrNhy2y7q0H5juZfwHyzr1vacrE6yCweYwiNj/mveXb/Mv4aDmkoXNdr6loVqSFq99ACzE1PMO6w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cImkrLnp; 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="cImkrLnp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CB20C4CEF1; Sat, 31 Jan 2026 11:45:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1769859914; bh=D2P51H4hJvMEKlj78iuVKfSJRamU+v/sZlExosHWLac=; h=From:To:Cc:Subject:Date:Reply-To:From; b=cImkrLnp6bO0ivy2hdumjsKQKycG/wAHs7pzSZQx8lxM3w7eRDfqiOAlimsOFfsSV nidlbQ5ScoKLsdXHdLgQUdwJU5WYegPF4+RvgzbPJb+EYKasM7WFznltioA2CXCjMe rb/s2/FBZNTgdaKfoi3Lkx/a69IhVN1CBH3HvBaw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23027: LoongArch: KVM: Fix kvm_device leak in kvm_pch_pic_destroy() Date: Sat, 31 Jan 2026 12:44:27 +0100 Message-ID: <2026013119-CVE-2026-23027-119a@gregkh> X-Mailer: git-send-email 2.52.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=1860; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=930m22r39xLVfHMbZKuWAS93N/888fTmuV5UANl4TJE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm1r0UeOh3L07s23ePc1rez1tozqqvUb8n9uGmvbaHvd rnmhduWd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEJvYyzLP5eeT0xo9Zq+eF fvwTZLk2xM10rjXDggWfVh6+NvWUssNZNUuudbG3+hpDTwIA 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 kvm_device leak in kvm_pch_pic_destroy() In kvm_ioctl_create_device(), kvm_device has allocated memory, kvm_device->destroy() seems to be supposed to free its kvm_device struct, but kvm_pch_pic_destroy() is not currently doing this, that would lead to a memory leak. So, fix it. The Linux kernel CVE team has assigned CVE-2026-23027 to this issue. Affected and fixed versions =========================== Fixed in 6.18.7 with commit fc53a66227af08d868face4b33fa8b2e1ba187ed Fixed in 6.19-rc6 with commit 1cf342a7c3adc5877837b53bbceb5cc9eff60bbf 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-23027 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/pch_pic.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/fc53a66227af08d868face4b33fa8b2e1ba187ed https://git.kernel.org/stable/c/1cf342a7c3adc5877837b53bbceb5cc9eff60bbf