[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9092f8af-72d9-472e-8d5c-f950c8ce782d@web.de>
Date: Sat, 18 Oct 2025 18:38:11 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Huiwen He <hehuiwen@...inos.cn>, maple-tree@...ts.infradead.org,
linux-mm@...ck.org, "Liam R. Howlett" <Liam.Howlett@...cle.com>
Cc: 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
> 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
Regards,
Markus
Powered by blists - more mailing lists