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 D07365013D1 for ; Wed, 16 Sep 2026 10:39:06 +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=1789555186; cv=none; b=p+Kv4dwBKOYE2YDio9prPG7rulm7R2iUZqUot3K3FZEvYvrp7esrM/LUvtXZubHt6z693wN+i3KaMOmpkuhXgS4jUIUlO44VWxWR51V59lO98PxqR9N2YYUO/IZo+897Ne3urPJjpTjsegQ/iZ+WnBUkP55ATFjTzaF6fWiYxyY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555186; c=relaxed/simple; bh=DSkIvGKtZFA8qDeQouvdMlw6tvAeOYdgXvcRZCKmoBA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nefapZ1bwuP9n+3xA5/YIX9vSdYJjrg1YNmF1bRLvXJJAggGd0YehRTuDRadVCrvsOVZ77pEnksKIKCt8bFsk2WDa2nCtLgh1sZfKhKBt4uovfN2ZJEingxQ0bJb4wJLO1p+nWRw6nPsuTXNqqMHL2K3Fk48QcNq/f0w7e9J2nI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FPVHPeZg; 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="FPVHPeZg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 449241F0089A; Wed, 16 Sep 2026 10:39:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555141; bh=SQ5SjXkcXawsv76RM5tCYcNqAtync8DEykP/SLOHNyc=; h=From:To:Cc:Subject:Date:Reply-To; b=FPVHPeZgL5iY32zR18g0tD4MawYKjWOloPADTzMw2OlHDLYCzthEuY9673mZpzvru PUlxHJXwCK587kS8Oj5rblHj8lwEWNbYu/wXPSoTc0AaBZzyMo84x6H1SuQ1UTFxTa Rhjwn2/WiBVaxNO4daj3Rk+aExzxizXomGC/Ztwg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89918: KVM: arm64: Correctly handle end of VA space TLBI invalidation Date: Wed, 16 Sep 2026 11:30:48 +0100 Message-ID: <2026091642-CVE-2026-89918-464c@gregkh> X-Mailer: git-send-email 2.55.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=2788; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4E9H2N4LiAQy12em9hAHH+GcYdv2rK5qlQemx6ERPsc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8qfJ378dzLGjRvPsyp58l+7dDU/KN1/3Na7SCjj6Q i6GY+2ujlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIoX8M83NnL5Cwkv/r4X2O Jd9e+/SMy4z1txnmB7k+ansYnGB6NfvBnt8zjhcF/rN3BQA= 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: Correctly handle end of VA space TLBI invalidation Our TLB invalidation by VA code is based on comparing two ranges, one defined by the TLB, and one defined by the TLBI instruction. Each range is defined by a start and a size. However, the way the comparison is done doesn't account for address rollover, as it compares an address with (base + size). This works nicely until this expression represent the last page/block in the TTBR1 VA space, as the result is a big fat 0. And a failed TLB invalidation. Rewrite the comparison in a way that is immune to the address rollover (making the end address inclusive instead of exclusive), and move this into a common helper that is used by both VA and IPA invalidations, as suggested by Hyunwoo Kim (although the IPA version didn't suffer from this particular problem, obviously). The Linux kernel CVE team has assigned CVE-2026-89918 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 4ffa72ad8f37e73bbb6c0baa88557bcb4fd39929 and fixed in 6.18.51 with commit ce447651a52ec077694172af10c4fffb11f56c43 Issue introduced in 6.16 with commit 4ffa72ad8f37e73bbb6c0baa88557bcb4fd39929 and fixed in 7.2.5 with commit c624731ca6fe59ad8909ce4108301aa7560a91d6 Issue introduced in 6.16 with commit 4ffa72ad8f37e73bbb6c0baa88557bcb4fd39929 and fixed in 7.3-rc1 with commit 34af2c3e31f91a739dc175459fdbd99ed952b457 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-89918 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/nested.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/ce447651a52ec077694172af10c4fffb11f56c43 https://git.kernel.org/stable/c/c624731ca6fe59ad8909ce4108301aa7560a91d6 https://git.kernel.org/stable/c/34af2c3e31f91a739dc175459fdbd99ed952b457