[PATCH net] rxrpc: Fix a couple of potential use-after-frees
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Wed Dec 28 02:00:16 PST 2022
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem at davemloft.net>:
On Sat, 24 Dec 2022 14:49:00 +0000 you wrote:
> At the end of rxrpc_recvmsg(), if a call is found, the call is put and then
> a trace line is emitted referencing that call in a couple of places - but
> the call may have been deallocated by the time those traces happen.
>
> Fix this by stashing the call debug_id in a variable and passing that to
> the tracepoint rather than the call pointer.
>
> [...]
Here is the summary with links:
- [net] rxrpc: Fix a couple of potential use-after-frees
https://git.kernel.org/netdev/net/c/0e50d999903c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-afs
mailing list