Thread (3 messages) 3 messages, 3 authors, 2022-02-03

Re: [PATCH] ax25: fix reference count leaks of ax25_dev

From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-02-03 23:00:13
Also in: linux-hams, lkml

Hello:

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

On Thu,  3 Feb 2022 23:08:11 +0800 you wrote:
The previous commit d01ffb9eee4a ("ax25: add refcount in ax25_dev
to avoid UAF bugs") introduces refcount into ax25_dev, but there
are reference leak paths in ax25_ctl_ioctl(), ax25_fwd_ioctl(),
ax25_rt_add(), ax25_rt_del() and ax25_rt_opt().

This patch uses ax25_dev_put() and adjusts the position of
ax25_addr_ax25dev() to fix reference cout leaks of ax25_dev.

[...]
Here is the summary with links:
  - ax25: fix reference count leaks of ax25_dev
    https://git.kernel.org/netdev/net/c/87563a043cef

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