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 4CB0D3EBF06 for ; Sat, 14 Feb 2026 16:30:39 +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=1771086639; cv=none; b=sa6v+xZSOKHHOjNLZ6Bibu4zr3IQvFjbBECkhBtfCN9SyyYVsX5rLYXU8JDqE7vzZRxG4Le8JPArFFJJY0x7nJcQXrtcgxFNMUZ88TCoYIoq4W5/HMXjEDyK5sJ5GMJMosq6TPZ+MdK2bBY+5lvzrGPGw6Wpq0z5Pmf2G9tnvKU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771086639; c=relaxed/simple; bh=Cor5aITgDqKLjWF4/ITUND7v8GAf0rpiKuAjgI0HVAA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=d56UC9HHhsgfiIP6buBQM9RFgvhzSBdbm1eHe57GGEHiYElbu4LxwSbkHNuKl8ZXgnGET3kPinncVOBUJhHdQCmXcUgVb0UkUCH7CbVEig918IlRCIPV3PgFbUjCDQLkuBO1qmOGBo26fWjot1j3BVglJTExhENhxxqxBuLSAzU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BbmLj58d; 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="BbmLj58d" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A47DC16AAE; Sat, 14 Feb 2026 16:30:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771086638; bh=Cor5aITgDqKLjWF4/ITUND7v8GAf0rpiKuAjgI0HVAA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=BbmLj58dEeGHzH/tEMMbXEcB11739n0BPO9r5cZly5T8JFM+SDZmc4veDblDEHSn1 m2/g0Vbq84uLT0oFyfS/zw99I5MzKUZHU33EcP3lXedIOKtWGrHwF3CYFGAbF+5hQC C8u6Ink0vShHpTyqvK3v+NYaDVnrpxyuy1GYrFj0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23207: spi: tegra210-quad: Protect curr_xfer check in IRQ handler Date: Sat, 14 Feb 2026 17:29:04 +0100 Message-ID: <2026021438-CVE-2026-23207-a80c@gregkh> X-Mailer: git-send-email 2.53.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=3272; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GgsCB8HZlzHO5hMAOt/DPiOXM7Ugf15EPsDy2mqIpJc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkTFm0/+u9C4s4Sz36hO3uvrI6aImTIbbNtebjNrviuq fEJWic/d8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE8jsZFpzXv/03ejrb0p+L pqo5ZPcULwjT8GRYMK3o/LpAJ/fCWFlj1k0rWCJ0X24uAAA= 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: spi: tegra210-quad: Protect curr_xfer check in IRQ handler Now that all other accesses to curr_xfer are done under the lock, protect the curr_xfer NULL check in tegra_qspi_isr_thread() with the spinlock. Without this protection, the following race can occur: CPU0 (ISR thread) CPU1 (timeout path) ---------------- ------------------- if (!tqspi->curr_xfer) // sees non-NULL spin_lock() tqspi->curr_xfer = NULL spin_unlock() handle_*_xfer() spin_lock() t = tqspi->curr_xfer // NULL! ... t->len ... // NULL dereference! With this patch, all curr_xfer accesses are now properly synchronized. Although all accesses to curr_xfer are done under the lock, in tegra_qspi_isr_thread() it checks for NULL, releases the lock and reacquires it later in handle_cpu_based_xfer()/handle_dma_based_xfer(). There is a potential for an update in between, which could cause a NULL pointer dereference. To handle this, add a NULL check inside the handlers after acquiring the lock. This ensures that if the timeout path has already cleared curr_xfer, the handler will safely return without dereferencing the NULL pointer. The Linux kernel CVE team has assigned CVE-2026-23207 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18.2 with commit 01bbf25c767219b14c3235bfa85906b8d2cb8fbc and fixed in 6.18.10 with commit 2ac3a105e51496147c0e44e49466eecfcc532d57 Issue introduced in 5.15.198 with commit 88db8bb7ed1bb474618acdf05ebd4f0758d244e2 Issue introduced in 6.1.160 with commit 83309dd551cfd60a5a1a98d9cab19f435b44d46d Issue introduced in 6.6.120 with commit c934e40246da2c5726d14e94719c514e30840df8 Issue introduced in 6.12.63 with commit 551060efb156c50fe33799038ba8145418cfdeef Issue introduced in 6.17.13 with commit bb0c58be84f907285af45657c1d4847b960a12bf 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-23207 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/spi/spi-tegra210-quad.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/2ac3a105e51496147c0e44e49466eecfcc532d57 https://git.kernel.org/stable/c/edf9088b6e1d6d88982db7eb5e736a0e4fbcc09e