[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<168764581981.27285.13297166277839266868.git-patchwork-notify@kernel.org>
Date: Sat, 24 Jun 2023 22:30:19 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, pablo@...filter.org, laforge@...monks.org,
ap420073@...il.com, kuni1840@...il.com, netdev@...r.kernel.org,
osmocom-net-gprs@...ts.osmocom.org, syzkaller@...glegroups.com
Subject: Re: [PATCH v1 net] gtp: Fix use-after-free in __gtp_encap_destroy().
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 22 Jun 2023 14:32:31 -0700 you wrote:
> syzkaller reported use-after-free in __gtp_encap_destroy(). [0]
>
> It shows the same process freed sk and touched it illegally.
>
> Commit e198987e7dd7 ("gtp: fix suspicious RCU usage") added lock_sock()
> and release_sock() in __gtp_encap_destroy() to protect sk->sk_user_data,
> but release_sock() is called after sock_put() releases the last refcnt.
>
> [...]
Here is the summary with links:
- [v1,net] gtp: Fix use-after-free in __gtp_encap_destroy().
https://git.kernel.org/netdev/net/c/ce3aee7114c5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists