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 DAF24469824 for ; Wed, 16 Sep 2026 08:39:24 +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=1789547966; cv=none; b=rqNYdWPawKSkLUSUgmy+vhxZcm5YXDcjIET2MKj+M3MJqhAGiq3N7xj0F2A1L9AVbQDFtyotQ1W95ubXmrmvqnFHIiyNTcJW5gODWsaC+qm3W/Yuor0PvGuxT7XzCYlTvYC4TqEl1Kp/pPHGoZfFaFrHKkVxETU+TYEuHVjQUbE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789547966; c=relaxed/simple; bh=vqi3q2ih9rJsqjdhrmdmDs7rgUGYzWvmhVpnrtf168o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=i1xat7BrOwiuoM84/kkhJH32k1DG+slSTvFyY7RVyTL52ursbIc21f6bOTLb5L0m2i5k1MNRtPnZyNz4E2EbAjOSuDvtoeMeScM/DUXJpDMCMu0OBxerHTyXr+YX+/cY7lXRlPXiYN0KWxvAXKNpNb06ymB1oJ5cAzo10rApwg0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0w0pKtbH; 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="0w0pKtbH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C835B1F000FF; Wed, 16 Sep 2026 08:39:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789547964; bh=i8GHR7QXZ1q2iG4FKk5JxFKSdZjWbWAEX3jttvnbHzw=; h=From:To:Cc:Subject:Date:Reply-To; b=0w0pKtbHhd3z5BfDGnSmJEqqtoo+jm5bx8dD0qEZyvFovzkKhtdtb0s0//K0i6xS+ rPqZ+H4ltAMgsm6nWDlnaDZ3XwhuCPxG7i2Lj0HNYxPLuou55eejonmmWybIliycEy WIaJ5K8FcK/NOZaXItqhAPN8tgkji/nuFAtgaO7U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89775: KVM: arm64: Handle negative S1 walk levels in VNCR TLB size evaluation Date: Wed, 16 Sep 2026 09:37:29 +0100 Message-ID: <2026091628-CVE-2026-89775-7caf@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=3063; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PeNEeQ9NeM6avr9OD0+piVPjdRX+wUlruiXFCs9jjNs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmrQj2UXh2N0OssbvLfEnNk87a3d2OjZwjtlQhLfu/l5 xesnaXREcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABO5osiwYMavYo6rIj9DzBIs n5z5aP4itPBhLMP8NHOLiclHl+t+nqWpuKX1QVPUtEUcAA== 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: Handle negative S1 walk levels in VNCR TLB size evaluation Computing the effects of a TLB invalidation involves looking at the size of the mapping cached by the TLB. For S1 mappings such as VNCR, this is deducted from the combination of the base granule size and the mapping level. However, this implies that the S1 MMU is *on*. When the MMU is off, we indicate this with the level being set to a "creative" value of -127 (S1_MMU_DISABLED). This ends-up being misinterpreted by pgshift_level_to_ttl() as it doesn't handle negative levels at all (the level is immediately cast to a u8 and only the bottom two bits considered), leading to an invalidation size of 0. Not helpful. Tidy-up pgshift_level_to_ttl() to handle these negative levels, and ttl_to_size() to always return SZ_1G when no valid TTL is present. This allows the removal of open-coded checks for similar situations. Note that the check for a negative value not explicitely checking for S1_MMU_DISABLED is deliberate, so that actual negative levels introduced with LVA2 and D128 can take the same path if we ever support them. The Linux kernel CVE team has assigned CVE-2026-89775 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 7270cc9157f474dfc46750a34c9d7defc686b2eb and fixed in 6.18.51 with commit be54a70067c7dbe1381157e8a238fa4b16ea9c05 Issue introduced in 6.16 with commit 7270cc9157f474dfc46750a34c9d7defc686b2eb and fixed in 7.2.5 with commit 1c9fca34b9625a67a7f1a03c8604f3df760c6c49 Issue introduced in 6.16 with commit 7270cc9157f474dfc46750a34c9d7defc686b2eb and fixed in 7.3-rc1 with commit 8053393680d4fa3eb962667d2be95dd39f0940e5 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-89775 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/be54a70067c7dbe1381157e8a238fa4b16ea9c05 https://git.kernel.org/stable/c/1c9fca34b9625a67a7f1a03c8604f3df760c6c49 https://git.kernel.org/stable/c/8053393680d4fa3eb962667d2be95dd39f0940e5