WARNING in geneve_exit_batch_net

5 views
Skip to first unread message

syzbot

unread,
Feb 14, 2020, 2:08:14 AM2/14/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 35766839 Linux 4.19.103
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=10fe3231e00000
kernel config: https://syzkaller.appspot.com/x/.config?x=84f14e7b6cbc7d27
dashboard link: https://syzkaller.appspot.com/bug?extid=d2af0cc003fc74b65fea
compiler: gcc (GCC) 9.0.0 20181231 (experimental)

Unfortunately, I don't have any reproducer for this crash yet.

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

bond0 (unregistering): Releasing backup interface bond_slave_1
bond0 (unregistering): Releasing backup interface bond_slave_0
bond0 (unregistering): Released all slaves
IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready
WARNING: CPU: 0 PID: 2935 at drivers/net/geneve.c:1729 geneve_destroy_tunnels drivers/net/geneve.c:1729 [inline]
WARNING: CPU: 0 PID: 2935 at drivers/net/geneve.c:1729 geneve_exit_batch_net+0x537/0x630 drivers/net/geneve.c:1739
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 2935 Comm: kworker/u4:3 Not tainted 4.19.103-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+0x197/0x210 lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x53 kernel/panic.c:541
report_bug+0x263/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+0x204/0x360 arch/x86/kernel/traps.c:296
do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
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+0x537/0x630 drivers/net/geneve.c:1739
Code: fc 48 c7 c2 a0 b7 15 88 be 2d 00 00 00 48 c7 c7 20 bb 15 88 c6 05 e0 ea 52 05 01 e8 0a bb de fc e9 68 fc ff ff e8 29 5a f7 fc <0f> 0b e9 9a fe ff ff 48 8d 43 c0 48 89 85 68 ff ff ff e9 bb fe ff
RSP: 0018:ffff88802eb07b58 EFLAGS: 00010293
RAX: ffff88801038c400 RBX: dffffc0000000000 RCX: ffffffff85c7007c
RDX: 0000000000000000 RSI: ffffffff8473d447 RDI: ffff888050fb4a38
RBP: ffff88802eb07c08 R08: ffff88801038c400 R09: fffffbfff1340715
R10: fffffbfff1340714 R11: ffffffff89a038a7 R12: ffff88807a8cc100
R13: ffff88808dad8910 R14: ffff88808dad8900 R15: ffff88808dad8900
ops_exit_list.isra.0+0xfc/0x150 net/core/net_namespace.c:156
cleanup_net+0x404/0x960 net/core/net_namespace.c:553
process_one_work+0x989/0x1750 kernel/workqueue.c:2153
worker_thread+0x98/0xe40 kernel/workqueue.c:2296
kthread+0x354/0x420 kernel/kthread.c:246
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
This bug 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 bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Mar 29, 2020, 12:45:13 PM3/29/20
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following crash on:

HEAD commit: 54b4fa6d Linux 4.19.113
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1168546de00000
kernel config: https://syzkaller.appspot.com/x/.config?x=7b1a0bc5526ebc49
dashboard link: https://syzkaller.appspot.com/bug?extid=d2af0cc003fc74b65fea
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1037cacbe00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1190f46de00000

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

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

syzbot

unread,
Apr 28, 2020, 4:18:05 PM4/28/20
to syzkaller...@googlegroups.com
syzbot suspects this bug was fixed by commit:

commit 2c1a05e91fc60c357eeb53998a11c593673cba9e
Author: Florian Westphal <f...@strlen.de>
Date: Sat Mar 14 07:18:42 2020 +0000

geneve: move debug check after netdev unregister

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=130b8f64100000
start commit: 54b4fa6d Linux 4.19.113
git tree: linux-4.19.y
If the result looks correct, please mark the bug fixed by replying with:

#syz fix: geneve: move debug check after netdev unregister

For information about bisection process see: https://goo.gl/tpsmEJ#bisection
Reply all
Reply to author
Forward
0 new messages