[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aPQxhMH0CSZm86Lk@casper.infradead.org>
Date: Sun, 19 Oct 2025 01:32:04 +0100
From: Matthew Wilcox <willy@...radead.org>
To: Markus Elfring <Markus.Elfring@....de>
Cc: Huiwen He <hehuiwen@...inos.cn>, maple-tree@...ts.infradead.org,
linux-mm@...ck.org, "Liam R. Howlett" <Liam.Howlett@...cle.com>,
LKML <linux-kernel@...r.kernel.org>,
Alice Ryhl <aliceryhl@...gle.com>,
Andrew Ballance <andrewjballance@...il.com>
Subject: Re: [PATCH] maple_tree: Fix potential NULL pointer dereference if
mas_pop_node() fails
On Sat, Oct 18, 2025 at 06:38:11PM +0200, Markus Elfring wrote:
> > mas_pop_node() may return NULL when memory allocation fails or when
> > mas->sheaf is invalid. Several callers of mas_pop_node() did not check
> > the return value and directly dereferenced the pointer, which could
> > lead to a NULL pointer dereference and kernel crash.
>
> Will another imperative wording approach become more helpful for an improved
> change description?
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.18-rc1#n94
Markus, stop this. You've been told before.
Powered by blists - more mailing lists