WARNING in rtnl_dellink

14 views
Skip to first unread message

syzbot

unread,
Aug 17, 2020, 12:45:15 AM8/17/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 14b58326 Linux 4.14.193
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=12d6679e900000
kernel config: https://syzkaller.appspot.com/x/.config?x=68ef0287ccbc3b42
dashboard link: https://syzkaller.appspot.com/bug?extid=8a712bc98b416071baea
compiler: gcc (GCC) 10.1.0-syz 20200507
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12064c91900000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=117f99f6900000

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

8021q: adding VLAN 0 to HW filter on device bond1
bond0: Enslaving bond1 as an active interface with an up link
bond1: The slave device specified does not support setting the MAC address
bond1 (unregistering): Released all slaves
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6816 at net/core/dev.c:7222 rollback_registered_many+0x90d/0xb30 net/core/dev.c:7222
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 6816 Comm: syz-executor142 Not tainted 4.14.193-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x1b2/0x283 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
__warn.cold+0x20/0x4b kernel/panic.c:547
report_bug+0x208/0x249 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:rollback_registered_many+0x90d/0xb30 net/core/dev.c:7222
RSP: 0018:ffff8880948c74f8 EFLAGS: 00010297
RAX: ffff888093de0680 RBX: ffff8880948c7630 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff888093de0f08 RDI: 0000000000000000
RBP: ffff8880862c1b40 R08: ffffffff887226a0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff8880948c7530 R14: ffff8880862c1bf0 R15: ffffffff83dce310
unregister_netdevice_many.part.0+0x18/0x2e0 net/core/dev.c:8284
unregister_netdevice_many+0x36/0x50 net/core/dev.c:8283
rtnl_delete_link net/core/rtnetlink.c:2375 [inline]
rtnl_dellink+0x25b/0x6a0 net/core/rtnetlink.c:2411
rtnetlink_rcv_msg+0x3be/0xb10 net/core/rtnetlink.c:4316
netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
sock_sendmsg_nosec net/socket.c:646 [inline]
sock_sendmsg+0xb5/0x100 net/socket.c:656
___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
__sys_sendmsg+0xa3/0x120 net/socket.c:2096
SYSC_sendmsg net/socket.c:2107 [inline]
SyS_sendmsg+0x27/0x40 net/socket.c:2103
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x449dc9
RSP: 002b:00007f3535b26d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000006dfc88 RCX: 0000000000449dc9
RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000009
RBP: 00000000006dfc80 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dfc8c
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 syzk...@googlegroups.com.

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

syzbot

unread,
Aug 17, 2020, 3:56:29 AM8/17/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: c14d30dc Linux 4.19.139
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=135e7e4a900000
kernel config: https://syzkaller.appspot.com/x/.config?x=93b261233af4719e
dashboard link: https://syzkaller.appspot.com/bug?extid=c1a38e945f33e3f6e003
compiler: gcc (GCC) 10.1.0-syz 20200507
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16d1a54a900000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13b78ab4900000

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

8021q: adding VLAN 0 to HW filter on device bond1
bond0: Enslaving bond1 as an active interface with an up link
bond1: The slave device specified does not support setting the MAC address
bond1 (unregistering): Released all slaves
------------[ cut here ]------------
WARNING: CPU: 0 PID: 9133 at net/core/dev.c:8207 rollback_registered_many.cold+0x169/0x1b8 net/core/dev.c:8207
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 9133 Comm: syz-executor124 Not tainted 4.19.139-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+0x1fc/0x2fe lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x61 kernel/panic.c:541
report_bug+0x262/0x2b0 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:rollback_registered_many.cold+0x169/0x1b8 net/core/dev.c:8207
Code: 44 24 08 eb cd 48 89 c7 48 89 44 24 08 e8 ad 97 e5 fb 48 8b 44 24 08 eb cf e8 21 76 af fb 48 c7 c7 80 e9 2a 88 e8 84 83 9a fb <0f> 0b e9 1a c0 ff ff e8 09 76 af fb 48 c7 c7 80 e9 2a 88 e8 6c 83
RSP: 0018:ffff88808c5cf348 EFLAGS: 00010286
RAX: 0000000000000024 RBX: ffff888081598040 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8154cf41 RDI: ffffed10118b9e5b
RBP: ffff88808c5cf558 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: dffffc0000000000
R13: 000000008d8ae601 R14: ffffffff8455e0a0 R15: ffff88808c5cf410
unregister_netdevice_many.part.0+0x1a/0x300 net/core/dev.c:9310
unregister_netdevice_many+0x36/0x50 net/core/dev.c:9309
rtnl_delete_link net/core/rtnetlink.c:2760 [inline]
rtnl_dellink+0x361/0x920 net/core/rtnetlink.c:2814
rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4778
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2455
netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344
netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1909
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:632
___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2115
__sys_sendmsg net/socket.c:2153 [inline]
__do_sys_sendmsg net/socket.c:2162 [inline]
__se_sys_sendmsg net/socket.c:2160 [inline]
__x64_sys_sendmsg+0x132/0x220 net/socket.c:2160
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x449f09
Code: e8 ac e7 ff ff 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 cb 05 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f1a26561d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000006dfcb8 RCX: 0000000000449f09
RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000009
RBP: 00000000006dfcb0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dfcbc
Reply all
Reply to author
Forward
0 new messages