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 51E4B361DC0 for ; Sat, 15 Aug 2026 06:16:38 +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=1786774599; cv=none; b=dvGGk2YnwfXejTia++iW2f5Fw0JFFAnejf25Ra2Gv1syMwYgHy9Mj/9HsOP6ZYpcY0oXc5qeSprfm72sryprNfVbNj+Kk2j1YeGdy9TAlH6obAl8Olwc3pcGDLqO67R1W9EQRPC6OVm+YBwJddAL1uAEhohgJlRGvsMUhzLut3o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774599; c=relaxed/simple; bh=2LbL8PH6aGXbSJ6NXRTQmmNNBhW0vDqy6OHpS/Ccmqo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=K6In0Blb9Kq23l2TSUJfTu/XO3towdyyrVucXpGeLKFaWUrS9xewQHZ8IidXSzYqReBLWPkBe2m9rj5oLL5cyLlyzWD7eEkx0BOZUfoetQP6UMMONRTTwDG6jT+ym2RvComEeT2S4ASKWA7nOloLmcdyPbKkD9pmYNiBMKdfWhs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=r9xlssyt; 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="r9xlssyt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A69981F00A3A; Sat, 15 Aug 2026 06:16:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774598; bh=THUHvWcWFgJT38jdbypuYZbaOjlPOhmTX05s83r4aUE=; h=From:To:Cc:Subject:Date:Reply-To; b=r9xlssytGNasi+9FrArDGq6j6VMEfppVMUSJsiL0rKZZq2wlYQ1hOeG70v51aASE9 3sGYNAWAqnv/dtitcS2BlAHE4ORLfbMVwN4iQs6V76H5Gr6l6b9EXnvS06koHhNp5c 7z3WLR3aW7U1TahZMTnO/NXJVHhpyq+1dEVC30KE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72171: mtd: slram: remove failed entries from the device list Date: Sat, 15 Aug 2026 15:04:10 +0900 Message-ID: <2026081538-CVE-2026-72171-e325@gregkh> X-Mailer: git-send-email 2.55.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=3599; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=K09UQhBb2bPwVpiBXLeWrgM34KH5mFyGlZkbWcCLYbA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDIeSnhbMWFez6bOyYZtmoOJdz6gDV5P/Xb8yofTeu 0SV9p7wjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI6muGBUd0zu/aztbXove9 9vyZNbx/tlhGrGFY0FTK9Wcb34TlvYE1e5t+vnBvMz73EwA= 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: mtd: slram: remove failed entries from the device list register_device() links a new slram_mtdlist entry before allocating all of the state needed by the entry. If a later allocation, memremap(), or mtd_device_register() fails, the partially initialized entry remains on the global list. A later cleanup can then dereference or free invalid state from that failed entry. Unwind the partially initialized entry and clear the list tail on each failure path after the entry has been linked. The Linux kernel CVE team has assigned CVE-2026-72171 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.10.261 with commit 9ee674ab10f755bbedbcbb8e76745d2bb8de88d1 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.15.212 with commit e97415b8254d9cc131b7bb1c80fcf38123269b9a Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.178 with commit f40acf577bb0fb0829f285ecfeb27d817840601c Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.145 with commit 200b8bc5b6065b02f3775cf131f14b8e1156a00a Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.97 with commit 2fd0cbbb34447ccddab67a2a638a07c6d94cae7a Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.40 with commit d8dcbbfa0d695a5244059aa34a2e81f3e8df1082 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.1.5 with commit bdcdfc2464659789032edfad15ff5f7a166f5d7b Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.2-rc1 with commit 36f1648644d769c496a8e47e53603e863e358d73 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-72171 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/mtd/devices/slram.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/9ee674ab10f755bbedbcbb8e76745d2bb8de88d1 https://git.kernel.org/stable/c/e97415b8254d9cc131b7bb1c80fcf38123269b9a https://git.kernel.org/stable/c/f40acf577bb0fb0829f285ecfeb27d817840601c https://git.kernel.org/stable/c/200b8bc5b6065b02f3775cf131f14b8e1156a00a https://git.kernel.org/stable/c/2fd0cbbb34447ccddab67a2a638a07c6d94cae7a https://git.kernel.org/stable/c/d8dcbbfa0d695a5244059aa34a2e81f3e8df1082 https://git.kernel.org/stable/c/bdcdfc2464659789032edfad15ff5f7a166f5d7b https://git.kernel.org/stable/c/36f1648644d769c496a8e47e53603e863e358d73