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 2C13848B384 for ; Wed, 1 Jul 2026 13:35:12 +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=1782912914; cv=none; b=nEyNuLmAYRHanwKFQYd2BkRdKT/evziBtKF4pXlxk3vMJIauIHNx1eoP1jzwYAMbK50k7y0iEeuJQQRj0HAIcsSiuZ1uotjxE+g58+KG+BvVXseOe+rkh9EWzLbTGb8nycsHVerc57XTtnXyM3tmvXO15bY5Opx/kgahQ9cfndE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782912914; c=relaxed/simple; bh=YhGK9J7l9ay7JrdrN2OndjgDuQuVGblx+AufAdfXn9o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rY/Rl4B311R/IVq78t8TQcgxL4q7fwNWn1Py6dZaLVqhcy9wZ+jTHxmVpIG+WtfpRBXOjvGJjjajXcMcxKWBEp77LkiniUhhESWddqKHS4LlWBqGBTyP9EfSVD8451cMunYW80NAmiZfLHmVgLtx4gjYZDgmB/1wShwaarlzD24= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=crqXoRVI; 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="crqXoRVI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 424041F00A3D; Wed, 1 Jul 2026 13:35:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782912911; bh=y21pIsXll7eU1F8NQtafOVHyTHKnTu7kXXEfaVUBHmI=; h=From:To:Cc:Subject:Date:Reply-To; b=crqXoRVIhEOosepkaqoMLjTOX/puLwvg+HOKBqh+ShMhxnnlEZly1EXNUGhIHi/zX Zb8Vv463SrgRP0WITufA6dsM93FxyO8dyB5sf/hHzYZidVd6fh4x+G0iKfj2yNJKk0 6Gq878damniTzNjFaBpbvI52kGUlgO92gYfP1JBI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53346: rust: arm64: set uwtable llvm module flag for CONFIG_UNWIND_TABLES Date: Wed, 1 Jul 2026 15:35:01 +0200 Message-ID: <2026070145-CVE-2026-53346-3a6d@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=3545; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rPzQloRlJVhdy4BuVFMkCfAWnMF6xTVpdxHBzdMHQBo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmu4qUqKQL1V9seZiTued5s7TS7h+25rMkuhVwB77UTV nVm7H3dEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOJvM4wP9vrgNKau8ccLioJ /Nkf9Df3q+22CoYFCzX0JQX+xTHWW6Z8tbJ7w7r65GE+AA== 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: rust: arm64: set uwtable llvm module flag for CONFIG_UNWIND_TABLES Due to a rustc bug [1] the -Cforce-unwind-tables=y flag only emits the uwtable annotation for functions, but not for the module. This means that compiler-generated functions such as 'asan.module_ctor' do not receive the uwtable annotation. When CONFIG_UNWIND_PATCH_PAC_INTO_SCS is enabled, this leads to boot failures because the dwarf information emitted for the kasan constructors is wrong, which causes the SCS boot patching code to patch the constructor in an illegal manner. Specifically, the paciasp instruction is patched, but the autiasp instruction is not. This mismatch leads to a crash when the constructor is called during boot. ================================================================== BUG: KASAN: global-out-of-bounds in do_basic_setup+0x4c/0x90 Read of size 8 at addr ffffffe3cc7eb488 by task swapper/0/1 Specifically the faulting instruction is the (*fn)() to invoke the constructor in do_ctors() of the init/main.c file. Once the fix lands in rustc, this flag can be made conditional on the rustc version. Note that passing the flag on a rustc with the fix present has no effect. [ The fix [1] has landed for Rust 1.98.0 (expected release on 2026-08-20). Thus add a version check as discussed. - Miguel ] [ Adjusted link and comment. - Miguel ] The Linux kernel CVE team has assigned CVE-2026-53346 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit d077242d68a31075ef5f5da041bf8f6fc19aa231 and fixed in 6.12.94 with commit bde772ee239720af216fb0b14753971059e132dc Issue introduced in 6.12 with commit d077242d68a31075ef5f5da041bf8f6fc19aa231 and fixed in 6.18.36 with commit d0f25a1755f2c15b1746379c8d9d7dfde85f58f5 Issue introduced in 6.12 with commit d077242d68a31075ef5f5da041bf8f6fc19aa231 and fixed in 7.0.13 with commit 7de13410f59e59b21d3c268a6e22d40f5d9d8a54 Issue introduced in 6.12 with commit d077242d68a31075ef5f5da041bf8f6fc19aa231 and fixed in 7.1 with commit ac35b5580ace12e5d0a0b5e61e36d2c4e1ffa29c 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-53346 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/Makefile 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/bde772ee239720af216fb0b14753971059e132dc https://git.kernel.org/stable/c/d0f25a1755f2c15b1746379c8d9d7dfde85f58f5 https://git.kernel.org/stable/c/7de13410f59e59b21d3c268a6e22d40f5d9d8a54 https://git.kernel.org/stable/c/ac35b5580ace12e5d0a0b5e61e36d2c4e1ffa29c