syzbot


WARNING in __rtnl_newlink

Status: fixed on 2019/12/13 00:31
Subsystems: net
[Documentation on labels]
Fix commit: 9077f052abd5 net: propagate errors correctly in register_netdevice()
First crash: 1659d, last: 1658d
Cause bisection: the cause commit could be any of (bisect log):
  460cdf511e4d Merge tag 'qcom-defconfig-for-5.4' into all-for-5.4
  51d4831e79c3 Merge tag 'qcom-arm64-for-5.4' into all-for-5.4
  63e584644247 Merge tag 'qcom-arm64-defconfig-for-5.4' into all-for-5.4
  ad517b3884b8 Merge tag 'qcom-drivers-for-5.4' into all-for-5.4
  2896e1c52577 Merge remote-tracking branch 'qcom/for-next'
  

Sample crash report:
RBP: 00007ffd7d729e00 R08: 0000000000000002 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000006 R14: 0000000000000000 R15: 0000000000000000
device ip6gretap0 entered promiscuous mode
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8760 at net/core/dev.c:8446 rollback_registered_many+0x221/0x10d0 net/core/dev.c:8446
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 8760 Comm: syz-executor685 Not tainted 5.4.0-rc1-next-20191003 #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+0x172/0x1f0 lib/dump_stack.c:113
 panic+0x2dc/0x755 kernel/panic.c:220
 __warn.cold+0x2f/0x3c kernel/panic.c:581
 report_bug+0x289/0x300 lib/bug.c:195
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1028
RIP: 0010:rollback_registered_many+0x221/0x10d0 net/core/dev.c:8446
Code: 84 c0 74 06 0f 8e eb 0b 00 00 44 0f b6 a3 68 05 00 00 31 ff 44 89 e6 e8 bd 8e d0 fb 45 84 e4 0f 85 38 ff ff ff e8 6f 8d d0 fb <0f> 0b 48 8b bd 08 ff ff ff e8 d1 43 a2 fd 31 ff 41 89 c4 89 c6 e8
RSP: 0018:ffff88808dfe7040 EFLAGS: 00010293
RAX: ffff88809b614400 RBX: ffff888097584000 RCX: ffffffff85a274f3
RDX: 0000000000000000 RSI: ffffffff85a27501 RDI: 0000000000000001
RBP: ffff88808dfe7170 R08: ffff88809b614400 R09: fffffbfff1332961
R10: fffffbfff1332960 R11: ffffffff89994b07 R12: 0000000000000000
R13: ffff88808dfe7148 R14: ffff88808dfe7210 R15: dffffc0000000000
 unregister_netdevice_many.part.0+0x1b/0x1f0 net/core/dev.c:9599
 unregister_netdevice_many+0x3b/0x50 net/core/dev.c:9598
 __rtnl_newlink+0x1397/0x16d0 net/core/rtnetlink.c:3308
 rtnl_newlink+0x69/0xa0 net/core/rtnetlink.c:3325
 rtnetlink_rcv_msg+0x463/0xb00 net/core/rtnetlink.c:5386
 netlink_rcv_skb+0x177/0x450 net/netlink/af_netlink.c:2477
 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5404
 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline]
 netlink_unicast+0x531/0x710 net/netlink/af_netlink.c:1328
 netlink_sendmsg+0x8a5/0xd60 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:638 [inline]
 sock_sendmsg+0xd7/0x130 net/socket.c:658
 ___sys_sendmsg+0x803/0x920 net/socket.c:2312
 __sys_sendmsg+0x105/0x1d0 net/socket.c:2357
 __do_sys_sendmsg net/socket.c:2366 [inline]
 __se_sys_sendmsg net/socket.c:2364 [inline]
 __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2364
 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x441899
Code: e8 dc b3 02 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 8b 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffd7d729dc8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441899
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000004
RBP: 00007ffd7d729e00 R08: 0000000000000002 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000006 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/10/04 00:36 linux-next 2521ffab5375 fc17ba49 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/10/03 23:54 linux-next 2521ffab5375 fc17ba49 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.