[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168025081712.23963.16327516163139075912.git-patchwork-notify@kernel.org>
Date: Fri, 31 Mar 2023 08:20:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Ziyang Xuan <william.xuanziyang@...wei.com>
Cc: mani@...nel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, linux-arm-msm@...r.kernel.org,
netdev@...r.kernel.org, andersson@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] net: qrtr: Fix a refcount bug in qrtr_recvmsg()
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Thu, 30 Mar 2023 09:25:32 +0800 you wrote:
> Syzbot reported a bug as following:
>
> refcount_t: addition on 0; use-after-free.
> ...
> RIP: 0010:refcount_warn_saturate+0x17c/0x1f0 lib/refcount.c:25
> ...
> Call Trace:
> <TASK>
> __refcount_add include/linux/refcount.h:199 [inline]
> __refcount_inc include/linux/refcount.h:250 [inline]
> refcount_inc include/linux/refcount.h:267 [inline]
> kref_get include/linux/kref.h:45 [inline]
> qrtr_node_acquire net/qrtr/af_qrtr.c:202 [inline]
> qrtr_node_lookup net/qrtr/af_qrtr.c:398 [inline]
> qrtr_send_resume_tx net/qrtr/af_qrtr.c:1003 [inline]
> qrtr_recvmsg+0x85f/0x990 net/qrtr/af_qrtr.c:1070
> sock_recvmsg_nosec net/socket.c:1017 [inline]
> sock_recvmsg+0xe2/0x160 net/socket.c:1038
> qrtr_ns_worker+0x170/0x1700 net/qrtr/ns.c:688
> process_one_work+0x991/0x15c0 kernel/workqueue.c:2390
> worker_thread+0x669/0x1090 kernel/workqueue.c:2537
>
> [...]
Here is the summary with links:
- [net] net: qrtr: Fix a refcount bug in qrtr_recvmsg()
https://git.kernel.org/netdev/net/c/44d807320000
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