Thread (3 messages) 3 messages, 3 authors, 2024-06-01

Re: [PATCH net] ax25: Replace kfree() in ax25_dev_free() with ax25_dev_put()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2024-06-01 23:00:30
Also in: linux-hams, lkml

Hello:

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

On Thu, 30 May 2024 13:17:33 +0800 you wrote:
The object "ax25_dev" is managed by reference counting. Thus it should
not be directly released by kfree(), replace with ax25_dev_put().

Fixes: d01ffb9eee4a ("ax25: add refcount in ax25_dev to avoid UAF bugs")
Suggested-by: Dan Carpenter <redacted>
Signed-off-by: Duoming Zhou <redacted>

[...]
Here is the summary with links:
  - [net] ax25: Replace kfree() in ax25_dev_free() with ax25_dev_put()
    https://git.kernel.org/netdev/net/c/166fcf86cd34

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