Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 06D0E403E85 for ; Tue, 9 Jun 2026 11:52:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781005963; cv=none; b=eIs5B5mah/KfHh56IHZYKqtEe3lvQHfTJP0FHvFTeZBOKnGu/gdr0BugoYBuVmCsnSQfBev05Wv8AuCfGvJGZnLVVj0YbC+IJ3o+DG/Maz4oYg8VjVm/OqV8lbXLd4AfLIa+AwSHrwe/X10szjapBOvIIHyPpa/FJMq9E4t3KWU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781005963; c=relaxed/simple; bh=QhV7ypiDw/yIfi8qewq0rXy2GfYR1X+NYLckJTDEc94=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hIL5v8HGdgyh1bsukir5IA0rgw1d5pmehLisWiB3sNWQiCXCXHzEmULlkTJHn1DicNDD/oJ8Rsv94fIbD4uD3idkoq4tw7KvmP1OuXetdH2QaNgAkx+O/Kg2wYUryCcCe9g/AMvz31b7ZKNhfZWDEYTMFlqbitz1lpgTNrnep+c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=C2gWP84l; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="C2gWP84l" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 179341F00898; Tue, 9 Jun 2026 11:52:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1781005961; bh=JK13jnYMf1UwnLTyODQURFLiazPYSRE3vywCfFq/cOw=; h=From:To:Cc:Subject:Date:Reply-To; b=C2gWP84lrATY1OhYbBJ6ql2RWysK8esXHUV4NKdH197mskGobDFtOETr0QDnY+761 a4EVJawnLYKzTysKlJPFvPOTD196zSO8ZK/ogNHl9kfpmXn2OCuv5wwFuIyJPUpZP+ 8MM9ka+12VpIiTsSYGO+bIKAKI5/f40rPaHvEkUo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46316: KVM: arm64: vgic-its: Drop the translation cache reference only for the erased entry Date: Tue, 9 Jun 2026 13:51:37 +0200 Message-ID: <2026060936-CVE-2026-46316-f761@gregkh> X-Mailer: git-send-email 2.54.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=3279; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ovUh54Wz9wGyX7hh+Zuz5hH/cTEeZpValZeYgGZX0rM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnq/zw2KG3tMpv2o9ZvwYTLW3Ue6VlomrzLu5s69a1fg uD+NetUO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAim1kYFqw4kFypNXlxysxY YRsBJ/3EsIsxBgwLJmpsmaqovqu1wnHG3APSz0/sevQ8GwA= 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: KVM: arm64: vgic-its: Drop the translation cache reference only for the erased entry vgic_its_invalidate_cache() walks the per-ITS translation cache with xa_for_each() and drops the cache's reference on each entry with vgic_put_irq(). It puts the iterated pointer, though, rather than the value returned by xa_erase(). The function is called from contexts that do not exclude one another: the ITS command handlers hold its_lock, the GITS_CTLR write path holds cmd_lock, and the path that clears EnableLPIs in a redistributor's GICR_CTLR holds neither. Two or more of them can drain the same cache concurrently, and if each one observes the same entry, erases it and then puts it, the single reference the cache holds on that entry is dropped more than once. The entry can then be freed while an ITE still maps it. xa_erase() is atomic and returns the previous entry, so put only the entry that this context actually removed. The cache reference is then dropped exactly once per entry even when the invalidations run concurrently, and the behavior is unchanged when only one context runs. The Linux kernel CVE team has assigned CVE-2026-46316 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 8201d1028caa4fae88e222c4e8cf541fdf45b821 and fixed in 6.12.93 with commit b7b72e88046328c9fdc638fe887d4240257dd5dc Issue introduced in 6.10 with commit 8201d1028caa4fae88e222c4e8cf541fdf45b821 and fixed in 6.18.35 with commit 2bbc395e81bd29c543a0529a678327e932a7ec69 Issue introduced in 6.10 with commit 8201d1028caa4fae88e222c4e8cf541fdf45b821 and fixed in 7.0.12 with commit 9121f4605ab94969f62d1b5714ca3c6c69bd202f Issue introduced in 6.10 with commit 8201d1028caa4fae88e222c4e8cf541fdf45b821 and fixed in 7.1-rc7 with commit 13031fb6b8357fbbcded2a7f4cba73e4781ee594 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-46316 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/vgic/vgic-its.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/b7b72e88046328c9fdc638fe887d4240257dd5dc https://git.kernel.org/stable/c/2bbc395e81bd29c543a0529a678327e932a7ec69 https://git.kernel.org/stable/c/9121f4605ab94969f62d1b5714ca3c6c69bd202f https://git.kernel.org/stable/c/13031fb6b8357fbbcded2a7f4cba73e4781ee594