Thread (2 messages) flat view 2 messages, 2 authors, 2021-11-22

Re: [PATCH net] net, neigh: Fix crash in v6 module initialization error path

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-11-22 16:00:12

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Mon, 22 Nov 2021 16:01:51 +0100 you wrote:
When IPv6 module gets initialized, but it's hitting an error in inet6_init()
where it then needs to undo all the prior initialization work, it also might
do a call to ndisc_cleanup() which then calls neigh_table_clear(). In there
is a missing timer cancellation of the table's managed_work item.

The kernel test robot explicitly triggered this error path and caused a UAF
crash similar to the below:

[...]
Here is the summary with links:
  - [net] net, neigh: Fix crash in v6 module initialization error path
    https://git.kernel.org/netdev/net/c/4177d5b017a7

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help