From mboxrd@z Thu Jan 1 00:00:00 1970 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 663BE39F162; Tue, 21 Apr 2026 09:24:10 +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=1776763450; cv=none; b=XFkzwsoOgU1HJcnZKO5Da+0tViluTHP+PiiegmA2W3FVWsIJqVnmI255YP9dQr3GDjdZSPZbjy0tbmMgzstoehaxGRR9EO1Q7wJNmopdc16sfneK9VWzCb+9iWojrGHOLvFC8nRMbyXnkJIAk+yL/K40Ewuq+HT3o6lRG/P8Z/8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776763450; c=relaxed/simple; bh=z+h5Nnwo0xO4Chm3zN/QoyZZPeeIi/CZAFWRlbq4U+4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=bhmPIe/YZyEC2wtiL61+iophNjcD3fXL3OyO+pYE1CU2eBAr+GqYpcpasYXB5PzbdoYfalT7fvHoZhe+TdKUGUkWWPM+UHKvEeDYGmlKC2ueNif1drs+o6+/wVQOoJ92HACJ2e4RdEA+fOLprsDS47mutluZlAAzkou0UJZT3Pc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aWGB1ZqA; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aWGB1ZqA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D54EC2BCB0; Tue, 21 Apr 2026 09:24:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776763449; bh=z+h5Nnwo0xO4Chm3zN/QoyZZPeeIi/CZAFWRlbq4U+4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=aWGB1ZqAhJB5fE0pCS22Z40rhlnNYtTfb1tpD6gC5YbQcAGPc80XmZq+aZbO6NkcM DhO284RZmDJj+aj8PoJNrZOnPqRBBVaBf9x1WbbbEH5oUkUHvJYwd7BpnGrzEBQdJl ul/WRlXC5lS0JYHVZ26J8dF6AbXvsK5VHj1FSnDhA4eHo59KzzlIja8YFZS4BU+4hb etCY7cFsrX1/ZdZq+0KLT+zGe98Ss5FlChMU0awBBRD6BLb8y8qCMrLBxeKvmeGQSh 65MgdgNF4XM4QimOPWwcxARG6z0PQCIxy62KKSv06iezOY150UHR84092OivE5kwHT 3M0CyKhpGCWlA== From: Pratyush Yadav To: Miquel Raynal Cc: Tudor Ambarus , Pratyush Yadav , Michael Walle , Takahiro Kuwano , Richard Weinberger , Vignesh Raghavendra , Pratyush Yadav , Michael Walle , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] mtd: spi-nor: debugfs: fix out-of-bounds read in spi_nor_params_show() In-Reply-To: <87jyu07olj.fsf@bootlin.com> (Miquel Raynal's message of "Tue, 21 Apr 2026 09:35:20 +0200") References: <20260417-fix-oob-read-spi-nor-v1-1-2132e61a684a@linaro.org> <87jyu07olj.fsf@bootlin.com> Date: Tue, 21 Apr 2026 09:24:05 +0000 Message-ID: <2vxz4il47jka.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Tue, Apr 21 2026, Miquel Raynal wrote: > Hi Tudor, > > On 17/04/2026 at 15:24:39 GMT, Tudor Ambarus wrote: > >> Sashiko noticed an out-of-bounds read [1]. > > [...] > >> Cc: stable@vger.kernel.org >> Fixes: 0257be79fc4a ("mtd: spi-nor: expose internal parameters via debugfs") >> Closes: https://sashiko.dev/#/patchset/20260417-die-erase-fix-v2-1-73bb7004ebad%40infineon.com [1] >> Signed-off-by: Tudor Ambarus >> --- >> We shall assign a CVE to this. I'll look into how next week. > > They are assigned automatically to every fix, no? > > If spi-nor folks want to ack, I might take it through an mtd/fixes PR. Reviewed-by: Pratyush Yadav Please do. Thanks! -- Regards, Pratyush Yadav