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 B3CB13B0ADB for ; Thu, 28 May 2026 09:44:29 +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=1779961470; cv=none; b=Zeo1Ii98KRK8MoUTYTA0ps97LZgDg4WzqZYREkXchxUhtyP/Lsl8eOMjzRS3Txk7CFgTivJe6HIvY9HPQk6eZE0wYGVMBv91pGdjP9QWnx6oFHbQrKg7MdYXSmP2uOxnUFsqM87Oounf1kj58AQ/EeoTl3T8TVZ7m4svWd57O3U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961470; c=relaxed/simple; bh=zmjPT8K/LumeQaDegRSwHIIreVgfddmC0ZscKaqTXD4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Us5GwQ8xJjZIE/zBqXpzc1mkK7VfTqm5RZMpjw5kvKHtJmz8bvzuAc+SqGxxXmFU2FOknwUKcGOTlXvKIO9J8Wr5MyJaKAMIj0xQByLxvkhOpc/H4VOL8+LPfFmjjyOae1w4dUoW6KlvvRRF8rbOfK+DF7+9RAY+TnDSOjL4Qew= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yggqb0cy; 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="yggqb0cy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07A661F000E9; Thu, 28 May 2026 09:44:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961469; bh=VzGFvzHkjJcv+T3s2CLHtuleSX9qCJlLk5hfwe4ijRs=; h=From:To:Cc:Subject:Date:Reply-To; b=yggqb0cy/mjfTGP/WkW771xLqbxjR/E/C0jlBCfssYHZ/bk2s14ZFGZG2LCJ+8xaY bPTxiNOsFMv/fCq3mTPff7zK+bsS7wmxqkdyce1HTlqR5xYpbGA6VENsBbmTxqu6CL E+yweTcJPLQaLWy64+FQG2ADTp3eH+Ikdpj34uUQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46228: spi: ch341: fix devres lifetime Date: Thu, 28 May 2026 11:41:03 +0200 Message-ID: <2026052839-CVE-2026-46228-6650@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=2500; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aveoRabgcEyi9YZYL7LsfrUH2DJCG3ry4JlDKVvO6MU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSvNPvCD7/8So/eV81b1TN3OmRL36Ibl4ilP132/JHH FM/ODJrdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEdrQxzGT8fa7yxK0k24WW N3IrpvJafH26UphhfvGWFSVGLXE+R+NmtGg+1y7IXrjeCAA= 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: ch341: fix devres lifetime USB drivers bind to USB interfaces and any device managed resources should have their lifetime tied to the interface rather than parent USB device. This avoids issues like memory leaks when drivers are unbound without their devices being physically disconnected (e.g. on probe deferral or configuration changes). Fix the controller and driver data lifetime so that they are released on driver unbind. Note that this also makes sure that the SPI controller is placed correctly under the USB interface in the device tree. The Linux kernel CVE team has assigned CVE-2026-46228 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit 8846739f52afa07e63395c80227dc544f54bd7b1 and fixed in 6.18.32 with commit 4422fc2411cbbdf5104a914e0596bb483faea254 Issue introduced in 6.11 with commit 8846739f52afa07e63395c80227dc544f54bd7b1 and fixed in 7.0.9 with commit 108a64b27a52f781c4f3751641e3dd65c7dd2fb5 Issue introduced in 6.11 with commit 8846739f52afa07e63395c80227dc544f54bd7b1 and fixed in 7.1-rc1 with commit abe572f630bc1f0e77041012ab075869036ede4f 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-46228 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-ch341.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/4422fc2411cbbdf5104a914e0596bb483faea254 https://git.kernel.org/stable/c/108a64b27a52f781c4f3751641e3dd65c7dd2fb5 https://git.kernel.org/stable/c/abe572f630bc1f0e77041012ab075869036ede4f