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 5DF053D5C1B for ; Wed, 27 May 2026 12:21:25 +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=1779884486; cv=none; b=saC4DFj2NyS/5tSVZ2ceD76ZUqsHh41IiT+gKsSK7B4aDnWJ2pl4Ot/+FrGpdHy7CosBQOP1nX78hC8vHFE5I9EiRlGU6EygdAUcZM/5g7eCbwtBg2GlHjdnuYN4toH+nAoD3OkhJXeVuxmoIW2jVNSc9VvoQ/RO/CRaYA1ztVY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884486; c=relaxed/simple; bh=IP1JLCXkN23qxP5dq2ezkUme5+3gr8HCVUtrnmhujQ0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MszBA0q5xaZE2jPA9u9pp7bx1fX9S0gVk6+m0TU0kX8J3xujdktIFf+ylW1hmoSK1ih1ZbbaAzHTniymYXcCU6Hjla/8nvvWC0SV6x/GZ0XVNu+u9vPeeiFVL153V+DIT8V6Zcgiiv6X11qX5nTAHT/2I0xNLh3s9cuBJWNFazQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yCxit1CA; 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="yCxit1CA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9871D1F000E9; Wed, 27 May 2026 12:21:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779884485; bh=l8GbHIcFJ1UU/KdYk4mIlx43+6JKodLXUttG4FylFwY=; h=From:To:Cc:Subject:Date:Reply-To; b=yCxit1CAEXjtsR9/bekKwF0tPS3KdOSkLQFrcGGRjn/jatjUVoxRHTFWutzmynKO4 D1OsZXvUHCWHAO4ouX6umgbCPNYcd25e5hHBX3N3ruMsj9qVgvUtxueFYHbKeyB73+ uF1IkgrVK1SQDAPb43imlroYgRZaI28TyzUI+40k= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-45876: arm64/gcs: Fix error handling in arch_set_shadow_stack_status() Date: Wed, 27 May 2026 14:18:38 +0200 Message-ID: <2026052714-CVE-2026-45876-4460@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=2295; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=I2KGkOYXXac7J+8Hy5SjrmqzThoUUXDFiTBss55tkPw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliD9nyT7N3aDQ/lhBbFfUp3zJ1W8KiH81yP9K1/+s/K 1ufwbaxI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZi+YJhQefy0v5Qo7T4w//O XmDdc+yKTYTyK4b5AROm23z2X8x7d8bmr+bqc5hPy21fBAA= 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: arm64/gcs: Fix error handling in arch_set_shadow_stack_status() alloc_gcs() returns an error-encoded pointer on failure, which comes from do_mmap(), not NULL. The current NULL check fails to detect errors, which could lead to using an invalid GCS address. Use IS_ERR_VALUE() to properly detect errors, consistent with the check in gcs_alloc_thread_stack(). The Linux kernel CVE team has assigned CVE-2026-45876 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit b57180c75c7ebff6613886cb69ef6e283a10358b and fixed in 6.18.14 with commit c787a235deb33be6eda40beee8f561da5fd8cb8c Issue introduced in 6.13 with commit b57180c75c7ebff6613886cb69ef6e283a10358b and fixed in 6.19.4 with commit a4741114c9622346c4bbb8cc2bbd88153616ffaf Issue introduced in 6.13 with commit b57180c75c7ebff6613886cb69ef6e283a10358b and fixed in 7.0 with commit 53c998527ffa60f9deda8974a11ad39790684159 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-45876 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/mm/gcs.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/c787a235deb33be6eda40beee8f561da5fd8cb8c https://git.kernel.org/stable/c/a4741114c9622346c4bbb8cc2bbd88153616ffaf https://git.kernel.org/stable/c/53c998527ffa60f9deda8974a11ad39790684159