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 DEA273D523E for ; Fri, 24 Apr 2026 14:38:12 +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=1777041492; cv=none; b=D5NbGCcGyEjVuKTyNu+1schDwgVs+HxckEJUC9m2e2NPdIwuLr96G8Zufz/fEUdZXetet6EfVAWGezeonLcuZuDUpw0aZLKIwZsdVlt37ay3S0RKBxauTay1Wqw9Z0JjczCk0rCKs3yPCWEpJ8DdQnMGOw0hf6f45PtbbjegZ1M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041492; c=relaxed/simple; bh=mnk+6UDb5rgAvuElutkd6/6gvtifBpL/ixik+fdYomU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=k+8F+bX9tCBqkVMvQ05i/GXWcfAdQP8o8vDhtcZvwY2tTlY0skYyB2ga3O2BIlwhIJcLigDarkmxZQ2Ct6XdBoNy1qlUEnIwsKYVZIQODnIEAyZdPFDlmzf+A1qKN8iuSW/UP2jxNWd/SOFCHr+nE/2Rpu1TnKUMuXY0vnD5wjs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OsoyfUe1; 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="OsoyfUe1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 374BAC2BCB5; Fri, 24 Apr 2026 14:38:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777041492; bh=mnk+6UDb5rgAvuElutkd6/6gvtifBpL/ixik+fdYomU=; h=From:To:Cc:Subject:Date:Reply-To:From; b=OsoyfUe1k4b/10lUMWJk+z/ZvaAwQjgCTctR6sRPO9qbt52gVvgMkmQu9MopMxsVs ueqpM/rXWw/+zTc9HdgmKs3608TSK5SpRS5aEsv7zR7Wi97eZdxUX8LTEgvM2oWVQ+ 4NrAHuUlbwUrLFA7IQwqtjCw3S/cSDygJBrPDe90= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31560: spi: spi-dw-dma: fix print error log when wait finish transaction Date: Fri, 24 Apr 2026 16:36:04 +0200 Message-ID: <2026042458-CVE-2026-31560-9e2c@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=1796; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=IJIFUtKevvbaXPjxJbXqpuH/q1i6m4PHAn1idBY+mak=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmv68/pcPifK7F+bD2hRW8v+3ZZlqmq8RIB6za5xb34t OYxz88nHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRR2YMs9nCFdlmxX/7zG59 d8OBEEGXe3d28zMsOLbk6bMDts4J0RU5R0+bL5iucvP/ZQA= 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: spi-dw-dma: fix print error log when wait finish transaction If an error occurs, the device may not have a current message. In this case, the system will crash. In this case, it's better to use dev from the struct ctlr (struct spi_controller*). The Linux kernel CVE team has assigned CVE-2026-31560 to this issue. Affected and fixed versions =========================== Fixed in 6.19.11 with commit 184f5aaf72f1f1c73e66bae0b8d28e81c2f2a72f Fixed in 7.0 with commit 3b46d61890632c8f8b117147b6923bff4b42ccb7 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-31560 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-dw-dma.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/184f5aaf72f1f1c73e66bae0b8d28e81c2f2a72f https://git.kernel.org/stable/c/3b46d61890632c8f8b117147b6923bff4b42ccb7