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 1C824409127 for ; Wed, 27 May 2026 13:05:10 +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=1779887111; cv=none; b=clsrlI64BeJNHFh/QetJdizrvARnCWa8HKY10b7pBqH/lOc1vXIb1AKQodIYHVru9U+JvQ5DtZYaGpS2Obz3S/5xIR6H1ZuXWlL2dsyjoj6ljaccCNVHS8DjPtccNsrJB9C5CNI274wy97ntxJe3sF9SIiZwmpMB/aUnfcNyqCY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887111; c=relaxed/simple; bh=2nU0b9e/e8/p7baGwXcKvAfyygN+UjqAGq95rISgI58=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XkJXfYnKba9d0pFTv7k/PXETPWBVDH+UXg9Qeod7na11eNIrcn9XZ4lWUhDwPcX/2wGHbKoD+DyQ96k84BpK2qN4bhJScOoJyR+ZwjUQwbDbNbUpr6edSHZX31vG8cigKZTOczM9kzoaGOD5AtcXALoJ9gXC2Szvhp0DA9QjvNM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jJoA+ANr; 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="jJoA+ANr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66E131F000E9; Wed, 27 May 2026 13:05:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779887110; bh=vr+g08e8hrhUOzkY94ppbn7iEkL5svOttKWpbo+vWzs=; h=From:To:Cc:Subject:Date:Reply-To; b=jJoA+ANrDWPewsQBc8V677PVmDzBQ3IQ8CpAjKqrob0Gs33/tZ9Q6UfVreb41vGN2 K6x3sUdG5FkohfcfjaBNMzIr64sPIsCx2GTKpAW94DibEuaUZhnLuDuhuoEbBNvxxj LT5n57r0Vmz2aK13wFBFg5IuZmV43O6osSyhkKpQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46083: spi: fix resource leaks on device setup failure Date: Wed, 27 May 2026 15:00:14 +0200 Message-ID: <2026052701-CVE-2026-46083-3ddd@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=2827; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YGXTjN/aEIvaf/Xzdrf74OmBCFf5XEPlIx+MntygnV0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlir6Yynfnux/Sy9ETd040h75mFZjmLpR3J69VkaeIIF f2wYdGujlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIk28M80x2fr6qxeO6SS/v +OJo81LvVxmXKhgWnJXI/PzX99H7n3s1/+Z963z016owCwA= 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: fix resource leaks on device setup failure Make sure to call controller cleanup() if spi_setup() fails while registering a device to avoid leaking any resources allocated by setup(). The Linux kernel CVE team has assigned CVE-2026-46083 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit c7299fea67696db5bd09d924d1f1080d894f92ef and fixed in 6.6.140 with commit a2c817c629430fbbd54273525b472dac96e2c8fd Issue introduced in 5.13 with commit c7299fea67696db5bd09d924d1f1080d894f92ef and fixed in 6.12.86 with commit 1e774294b2f944f59e03a04eb438768a4b93c3ce Issue introduced in 5.13 with commit c7299fea67696db5bd09d924d1f1080d894f92ef and fixed in 6.18.27 with commit 11baa8b24bcb07ae2048f2566a220021d766abe0 Issue introduced in 5.13 with commit c7299fea67696db5bd09d924d1f1080d894f92ef and fixed in 7.0.4 with commit dbcead54b12468d9aa54c0e1f0042d838ec3b0ae Issue introduced in 5.13 with commit c7299fea67696db5bd09d924d1f1080d894f92ef and fixed in 7.1-rc1 with commit db357034f7e0cf23f233f414a8508312dfe8fbbe Issue introduced in 5.4.126 with commit 3e7c190475d98099231ee8ae486d31b1e2e7535a Issue introduced in 5.10.44 with commit 4b8b7bc3a726268e5c15d9bafe27863a85fdfc8e Issue introduced in 5.12.11 with commit e92ac9263b06c39f05526ad15c90d228cdab60fd 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-46083 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.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/a2c817c629430fbbd54273525b472dac96e2c8fd https://git.kernel.org/stable/c/1e774294b2f944f59e03a04eb438768a4b93c3ce https://git.kernel.org/stable/c/11baa8b24bcb07ae2048f2566a220021d766abe0 https://git.kernel.org/stable/c/dbcead54b12468d9aa54c0e1f0042d838ec3b0ae https://git.kernel.org/stable/c/db357034f7e0cf23f233f414a8508312dfe8fbbe