From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B3DEE3EF67D for ; Fri, 8 May 2026 14:24:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778250269; cv=none; b=epaK+K/jcpNT16I8P4yl5YbfYvqILK4UcUhcqftqcSKci03XBFp6jKgvcq7xH/t9w1bVFzJq5AQVmllYGcpOVhv2xUXDEECUj7iCHsI0zfq2LOIBAWzVJu7+Qro/nJ+uJsJTqSMPBnODkyxkbw+TDDLvQoD6FJKqU/8LvPfP9tc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778250269; c=relaxed/simple; bh=ulG9liP9jxMCe0lwIC+46uKF1kQZW/P4TSkJpC6U+Qo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Cg8m6Wr+CKufi7q+IclrkJVxWB/SsPQbG7uo6VqB7mlQdwQzFgNdDe8sErncCsezbFRiCjvUzQQpuATTb/5tI38CSPLI+O1vLLT2hujeomWsCYNYab/pjVCFdMzbnIib9pGrvnec6oK2voBCgdtrgunyTcQk+wF2guwEr23uPsM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qEuFAKkc; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qEuFAKkc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4AA5DC2BCB0; Fri, 8 May 2026 14:24:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778250269; bh=ulG9liP9jxMCe0lwIC+46uKF1kQZW/P4TSkJpC6U+Qo=; h=From:To:Cc:Subject:Date:Reply-To:From; b=qEuFAKkcvjy+YC1Y404XIkRB3sP9Rml1glinVtR1NSNWBiXcTvnEofxGkeSka9v5L PMK9Sl4e5D2GC9nf2TM+mZH7PqNRUNlnu8k/j4ZlZPxi2D3xCEWdCsW+RA6S4RtG1Q 55TlcDDgjzMFPJazC6coHHmVC9UP5RhOg46GJXj8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43410: firmware: stratix10-rsu: Fix NULL pointer dereference when RSU is disabled Date: Fri, 8 May 2026 16:22:19 +0200 Message-ID: <2026050843-CVE-2026-43410-82d1@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=3281; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Wbvzo8ZorCSB4IdDJ5Py2a+shU94KpwccbzNs7isHXY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJl/P5arir7yk+U/5jVVaNvbuze39D3d4RkYr6fd9uCW1 4qGJ2KbOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi3ZcY5pk+fJ+YY9ZfsMuF oUn23VveVOtQKYY5XJZOmdv/sT39MtExXvRb+4bdJz1aAA== 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: firmware: stratix10-rsu: Fix NULL pointer dereference when RSU is disabled When the Remote System Update (RSU) isn't enabled in the First Stage Boot Loader (FSBL), the driver encounters a NULL pointer dereference when excute svc_normal_to_secure_thread() thread, resulting in a kernel panic: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008 Mem abort info: ... Data abort info: ... [0000000000000008] user address but active_mm is swapper Internal error: Oops: 0000000096000004 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 79 Comm: svc_smc_hvc_thr Not tainted 6.19.0-rc8-yocto-standard+ #59 PREEMPT Hardware name: SoCFPGA Stratix 10 SoCDK (DT) pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : svc_normal_to_secure_thread+0x38c/0x990 lr : svc_normal_to_secure_thread+0x144/0x990 ... Call trace: svc_normal_to_secure_thread+0x38c/0x990 (P) kthread+0x150/0x210 ret_from_fork+0x10/0x20 Code: 97cfc113 f9400260 aa1403e1 f9400400 (f9400402) ---[ end trace 0000000000000000 ]--- The issue occurs because rsu_send_async_msg() fails when RSU is not enabled in firmware, causing the channel to be freed via stratix10_svc_free_channel(). However, the probe function continues execution and registers svc_normal_to_secure_thread(), which subsequently attempts to access the already-freed channel, triggering the NULL pointer dereference. Fix this by properly cleaning up the async client and returning early on failure, preventing the thread from being used with an invalid channel. The Linux kernel CVE team has assigned CVE-2026-43410 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 15847537b623f844d9a08da99ff4568315e1d4f8 and fixed in 6.19.9 with commit aa5739e0c51ad01c6e763ca89c1bfb58fc6ea71a Issue introduced in 6.19 with commit 15847537b623f844d9a08da99ff4568315e1d4f8 and fixed in 7.0 with commit c45f7263100cece247dd3fa5fe277bd97fdb5687 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-43410 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: drivers/firmware/stratix10-rsu.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/aa5739e0c51ad01c6e763ca89c1bfb58fc6ea71a https://git.kernel.org/stable/c/c45f7263100cece247dd3fa5fe277bd97fdb5687