Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
* WARNING in rtnl_dellink
@ 2020-08-19 15:04 syzbot
  2022-02-12  3:24 ` [syzbot] " syzbot
  0 siblings, 1 reply; 3+ messages in thread
From: syzbot @ 2020-08-19 15:04 UTC (permalink / raw)
  To: andriin, ast, bpf, daniel, davem, edumazet, hawk, jiri,
	john.fastabend, kafai, kpsingh, kuba, linux-kernel, netdev,
	roopa, songliubraving, syzkaller-bugs, yhs

Hello,

syzbot found the following issue on:

HEAD commit:    4ca0d9ac bonding: show saner speed for broadcast mode
git tree:       net
console output: https://syzkaller.appspot.com/x/log.txt?x=13c21516900000
kernel config:  https://syzkaller.appspot.com/x/.config?x=9c89856ae5fc8b6
dashboard link: https://syzkaller.appspot.com/bug?extid=b3b5c64f4880403edd36
compiler:       gcc (GCC) 10.1.0-syz 20200507
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=119f99f6900000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=10fe8fbe900000

Bisection is inconclusive: the issue happens on the oldest tested release.

bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=11516872900000
final oops:     https://syzkaller.appspot.com/x/report.txt?x=13516872900000
console output: https://syzkaller.appspot.com/x/log.txt?x=15516872900000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+b3b5c64f4880403edd36@syzkaller.appspotmail.com

bond1 (unregistering): Released all slaves
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7280 at net/core/dev.c:9304 rollback_registered_many+0xecd/0x1210 net/core/dev.c:9304
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 7280 Comm: syz-executor543 Not tainted 5.8.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x18f/0x20d lib/dump_stack.c:118
 panic+0x2e3/0x75c kernel/panic.c:231
 __warn.cold+0x20/0x4a kernel/panic.c:600
 report_bug+0x1bd/0x210 lib/bug.c:198
 handle_bug+0x38/0x90 arch/x86/kernel/traps.c:234
 exc_invalid_op+0x14/0x40 arch/x86/kernel/traps.c:254
 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:536
RIP: 0010:rollback_registered_many+0xecd/0x1210 net/core/dev.c:9304
Code: 0a 1b 00 00 48 c7 c6 40 d7 fe 88 48 c7 c7 80 d7 fe 88 c6 05 b6 e1 71 04 01 e8 71 18 0a fb 0f 0b e9 13 fc ff ff e8 d3 14 39 fb <0f> 0b e9 ea fb ff ff e8 c7 14 39 fb 0f 0b e9 29 fc ff ff e8 3b 25
RSP: 0018:ffffc90002df7290 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 00000000a650bd01 RCX: ffffffff863b3396
RDX: ffff8880874fc540 RSI: ffffffff863b37ad RDI: 0000000000000001
RBP: ffff8880a5edef80 R08: 0000000000000000 R09: ffffffff8a7e4067
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
R13: ffff8880925b0000 R14: dffffc0000000000 R15: ffff8880a5edef80
 unregister_netdevice_many.part.0+0x1a/0x2f0 net/core/dev.c:10426
 unregister_netdevice_many+0x36/0x50 net/core/dev.c:10425
 rtnl_delete_link net/core/rtnetlink.c:3055 [inline]
 rtnl_dellink+0x34a/0xa60 net/core/rtnetlink.c:3107
 rtnetlink_rcv_msg+0x44e/0xad0 net/core/rtnetlink.c:5563
 netlink_rcv_skb+0x15a/0x430 net/netlink/af_netlink.c:2470
 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1330
 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1919
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:671
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2353
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2407
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2440
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x44b1a9
Code: e8 9c 14 03 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 0f 83 4b 05 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f8155c28d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000006e7a58 RCX: 000000000044b1a9
RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000009
RBP: 00000000006e7a50 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006e7a5c
R13: 0000000000000000 R14: 0000000000000000 R15: 068500100000003c
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
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.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
For information about bisection process see: https://goo.gl/tpsmEJ#bisection
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [syzbot] WARNING in rtnl_dellink
  2020-08-19 15:04 WARNING in rtnl_dellink syzbot
@ 2022-02-12  3:24 ` syzbot
  2022-05-12 13:13   ` Dmitry Vyukov
  0 siblings, 1 reply; 3+ messages in thread
From: syzbot @ 2022-02-12  3:24 UTC (permalink / raw)
  To: andriin, ast, bpf, daniel, davem, edumazet, fw,
	harshit.m.mogalapalli, hawk, jiri, john.fastabend, kafai,
	kpsingh, kuba, linux-kernel, netdev, roopa, songliubraving,
	syzkaller-bugs, yajun.deng, yhs

syzbot suspects this issue was fixed by commit:

commit f123cffdd8fe8ea6c7fded4b88516a42798797d0
Author: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Date:   Mon Nov 29 17:53:27 2021 +0000

    net: netlink: af_netlink: Prevent empty skb by adding a check on len.

bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=107b5472700000
start commit:   cd02217a5d81 Merge tag 'for-linus' of git://git.kernel.org..
git tree:       upstream
kernel config:  https://syzkaller.appspot.com/x/.config?x=a0437fdd630bee11
dashboard link: https://syzkaller.appspot.com/bug?extid=b3b5c64f4880403edd36
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=116f8172900000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=1145d1b1900000

If the result looks correct, please mark the issue as fixed by replying with:

#syz fix: net: netlink: af_netlink: Prevent empty skb by adding a check on len.

For information about bisection process see: https://goo.gl/tpsmEJ#bisection

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [syzbot] WARNING in rtnl_dellink
  2022-02-12  3:24 ` [syzbot] " syzbot
@ 2022-05-12 13:13   ` Dmitry Vyukov
  0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Vyukov @ 2022-05-12 13:13 UTC (permalink / raw)
  To: syzbot
  Cc: andriin, ast, bpf, daniel, davem, edumazet, fw,
	harshit.m.mogalapalli, hawk, jiri, john.fastabend, kafai,
	kpsingh, kuba, linux-kernel, netdev, roopa, songliubraving,
	syzkaller-bugs, yajun.deng, yhs

On Sat, 12 Feb 2022 at 04:24, syzbot
<syzbot+b3b5c64f4880403edd36@syzkaller.appspotmail.com> wrote:
>
> syzbot suspects this issue was fixed by commit:
>
> commit f123cffdd8fe8ea6c7fded4b88516a42798797d0
> Author: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
> Date:   Mon Nov 29 17:53:27 2021 +0000
>
>     net: netlink: af_netlink: Prevent empty skb by adding a check on len.
>
> bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=107b5472700000
> start commit:   cd02217a5d81 Merge tag 'for-linus' of git://git.kernel.org..
> git tree:       upstream
> kernel config:  https://syzkaller.appspot.com/x/.config?x=a0437fdd630bee11
> dashboard link: https://syzkaller.appspot.com/bug?extid=b3b5c64f4880403edd36
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=116f8172900000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=1145d1b1900000
>
> If the result looks correct, please mark the issue as fixed by replying with:
>
> #syz fix: net: netlink: af_netlink: Prevent empty skb by adding a check on len.

#syz fix: net: netlink: af_netlink: Prevent empty skb by adding a check on len.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-12 13:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-19 15:04 WARNING in rtnl_dellink syzbot
2022-02-12  3:24 ` [syzbot] " syzbot
2022-05-12 13:13   ` Dmitry Vyukov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).