[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231130230812.16461d0f@kernel.org>
Date: Thu, 30 Nov 2023 23:08:12 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Bert Karwatzki <spasswolf@....de>
Cc: almasrymina@...gle.com, edumazet@...gle.com, hawk@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: page_pool: Fix NULL pointer dereference in
page_pool_unlist()
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@....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
Powered by blists - more mailing lists