From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 82278F9C0 for ; Mon, 27 Apr 2026 12:35:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777293328; cv=none; b=rnwNlXeINjU19zPsNNcO5NqZ80Q2o0BWjNaBgAlLxWOxWOh2f9RH6wAKOBE6+uY3TqwyE53mBHDP57/9K/GPxIa3mNy7uX8ADVoZ5rsIvmGUnEUYEXosABBgOafDQ47y9GbhWeSSsKZULiC1eXfv1x0FV7QDZXQrXEnVPh1dP5Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777293328; c=relaxed/simple; bh=uKFfXQaezyTz26nsftWjY8Ac+CXjHCjEYGqkt7gYjo0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Wt73Qizoo0dRuNrXdz4li9pkt3k8ukcjt4Z9s+dAnSS6NjOv4n9cHkLwXuJOFhsLSJuUlEOzppqAYSepiHefbOJT8DuKDCapQfLtTztZf1u5B4uAsKw5PJxo7gVkd9JuyDUnif6EjPpiJrftcIDeMPX4pztNVut4wsNMyWlgBEc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=ghOXWGou; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="ghOXWGou" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 0FF021A3442; Mon, 27 Apr 2026 12:35:26 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id D41F5600D1; Mon, 27 Apr 2026 12:35:25 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 7A8D0107281E7; Mon, 27 Apr 2026 14:35:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1777293325; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=uKFfXQaezyTz26nsftWjY8Ac+CXjHCjEYGqkt7gYjo0=; b=ghOXWGounxDetPhdU7XY9YNSDqNYMiii5lomtJUfnC/ed5CDqeMiIzGysSvLvemgn5Sk7v JFfAtexSdyRdebFrAe3+yN4dG/asDlmPaxSu/BYoBRlSRiKY7ciRiAbVt19gfTbscAeM56 C2fu5xLIKeOlYDpRcb2qwVeQsQR5vk/OiZTlFPm3sk0O3nMSyrmCXB1tFavEoMsdczBtle Fov73CytapRE1ofZZq6mrBnu6RQ2s0L3gZ4S0phBYu+znYd+vUxMkoEdWwIPJtL12Fqog1 jco7PQtWLho06274sENNyStVGGST+DAmNjyVWPrbaEjbka46RmcWgF3f+Katew== From: Miquel Raynal To: Florian Fuchs Cc: Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Rich Felker , John Paul Adrian Glaubitz , Artur Rojek Subject: Re: [PATCH v2 3/3] mtd: maps: vmu-flash: Fix NULL pointer dereference in initialization In-Reply-To: <20260427114750.2480900-4-fuchsfl@gmail.com> (Florian Fuchs's message of "Mon, 27 Apr 2026 13:47:50 +0200") References: <20260427114750.2480900-1-fuchsfl@gmail.com> <20260427114750.2480900-4-fuchsfl@gmail.com> User-Agent: mu4e 1.12.7; emacs 30.2 Date: Mon, 27 Apr 2026 14:35:25 +0200 Message-ID: <87y0i8h982.fsf@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 On 27/04/2026 at 13:47:50 +02, Florian Fuchs wrote: > The mtd_info contains a struct device, which must be linked to its > parent. Without this, the initialization of the MTD fails with a NULL > pointer dereference. > > Signed-off-by: Florian Fuchs > --- For how long as this been broken? Is it really used? Anyway, also here you will need to Cc stable and add a fixes tag. Thanks, Miqu=C3=A8l