From: Zhu Yanjun <yanjun.zhu@linux.dev>
To: syzbot
<syzbot+list61c5ef3632c5b9ec2d7d@syzkaller.appspotmail.com>,
linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org,
netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] Monthly rdma report (Nov 2024)
Date: Fri, 29 Nov 2024 12:30:37 +0100 [thread overview]
Message-ID: <4b5cbf38-ce6b-48ee-aa50-e23a64ba7279@linux.dev> (raw)
In-Reply-To: <67498180.050a0220.253251.00a9.GAE@google.com>
On 29.11.24 09:55, syzbot wrote:
> Hello rdma maintainers/developers,
>
> This is a 31-day syzbot report for the rdma subsystem.
> All related reports/information can be found at:
> https://syzkaller.appspot.com/upstream/s/rdma
>
> During the period, 2 new issues were detected and 0 were fixed.
> In total, 8 issues are still open and 61 have already been fixed.
>
> Some of the still happening issues:
>
> Ref Crashes Repro Title
> <1> 350 No INFO: task hung in disable_device
> https://syzkaller.appspot.com/bug?extid=4d0c396361b5dc5d610f
> <2> 231 No INFO: task hung in rdma_dev_change_netns
> https://syzkaller.appspot.com/bug?extid=73c5eab674c7e1e7012e
> <3> 51 No WARNING in rxe_pool_cleanup
> https://syzkaller.appspot.com/bug?extid=221e213bf17f17e0d6cd
To this rxe problem, I found the following bug reports.
"
[syzbot] Monthly rdma report (Nov 2024) 0 (1) 2024/11/29 08:55
[syzbot] Monthly rdma report (Oct 2024) 0 (1) 2024/10/28 20:45
[syzbot] Monthly rdma report (Sep 2024) 0 (1) 2024/09/27 13:28
[syzbot] Monthly rdma report (Aug 2024) 1 (2) 2024/08/31 04:02
[syzbot] [rdma?] WARNING in rxe_pool_cleanup 0 (1) 2024/05/13 02:22
"
It means that pd_pool is not empty when rxe link is removed in many
testcases.
But to the pd, the caller should call the following to allocate a pd and
destroy a pd.
"
.alloc_pd = rxe_alloc_pd,
...
.dealloc_pd = rxe_dealloc_pd,
"
That is, the caller should create a pd when rdma link is created. And
the caller should destroy a pd when rdma link is removed.
When pd pool is not empty, it seems that at least one pd is not removed
when rdma link is removed. The caller should check the application to
remove this pd before a rdma link is removed.
It is the caller to create and destroy pd, not rxe.
I am not sure whether we should add logs into rxe_alloc_pd and
rxe_dealloc_pd to notify the caller or not.
Zhu Yanjun
> <4> 46 No INFO: task hung in add_one_compat_dev (3)
> https://syzkaller.appspot.com/bug?extid=6dee15fdb0606ef7b6ba
> <5> 12 Yes possible deadlock in sock_set_reuseaddr
> https://syzkaller.appspot.com/bug?extid=af5682e4f50cd6bce838
>
> ---
> This report is generated by a bot. It may contain errors.
> See https://goo.gl/tpsmEJ for more information about syzbot.
> syzbot engineers can be reached at syzkaller@googlegroups.com.
>
> To disable reminders for individual bugs, reply with the following command:
> #syz set <Ref> no-reminders
>
> To change bug's subsystems, reply with:
> #syz set <Ref> subsystems: new-subsystem
>
> You may send multiple commands in a single email message.
next prev parent reply other threads:[~2024-11-29 11:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-29 8:55 [syzbot] Monthly rdma report (Nov 2024) syzbot
2024-11-29 11:30 ` Zhu Yanjun [this message]
2024-12-02 14:46 ` Jason Gunthorpe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4b5cbf38-ce6b-48ee-aa50-e23a64ba7279@linux.dev \
--to=yanjun.zhu@linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=syzbot+list61c5ef3632c5b9ec2d7d@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox