syzbot


WARNING in hsr_dev_finalize

Status: fixed on 2020/07/20 08:03
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+7f1c020f68dab95aab59@syzkaller.appspotmail.com
Fix commit: ccfc9df1352b hsr: fix interface leak in error path of hsr_dev_finalize()
First crash: 1567d, last: 1550d
Cause bisection: failed (error log, bisect log)
  
Discussions (3)
Title Replies (including bot) Last reply
[PATCH 5.7 000/244] 5.7.10-rc1 review 256 (256) 2020/07/27 17:31
[PATCH net] hsr: fix interface leak in error path of hsr_dev_finalize() 2 (2) 2020/07/05 01:03
WARNING in hsr_dev_finalize 0 (1) 2020/06/26 17:19

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
netlink: 24 bytes leftover after parsing attributes in process `syz-executor921'.
device veth1 entered promiscuous mode
------------[ cut here ]------------
WARNING: CPU: 1 PID: 6809 at net/core/dev.c:8992 rollback_registered_many+0xbdb/0xf60 net/core/dev.c:8992
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 6809 Comm: syz-executor921 Not tainted 5.8.0-rc3-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/0x45 kernel/panic.c:600
 report_bug+0x1bd/0x210 lib/bug.c:198
 handle_bug+0x38/0x90 arch/x86/kernel/traps.c:235
 exc_invalid_op+0x13/0x40 arch/x86/kernel/traps.c:255
 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:563
RIP: 0010:rollback_registered_many+0xbdb/0xf60 net/core/dev.c:8992
Code: 00 00 31 f6 4c 89 f7 e8 f3 d9 fc ff e9 4f fe ff ff 4c 89 e7 e9 48 fd ff ff e8 a1 5c 3e fb 0f 0b e9 da fd ff ff e8 95 5c 3e fb <0f> 0b e9 18 fe ff ff e8 89 5c 3e fb 0f b6 2d 3e 24 74 04 31 ff 89
RSP: 0018:ffffc90001906f60 EFLAGS: 00010293
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffffff863558b5
RDX: ffff8880a65ec380 RSI: ffffffff86355acb RDI: 0000000000000005
RBP: ffff8880a3c600b8 R08: 0000000000000000 R09: ffffffff8a7b30c7
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888093d4fc00
R13: 0000000000034960 R14: ffff8880a3c60000 R15: 0000000000000000
 rollback_registered net/core/dev.c:9013 [inline]
 unregister_netdevice_queue+0x2dd/0x570 net/core/dev.c:10094
 unregister_netdevice include/linux/netdevice.h:2754 [inline]
 hsr_dev_finalize+0x5ce/0x746 net/hsr/hsr_device.c:483
 hsr_newlink+0x27c/0x520 net/hsr/hsr_netlink.c:83
 __rtnl_newlink+0x1090/0x1730 net/core/rtnetlink.c:3339
 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3397
 rtnetlink_rcv_msg+0x44e/0xad0 net/core/rtnetlink.c:5460
 netlink_rcv_skb+0x15a/0x430 net/netlink/af_netlink.c:2469
 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1329
 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1918
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:672
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2352
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2406
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2439
 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:359
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x440e39
Code: Bad RIP value.
RSP: 002b:00007ffd525076a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000440e39
RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000003
RBP: 00007ffd525076b0 R08: 0000000120080522 R09: 0000000120080522
R10: 0000000120080522 R11: 0000000000000246 R12: 0000000000402340
R13: 00000000004023d0 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1546):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/04 06:20 upstream 7cc2a8ea1048 51095195 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/07/03 20:41 upstream cd77006e01b3 bed10395 .config console log report syz C ci-upstream-kasan-gce-root
2020/07/03 19:52 upstream cd77006e01b3 bed10395 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/07/03 18:34 upstream cd77006e01b3 bed10395 .config console log report syz C ci-upstream-kasan-gce
2020/07/02 01:23 upstream 7c30b859a947 39acb39d .config console log report syz C ci-upstream-kasan-gce-root
2020/07/02 01:18 upstream 7c30b859a947 39acb39d .config console log report syz C ci-upstream-kasan-gce
2020/07/02 01:15 upstream 7c30b859a947 39acb39d .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/06/29 04:50 upstream 4e99b32169e8 a2cdad9d .config console log report syz C ci-upstream-kasan-gce-root
2020/06/29 04:12 upstream 4e99b32169e8 a2cdad9d .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/06/29 04:00 upstream 4e99b32169e8 a2cdad9d .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/06/29 03:59 upstream 4e99b32169e8 a2cdad9d .config console log report syz C ci-upstream-kasan-gce
2020/06/26 09:16 upstream 4a21185cda0f aea82c00 .config console log report syz C ci-upstream-kasan-gce-root
2020/06/26 08:47 upstream 4a21185cda0f aea82c00 .config console log report syz C ci-upstream-kasan-gce
2020/06/26 05:50 upstream 4a21185cda0f aea82c00 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/07/03 18:04 upstream cd77006e01b3 bed10395 .config console log report syz C ci-upstream-kasan-gce-386
2020/06/29 04:11 upstream 4e99b32169e8 a2cdad9d .config console log report syz C ci-upstream-kasan-gce-386
2020/07/03 17:07 net-old e4b9a72d76a4 bed10395 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/07/02 01:23 net-old 8ff41cc21714 39acb39d .config console log report syz C ci-upstream-net-this-kasan-gce
2020/06/29 05:21 net-old 0574e2000fc3 a2cdad9d .config console log report syz C ci-upstream-net-this-kasan-gce
2020/06/25 18:00 net-old 26ac10be3c80 c7b4497a .config console log report syz C ci-upstream-net-this-kasan-gce
2020/07/03 17:43 net-next-old 23212a700773 bed10395 .config console log report syz C ci-upstream-net-kasan-gce
2020/07/02 00:43 net-next-old 2b04a6615615 39acb39d .config console log report syz C ci-upstream-net-kasan-gce
2020/06/29 03:28 net-next-old b08866f42a87 a2cdad9d .config console log report syz C ci-upstream-net-kasan-gce
2020/07/04 03:06 linux-next 9e50b94b3eb0 51095195 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/07/02 01:28 linux-next aab2003999e7 39acb39d .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/06/29 04:04 linux-next 36e3135df4d4 a2cdad9d .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/06/27 17:02 linux-next 36e3135df4d4 ffec44b5 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/07/11 23:32 upstream a581387e415b 18d18b59 .config console log report ci-upstream-kasan-gce-root
2020/07/11 21:09 upstream a581387e415b 18d18b59 .config console log report ci-upstream-kasan-gce-smack-root
2020/07/11 19:32 upstream a581387e415b 18d18b59 .config console log report ci-upstream-kasan-gce
2020/07/11 16:31 upstream a581387e415b 18d18b59 .config console log report ci-upstream-kasan-gce-selinux-root
2020/07/11 01:50 upstream a581387e415b 18d18b59 .config console log report ci-upstream-kasan-gce-selinux-root
2020/07/10 23:27 upstream a581387e415b 18d18b59 .config console log report ci-upstream-kasan-gce
2020/07/10 17:49 upstream 42f82040ee66 edf162e8 .config console log report ci-upstream-kasan-gce
2020/07/10 17:30 upstream 42f82040ee66 edf162e8 .config console log report ci-upstream-kasan-gce-smack-root
2020/07/10 08:00 upstream 42f82040ee66 edf162e8 .config console log report ci-upstream-kasan-gce-root
2020/07/10 04:10 upstream 0bddd227f3dc bc238812 .config console log report ci-upstream-kasan-gce
2020/07/09 22:00 upstream 0bddd227f3dc bc238812 .config console log report ci-upstream-kasan-gce
2020/07/09 12:43 upstream 0bddd227f3dc bc238812 .config console log report ci-upstream-kasan-gce
2020/07/09 04:19 upstream 0bddd227f3dc bc238812 .config console log report ci-upstream-kasan-gce-root
2020/07/09 04:10 upstream 0bddd227f3dc bc238812 .config console log report ci-upstream-kasan-gce-root
2020/07/09 02:06 upstream 0bddd227f3dc bc238812 .config console log report ci-upstream-kasan-gce
2020/07/08 21:19 upstream 0bddd227f3dc bc238812 .config console log report ci-upstream-kasan-gce-smack-root
2020/07/08 19:43 upstream 7cc2a8ea1048 51095195 .config console log report ci-upstream-kasan-gce
2020/07/08 18:43 upstream 7cc2a8ea1048 51095195 .config console log report ci-upstream-kasan-gce
2020/07/11 02:29 upstream a581387e415b 18d18b59 .config console log report ci-upstream-kasan-gce-386
2020/07/10 19:41 upstream 42f82040ee66 56d01184 .config console log report ci-qemu-upstream-386
2020/07/10 14:48 upstream 42f82040ee66 56d01184 .config console log report ci-qemu-upstream-386
2020/07/10 01:20 upstream 0bddd227f3dc bc238812 .config console log report ci-upstream-kasan-gce-386
2020/07/09 23:02 upstream 0bddd227f3dc bc238812 .config console log report ci-upstream-kasan-gce-386
2020/07/09 05:39 upstream 0bddd227f3dc bc238812 .config console log report ci-upstream-kasan-gce-386
2020/07/08 15:21 net-old 1ca0fafd73c5 51095195 .config console log report ci-upstream-net-this-kasan-gce
2020/06/25 14:57 net-old 26ac10be3c80 54566aff .config console log report ci-upstream-net-this-kasan-gce
2020/07/12 06:32 net-next-old a594920f8747 18d18b59 .config console log report ci-upstream-net-kasan-gce
2020/07/12 03:13 net-next-old a594920f8747 18d18b59 .config console log report ci-upstream-net-kasan-gce
2020/07/12 00:05 net-next-old a594920f8747 18d18b59 .config console log report ci-upstream-net-kasan-gce
2020/07/11 22:25 net-next-old a594920f8747 18d18b59 .config console log report ci-upstream-net-kasan-gce
2020/07/11 17:52 net-next-old a594920f8747 18d18b59 .config console log report ci-upstream-net-kasan-gce
2020/07/11 15:26 net-next-old a594920f8747 18d18b59 .config console log report ci-upstream-net-kasan-gce
2020/07/11 13:32 net-next-old a594920f8747 18d18b59 .config console log report ci-upstream-net-kasan-gce
2020/07/11 13:28 net-next-old a594920f8747 18d18b59 .config console log report ci-upstream-net-kasan-gce
2020/07/11 11:46 net-next-old a594920f8747 18d18b59 .config console log report ci-upstream-net-kasan-gce
2020/07/11 10:30 net-next-old a594920f8747 18d18b59 .config console log report ci-upstream-net-kasan-gce
2020/07/11 07:36 net-next-old a594920f8747 18d18b59 .config console log report ci-upstream-net-kasan-gce
2020/07/11 04:43 net-next-old a594920f8747 18d18b59 .config console log report ci-upstream-net-kasan-gce
2020/07/10 20:49 net-next-old 8fb49c0109f4 edf162e8 .config console log report ci-upstream-net-kasan-gce
2020/07/10 16:24 net-next-old 8fb49c0109f4 edf162e8 .config console log report ci-upstream-net-kasan-gce
2020/07/10 13:47 net-next-old 8fb49c0109f4 edf162e8 .config console log report ci-upstream-net-kasan-gce
2020/07/10 06:40 net-next-old e80a07b244dd bc238812 .config console log report ci-upstream-net-kasan-gce
2020/07/10 03:54 net-next-old e80a07b244dd bc238812 .config console log report ci-upstream-net-kasan-gce
2020/07/09 20:34 net-next-old e80a07b244dd bc238812 .config console log report ci-upstream-net-kasan-gce
2020/07/09 19:07 net-next-old e80a07b244dd bc238812 .config console log report ci-upstream-net-kasan-gce
2020/07/09 16:36 net-next-old e80a07b244dd bc238812 .config console log report ci-upstream-net-kasan-gce
2020/07/09 14:31 net-next-old e80a07b244dd bc238812 .config console log report ci-upstream-net-kasan-gce
2020/07/09 13:18 net-next-old e80a07b244dd bc238812 .config console log report ci-upstream-net-kasan-gce
2020/07/09 10:47 net-next-old e80a07b244dd bc238812 .config console log report ci-upstream-net-kasan-gce
2020/07/09 07:19 net-next-old e80a07b244dd bc238812 .config console log report ci-upstream-net-kasan-gce
2020/07/08 22:38 net-next-old e80a07b244dd bc238812 .config console log report ci-upstream-net-kasan-gce
2020/07/08 12:01 linux-next 9e50b94b3eb0 51095195 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.