syzbot


WARNING in geneve_exit_batch_net

Status: fixed on 2020/04/29 09:12
Reported-by: syzbot+d2af0cc003fc74b65fea@syzkaller.appspotmail.com
Fix commit: 2c1a05e91fc6 geneve: move debug check after netdev unregister
First crash: 1742d, last: 1697d
Fix bisection: fixed by (bisect log) :
commit 2c1a05e91fc60c357eeb53998a11c593673cba9e
Author: Florian Westphal <fw@strlen.de>
Date: Sat Mar 14 07:18:42 2020 +0000

  geneve: move debug check after netdev unregister

  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in geneve_exit_batch_net net 15 1738d 1763d 15/28 fixed on 2020/02/18 14:31
upstream WARNING in geneve_exit_batch_net (2) net C done 9 1703d 1727d 15/28 fixed on 2020/05/10 10:42

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
IPVS: ftp: loaded support on port[0] = 21
IPVS: ftp: loaded support on port[0] = 21
IPVS: ftp: loaded support on port[0] = 21
IPVS: ftp: loaded support on port[0] = 21
WARNING: CPU: 0 PID: 46 at drivers/net/geneve.c:1729 geneve_destroy_tunnels drivers/net/geneve.c:1729 [inline]
WARNING: CPU: 0 PID: 46 at drivers/net/geneve.c:1729 geneve_exit_batch_net+0x50b/0x5f0 drivers/net/geneve.c:1739
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 46 Comm: kworker/u4:2 Not tainted 4.19.113-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x188/0x20d lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x46 kernel/panic.c:541
 report_bug+0x262/0x2a0 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:1037
RIP: 0010:geneve_destroy_tunnels drivers/net/geneve.c:1729 [inline]
RIP: 0010:geneve_exit_batch_net+0x50b/0x5f0 drivers/net/geneve.c:1739
Code: fd 48 c7 c2 00 ba d5 87 be 2d 00 00 00 48 c7 c7 80 bd d5 87 c6 05 9e c1 2f 05 01 e8 6a f7 f8 fc e9 81 fc ff ff e8 35 bf 10 fd <0f> 0b e9 a2 fe ff ff 48 8d 44 24 40 48 89 04 24 e9 c1 fe ff ff e8
RSP: 0018:ffff8880a9587b88 EFLAGS: 00010293
RAX: ffff8880a951c480 RBX: dffffc0000000000 RCX: ffffffff859ee74e
RDX: 0000000000000000 RSI: ffffffff8456e36b RDI: ffff888083d52df8
RBP: ffff88807ed01200 R08: ffff8880a951c480 R09: fffffbfff12c0465
R10: fffffbfff12c0464 R11: ffffffff89602327 R12: ffff8880a898b5d0
R13: ffff8880a898b5c0 R14: ffff8880a898b5c0 R15: ffff88807ed01360
 ops_exit_list.isra.0+0xef/0x140 net/core/net_namespace.c:156
 cleanup_net+0x3bf/0x850 net/core/net_namespace.c:553
 process_one_work+0x91f/0x1640 kernel/workqueue.c:2155
 worker_thread+0x96/0xe20 kernel/workqueue.c:2298
 kthread+0x34a/0x420 kernel/kthread.c:246
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
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
2020/03/29 16:44 linux-4.19.y 54b4fa6d3955 05736b29 .config console log report syz C ci2-linux-4-19
2020/02/14 07:07 linux-4.19.y 357668399cf7 5d7b90f1 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.