From mboxrd@z Thu Jan 1 00:00:00 1970 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 8FDC435F8D2 for ; Sat, 15 Aug 2026 06:14:36 +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=1786774477; cv=none; b=L0O2eC/1/pm6VtLwEdRa7TIbdWvnuTQ197gbiW60IxyI7Bfj+vpYZCJ6tKxKQ+xdIywDHx2mlkn8pOHgaL0aJ52SsWo+4+L+H2kZntooGDR1fm3kLVKfXUfdX0vD+twd8+REXEQJtZHFhpLJl1egf524z8wSkLfqzDEhhGTVx98= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774477; c=relaxed/simple; bh=PAOe4tc1IULmfpPCwO4qqvfO+gsjEtNM8XgqAHl7X/A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OX+dH+tq6rGpe5MKCXs6ZmHTWGBWOSGLrdgblytRdSAoPSNWbljn/qtlcTZb4iz2wTGCbxyoOE9Ihfw6sKqQ0L5JXYv8aOyS6b88Xb3fPSZr6Fonw4PRw8luXn7bhHTQVG9WIviryoQXgtrFDQ711wUE3uFSjC1FcnGQTxqcvkg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AIl+mY3U; 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="AIl+mY3U" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E54AE1F000E9; Sat, 15 Aug 2026 06:14:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774476; bh=OW4/VhYfCHH7mwaRqZrcJvjeiXPT4ZhXH1dSuxxo8K4=; h=From:To:Cc:Subject:Date:Reply-To; b=AIl+mY3U6S9Lg3KdC6BXsZa0dWB9hAKqUjTV4iJ2LTt9JamTNS+Y9BIdxdT0tQdgu lphtHsGs8BCCTYtCdpHxuWWVifa/5j4zmwzga3XJxtGB+bSQoPiqajFD1qlf083s9B Bbt+GCnJx3+pyee4Mdnfk34AmRLRFDYnADZiTYH4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72165: mtd: rawnand: fix condition in 'nand_select_target()' Date: Sat, 15 Aug 2026 15:04:04 +0900 Message-ID: <2026081537-CVE-2026-72165-a73d@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=3187; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dYgvmSyPF2hM9ZHRzfDtk3edhgCiy6cWsBwGuuclsrc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDAeVYxdcu8k6h89O4N2+/dbthnnb+pIaP6vGW/5cc ZdDZv+OjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIwm+GBYfVWCbueJQ3x+nb Ni2Z0KdPHCete8Gw4KjXV89av41TOyT1NBZGHhFluz1nDwA= 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: rawnand: fix condition in 'nand_select_target()' 'cs' here must be in range [0:nanddev_ntargets[. The Linux kernel CVE team has assigned CVE-2026-72165 to this issue. Affected and fixed versions =========================== Issue introduced in 5.2 with commit 32813e288414fecce18f37f8f0d0414a64b45c56 and fixed in 5.10.261 with commit 483a8a8581ee1274ec70e2561492096d4a7305e6 Issue introduced in 5.2 with commit 32813e288414fecce18f37f8f0d0414a64b45c56 and fixed in 5.15.212 with commit c2a131fb6882c98aada739479cc96df8748d0c24 Issue introduced in 5.2 with commit 32813e288414fecce18f37f8f0d0414a64b45c56 and fixed in 6.1.178 with commit e6df4fea1dc86c058e1918136c9b9d8e80c4be1b Issue introduced in 5.2 with commit 32813e288414fecce18f37f8f0d0414a64b45c56 and fixed in 6.6.145 with commit 3da4eb15c7b421c2d97c402bb7bd607c44822995 Issue introduced in 5.2 with commit 32813e288414fecce18f37f8f0d0414a64b45c56 and fixed in 6.12.97 with commit fbc7c8a1167b2eb56b2fd8598c29a3d5e9f8676e Issue introduced in 5.2 with commit 32813e288414fecce18f37f8f0d0414a64b45c56 and fixed in 6.18.40 with commit 4bbfcf9c7e46cae58257150bf834853559382e28 Issue introduced in 5.2 with commit 32813e288414fecce18f37f8f0d0414a64b45c56 and fixed in 7.1.5 with commit 8f575fc17360827ca1d1940a84f3c7ee40407a10 Issue introduced in 5.2 with commit 32813e288414fecce18f37f8f0d0414a64b45c56 and fixed in 7.2-rc1 with commit 8507c2cc9e4fa402401819f44d1e8a5ef4d11d8b 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-72165 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/nand/raw/nand_base.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/483a8a8581ee1274ec70e2561492096d4a7305e6 https://git.kernel.org/stable/c/c2a131fb6882c98aada739479cc96df8748d0c24 https://git.kernel.org/stable/c/e6df4fea1dc86c058e1918136c9b9d8e80c4be1b https://git.kernel.org/stable/c/3da4eb15c7b421c2d97c402bb7bd607c44822995 https://git.kernel.org/stable/c/fbc7c8a1167b2eb56b2fd8598c29a3d5e9f8676e https://git.kernel.org/stable/c/4bbfcf9c7e46cae58257150bf834853559382e28 https://git.kernel.org/stable/c/8f575fc17360827ca1d1940a84f3c7ee40407a10 https://git.kernel.org/stable/c/8507c2cc9e4fa402401819f44d1e8a5ef4d11d8b