Re: [PATCH] net: page_pool: Fix NULL pointer dereference in page_pool_unlist()

Jakub Kicinski
2023-12-01T07:08:44Z

On Thu, 30 Nov 2023 20:25:42 +0100 Bert Karwatzki wrote:
> When the the hlist_node pool->user.list is in an in an unhashed state,
> calling hlist_del() leads to a NULL pointer dereference. This happens
> e. g. when rmmod'ing the mt7921e (mediatek wifi driver) kernel module.
> An additional check fixes the issue.
>
> Fixes: 083772c9f972dc ("net: page_pool: record pools per netdev")
>
> Signed-off-by: Bert Karwatzki <spasswolf@web.de>

Thanks for the patch, we got a couple of similar submissions,
and merged the first one to be posted.. should be fixed in net-next now.
--
pw-bot: na