Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795154004; b=O64AJdBbM9kzUsHLXNiWSe4y6IaftuTL6d7nDV2o+pu+MDy2FY45nwdgpRndSoBzfgd+ dcvFET9Ld8JW7vmvoMTdlwaw5U2Z8s3LAA93zplfxa6kC2pSNigvHTse1dfswEMGS9pJ+ Vru4G4QbPRt6gvFt7szycPnNS6YZASKlEtmE3si25kjVu8cmumEbxDuotJwsCJIUq5/Bp 01MUHtwhQ90LTgYk+9t4cJGBno5UdkjjENWw+hh7bxjf5sE2cvhgflW3AAQYxsh59W8pr icLCPpoCV6AJzdlBTCZ8IyY+dAwzFa5pFtvWrX6vzgIAJ0vyIwpgLsFS2UShJRBBjlQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154004; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=5aIhHihhVjVCqfTXRxndL9qMVPow8B8E8ab/YXNg3uU=; b=hHv6RlJD5vao3noIeZ8tqKjleq0p4j+C2ozNpVNWPuXXkbthbss3wZ4SOapRxPE4qiJz G4kgFtyW+VZKWYkNR2OBDSSoU9gETQ5qvsqDcUMiM0tDFooHM5d6TPgk8aEFGneloiBMC N4hQCi2REfiVew8mR7UeSKCLCpFDwk1WWVpjMuywVDBij2ymSLjwXE55VNUCVjsaOu1H/ vT18+ndoF7aj1HK2e38sKfV22gHMRlSu2nTDlgaZldkcG7WqjLpUYqRqcCwRn5K54VLz7 dhbDjW2+2OqSXBB1r4vuPh5DvcuB5cgo7LRcCblChlh1jES+ZO1qWB0Of5yM+p6VZzA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=qqat0FJU; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84586606A320 for ; Fri, 20 Nov 2026 05:53:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=qqat0FJU Received: by smtp.kernel.org (Postfix) with ESMTPSA id D11821F000C4; Fri, 20 Nov 2026 05:53:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154004; bh=5aIhHihhVjVCqfTXRxndL9qMVPow8B8E8ab/YXNg3uU=; h=From:To:Cc:Subject:Date:Reply-To; b=qqat0FJURp27bXi2NZNlYS7/RRG97+4fuGLAqlUmuUB6K1H/hj2Nyt2PElOzS3eAE 1Eph9PrjBwzDnM8xuVwxJCWzMP3c/zR7mlxoUL6ZAsVZhwhOS4X2g4XwCeuWPRF5n2 k28ezl5A9lCR/rFU5BjmmTuPXKBRh8tO9H7Pk4uM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99592: x86/mm: Fix global ASID handed out to two processes Date: Fri, 20 Nov 2026 06:49:38 +0100 Message-ID: <2026112022-CVE-2026-99592-61b6@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3757; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mDl3dJu8Yu7A/49N30dDIXHFqqMGdUUDYKHulF+graY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/7yc9uH2qw77id0hlwtc1bmXKk45fFBfXnBX4hVv9x O+pGetPdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEjH0ZFiypbd+2cJe29SKr 9A+tV8oFUwqUrzEsWHPz6I1jah0J1hpb9m6e/f3oYcFzOgA= 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: x86/mm: Fix global ASID handed out to two processes On AMD CPUs with INVLPGB, two live processes can get the same MAX_ASID_AVAILABLE global ASID value. The two then hit each other's TLB entries, so each can read or corrupt the other's memory. The global ASID space is managed lazily. When a global ASID is freed, its bit is set in the global_asid_freed bitmap. Once the free ASID search reaches the end of the global_asid_used bitmap, a global flush is done to really reclaim the lazily freed global ASIDs. However, the current code can assign the same global ASID to two different processes, if one process is assigned MAX_ASID_AVAILABLE - 1, another process MAX_ASID_AVAILABLE, and both stick around (keeping their global ASID numbers in use) until the search wraps around again. At that point a third process could also get assigned MAX_ASID_AVAILABLE. the highest ASID stays in use, so it is not handed out again last_global_asid stays below it, so no reset the clear bits run out find_next_zero_bit() returns MAX_ASID_AVAILABLE global_asid_available > 0, so the failure is not caught MAX_ASID_AVAILABLE is handed out as an ASID A search only looks at the bits below MAX_ASID_AVAILABLE, so it cannot see that this value is in use. The next failed search hands it out again, even if the first process still holds it. The fix used here is to reset the global ASID space after a failed search, and to search again. If that search fails too, no global ASID is handed out. The test for !global_asid_available is removed, because use_global_asid() only calls allocate_global_asid() if global_asid_available > 0. The remaining test is for a condition that should be impossible. [ riel: simplify code, massage changelog and comment ] The Linux kernel CVE team has assigned CVE-2026-99592 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit d504d1247e369e82c30588b296cc45a85a1ecc12 and fixed in 6.18.64 with commit 25bf240e1c755aaef670680a6de03f9f561c86f5 Issue introduced in 6.15 with commit d504d1247e369e82c30588b296cc45a85a1ecc12 and fixed in 7.3.5 with commit 02938c10d9e5c7631c8dbd6c48517805c1edf0a6 Issue introduced in 6.15 with commit d504d1247e369e82c30588b296cc45a85a1ecc12 and fixed in 7.4-rc2 with commit 5cdc3746fa163fb4e8d05fa3cabf46bc6aa7df75 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-99592 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/x86/mm/tlb.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/25bf240e1c755aaef670680a6de03f9f561c86f5 https://git.kernel.org/stable/c/02938c10d9e5c7631c8dbd6c48517805c1edf0a6 https://git.kernel.org/stable/c/5cdc3746fa163fb4e8d05fa3cabf46bc6aa7df75