]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
maple_tree: fix potential rcu issue
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 11 Apr 2023 15:10:43 +0000 (11:10 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Apr 2023 15:02:57 +0000 (17:02 +0200)
commitd478ff0ca89f06c36d9fe45654ddf76d768ac8e7
treef9aef3fff367853b00466ea24adc22b0f4fadadd
parent0c387104c2d9f4853dc08c51b38f1760f8f1bf01
maple_tree: fix potential rcu issue

commit 65be6f058b0eba98dc6c6f197ea9f62c9b6a519f upstream.

Ensure the node isn't dead after reading the node end.

Link: https://lkml.kernel.org/r/20230120162650.984577-3-Liam.Howlett@oracle.com
Cc: <Stable@vger.kernel.org>
Fixes: 54a611b60590 ("Maple Tree: add new data structure")
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
lib/maple_tree.c