[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<BYAPR15MB320833025A529A1D465658A3994F2@BYAPR15MB3208.namprd15.prod.outlook.com>
Date: Tue, 13 Feb 2024 13:31:13 +0000
From: Bernard Metzler <BMT@...ich.ibm.com>
To: Leon Romanovsky <leon@...nel.org>
CC: syzbot <syzbot+e7c51d3be3a5ddfa0d7a@...kaller.appspotmail.com>,
"jgg@...pe.ca" <jgg@...pe.ca>,
"linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>,
"linux-rdma@...r.kernel.org"
<linux-rdma@...r.kernel.org>,
"netdev@...r.kernel.org"
<netdev@...r.kernel.org>,
"syzkaller-bugs@...glegroups.com"
<syzkaller-bugs@...glegroups.com>
Subject: RE: [syzbot] [rdma?] WARNING: ODEBUG bug in siw_netdev_event
> -----Original Message-----
> From: Leon Romanovsky <leon@...nel.org>
> Sent: Tuesday, February 13, 2024 2:22 PM
> To: Bernard Metzler <BMT@...ich.ibm.com>
> Cc: syzbot <syzbot+e7c51d3be3a5ddfa0d7a@...kaller.appspotmail.com>;
> jgg@...pe.ca; linux-kernel@...r.kernel.org; linux-rdma@...r.kernel.org;
> netdev@...r.kernel.org; syzkaller-bugs@...glegroups.com
> Subject: [EXTERNAL] Re: [syzbot] [rdma?] WARNING: ODEBUG bug in
> siw_netdev_event
>
> On Mon, Feb 12, 2024 at 02:26:24AM -0800, syzbot wrote:
> > Hello,
> >
> > syzbot found the following issue on:
> >
> > HEAD commit: b1d3a0e70c38 Add linux-next specific files for 20240208
> > git tree: linux-next
> > console output: INVALID URI REMOVED
> 3A__syzkaller.appspot.com_x_log.txt-3Fx-
> 3D1325c020180000&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=2TaYXQ0T-
> r8ZO1PP1alNwU_QJcRRLfmYTAgd3QCvqSc&m=-buWaJng5x9YDIkGUftP-PSUlBitcOCYQuai-
> l9fgVjbeQ_KZhlJWd5PVtLd-Q-j&s=hgwELv-
> goeZcdq455t1I04emPAj72NmfR0ov2vUSKZI&e=
> > kernel config: INVALID URI REMOVED
> 3A__syzkaller.appspot.com_x_.config-3Fx-
> 3Dbb693ba195662a06&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=2TaYXQ0T-
> r8ZO1PP1alNwU_QJcRRLfmYTAgd3QCvqSc&m=-buWaJng5x9YDIkGUftP-PSUlBitcOCYQuai-
> l9fgVjbeQ_KZhlJWd5PVtLd-Q-
> j&s=Q482ArHYYdvaWRLfjy6uNWnbEURwJxYnp5gfVC_riVA&e=
> > dashboard link: INVALID URI REMOVED
> 3A__syzkaller.appspot.com_bug-3Fextid-
> 3De7c51d3be3a5ddfa0d7a&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=2TaYXQ0T-
> r8ZO1PP1alNwU_QJcRRLfmYTAgd3QCvqSc&m=-buWaJng5x9YDIkGUftP-PSUlBitcOCYQuai-
> l9fgVjbeQ_KZhlJWd5PVtLd-Q-j&s=d34IHrTtfyuyMsoBbn4-_n-
> 94tdvtpkwjBOFNDY3flE&e=
> > compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for
> Debian) 2.40
> >
> > Unfortunately, I don't have any reproducer for this issue yet.
> >
> > Downloadable assets:
> > disk image: INVALID URI REMOVED
> 3A__storage.googleapis.com_syzbot-2Dassets_176a6b395bbe_disk-
> 2Db1d3a0e7.raw.xz&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=2TaYXQ0T-
> r8ZO1PP1alNwU_QJcRRLfmYTAgd3QCvqSc&m=-buWaJng5x9YDIkGUftP-PSUlBitcOCYQuai-
> l9fgVjbeQ_KZhlJWd5PVtLd-Q-
> j&s=qCbExgqdot3pvbGd1uAIEihhU7lrb7pK0ZJot5edl0s&e=
> > vmlinux: INVALID URI REMOVED
> 3A__storage.googleapis.com_syzbot-2Dassets_02d7d46f81bd_vmlinux-
> 2Db1d3a0e7.xz&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=2TaYXQ0T-
> r8ZO1PP1alNwU_QJcRRLfmYTAgd3QCvqSc&m=-buWaJng5x9YDIkGUftP-PSUlBitcOCYQuai-
> l9fgVjbeQ_KZhlJWd5PVtLd-Q-j&s=vVIZttea1-
> 8ENzBivZAADsNo43kiourBw2FAqL88GW0&e=
> > kernel image: INVALID URI REMOVED
> 3A__storage.googleapis.com_syzbot-2Dassets_18a5a5030e19_bzImage-
> 2Db1d3a0e7.xz&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=2TaYXQ0T-
> r8ZO1PP1alNwU_QJcRRLfmYTAgd3QCvqSc&m=-buWaJng5x9YDIkGUftP-PSUlBitcOCYQuai-
> l9fgVjbeQ_KZhlJWd5PVtLd-Q-
> j&s=NOT258m7hucq5plqUHBseBFiWWSdbEsGQyh7KLdc0BE&e=
> >
> > IMPORTANT: if you fix the issue, please add the following tag to the
> commit:
> > Reported-by: syzbot+e7c51d3be3a5ddfa0d7a@...kaller.appspotmail.com
> >
> > netlink: 'syz-executor.1': attribute type 27 has an invalid length.
> > netlink: 4 bytes leftover after parsing attributes in process `syz-
> executor.1'.
> > : port 3(erspan0) entered disabled state
> > ------------[ cut here ]------------
> > ODEBUG: init active (active state 0) object: ffff88802de95128 object
> type: work_struct hint: siw_netdev_down+0x0/0x1f0
>
> It means that you are trying to reinitalize work_struct. I'm not sure
> that SIW should listen to NETDEV_GOING_DOWN event.
>
Thanks Leon, will look into it.
Bernard
> Thanks
>
> > WARNING: CPU: 1 PID: 16397 at lib/debugobjects.c:517
> debug_print_object+0x17a/0x1f0 lib/debugobjects.c:514
> > Modules linked in:
> > CPU: 1 PID: 16397 Comm: syz-executor.1 Not tainted 6.8.0-rc3-next-
> 20240208-syzkaller #0
> > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
> Google 01/25/2024
> > RIP: 0010:debug_print_object+0x17a/0x1f0 lib/debugobjects.c:514
> > Code: e8 1b e3 4d fd 4c 8b 0b 48 c7 c7 00 89 fe 8b 48 8b 74 24 08 48 89
> ea 44 89 e1 4d 89 f8 ff 34 24 e8 2b 97 ae fc 48 83 c4 08 90 <0f> 0b 90 90
> ff 05 bc 2f dd 0a 48 83 c4 10 5b 41 5c 41 5d 41 5e 41
> > RSP: 0018:ffffc90014536758 EFLAGS: 00010282
> > RAX: 5f296badc3198f00 RBX: ffffffff8ba9e6a0 RCX: 0000000000040000
> > RDX: ffffc90004f8b000 RSI: 000000000003ffff RDI: 0000000000040000
> > RBP: ffffffff8bfe8a80 R08: ffffffff8157b862 R09: fffffbfff1bf95c4
> > R10: dffffc0000000000 R11: fffffbfff1bf95c4 R12: 0000000000000000
> > R13: ffffffff8bfe8998 R14: dffffc0000000000 R15: ffff88802de95128
> > FS: 00007fc00b12a6c0(0000) GS:ffff8880b9500000(0000)
> knlGS:0000000000000000
> > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> > CR2: 00007fa1fd40f000 CR3: 000000003e1a6000 CR4: 00000000003506f0
> > DR0: 000000000000d8dd DR1: 0000000000000000 DR2: 0000000000000000
> > DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> > Call Trace:
> > <TASK>
> > __debug_object_init+0x2a9/0x400 lib/debugobjects.c:653
> > siw_device_goes_down drivers/infiniband/sw/siw/siw_main.c:395 [inline]
> > siw_netdev_event+0x3bd/0x620 drivers/infiniband/sw/siw/siw_main.c:422
> > notifier_call_chain+0x18f/0x3b0 kernel/notifier.c:93
> > call_netdevice_notifiers_extack net/core/dev.c:2012 [inline]
> > call_netdevice_notifiers net/core/dev.c:2026 [inline]
> > __dev_close_many+0x146/0x300 net/core/dev.c:1512
> > __dev_close net/core/dev.c:1550 [inline]
> > __dev_change_flags+0x30e/0x6f0 net/core/dev.c:8683
> > dev_change_flags+0x8b/0x1a0 net/core/dev.c:8757
> > do_setlink+0xcb0/0x41c0 net/core/rtnetlink.c:2894
> > rtnl_group_changelink net/core/rtnetlink.c:3443 [inline]
> > __rtnl_newlink net/core/rtnetlink.c:3702 [inline]
> > rtnl_newlink+0x1117/0x20a0 net/core/rtnetlink.c:3739
> > rtnetlink_rcv_msg+0x885/0x1040 net/core/rtnetlink.c:6606
> > netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2543
> > netlink_unicast_kernel net/netlink/af_netlink.c:1341 [inline]
> > netlink_unicast+0x7ea/0x980 net/netlink/af_netlink.c:1367
> > netlink_sendmsg+0xa3c/0xd70 net/netlink/af_netlink.c:1908
> > sock_sendmsg_nosec net/socket.c:730 [inline]
> > __sock_sendmsg+0x221/0x270 net/socket.c:745
> > ____sys_sendmsg+0x525/0x7d0 net/socket.c:2584
> > ___sys_sendmsg net/socket.c:2638 [inline]
> > __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2667
> > do_syscall_64+0xfb/0x240
> > entry_SYSCALL_64_after_hwframe+0x6d/0x75
> > RIP: 0033:0x7fc00a47dda9
> > Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89
> f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0
> ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
> > RSP: 002b:00007fc00b12a0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
> > RAX: ffffffffffffffda RBX: 00007fc00a5ac1f0 RCX: 00007fc00a47dda9
> > RDX: 0000000000000000 RSI: 0000000020006440 RDI: 0000000000000005
> > RBP: 00007fc00a4ca47a R08: 0000000000000000 R09: 0000000000000000
> > R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
> > R13: 000000000000006e R14: 00007fc00a5ac1f0 R15: 00007fff19fc38d8
> > </TASK>
> >
> >
> > ---
> > This report is generated by a bot. It may contain errors.
> > See INVALID URI REMOVED
> 3A__goo.gl_tpsmEJ&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=2TaYXQ0T-
> r8ZO1PP1alNwU_QJcRRLfmYTAgd3QCvqSc&m=-buWaJng5x9YDIkGUftP-PSUlBitcOCYQuai-
> l9fgVjbeQ_KZhlJWd5PVtLd-Q-
> j&s=VKVZddkUXUUPb8P0d0TYU7gK07WVmdv89Uy0UNlHdcw&e= for more information
> about syzbot.
> > syzbot engineers can be reached at syzkaller@...glegroups.com.
> >
> > syzbot will keep track of this issue. See:
> > INVALID URI REMOVED
> 23status&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=2TaYXQ0T-
> r8ZO1PP1alNwU_QJcRRLfmYTAgd3QCvqSc&m=-buWaJng5x9YDIkGUftP-PSUlBitcOCYQuai-
> l9fgVjbeQ_KZhlJWd5PVtLd-Q-
> j&s=i6zpjc5oRro076Wqv6aJ0999vK6CpaHFhTh8m9Clx4c&e= for how to communicate
> with syzbot.
> >
> > If the report is already addressed, let syzbot know by replying with:
> > #syz fix: exact-commit-title
> >
> > If you want to overwrite report's subsystems, reply with:
> > #syz set subsystems: new-subsystem
> > (See the list of subsystem names on the web dashboard)
> >
> > If the report is a duplicate of another one, reply with:
> > #syz dup: exact-subject-of-another-report
> >
> > If you want to undo deduplication, reply with:
> > #syz undup
> >
Powered by blists - more mailing lists