Hello,
syzbot found the following crash on:
HEAD commit: c04fc6fa Linux 4.14.165
git tree: linux-4.14.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=1124fc35e00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=d36f53294bbc71f0
dashboard link:
https://syzkaller.appspot.com/bug?extid=d7aafaf3717aff7dcf60
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+d7aafa...@syzkaller.appspotmail.com
bond0 (unregistering): Releasing backup interface bond_slave_1
device bond_slave_1 left promiscuous mode
bond0 (unregistering): Releasing backup interface bond_slave_0
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 2836 Comm: kworker/u4:5 Not tainted 4.14.165-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Workqueue: netns cleanup_net
task: ffff88809eaba280 task.stack: ffff88809e9f8000
RIP: 0010:hsr_netdev_notify+0x465/0x8f0 net/hsr/hsr_main.c:64
RSP: 0018:ffff88809e9ff680 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff88809eabab00
RDX: 0000000000000002 RSI: ffffffff888ef760 RDI: ffff8880a48fdba0
RBP: ffff88809e9ff6c0 R08: ffff88809eaba280 R09: 0000000000000004
R10: 0000000000000000 R11: ffff88809eaba280 R12: ffff8880595fed90
R13: ffff888061159140 R14: dffffc0000000000 R15: ffff8880595fed80
FS: 0000000000000000(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff04a1b6000 CR3: 00000000a6818000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
notifier_call_chain+0x111/0x1b0 kernel/notifier.c:93
__raw_notifier_call_chain kernel/notifier.c:394 [inline]
raw_notifier_call_chain+0x2e/0x40 kernel/notifier.c:401
call_netdevice_notifiers_info+0x56/0x70 net/core/dev.c:1671
call_netdevice_notifiers+0x61/0x80 net/core/dev.c:1687
__bond_release_one+0xfb9/0x14c0 drivers/net/bonding/bond_main.c:1937
bond_slave_netdev_event drivers/net/bonding/bond_main.c:3093 [inline]
bond_netdev_event+0x7ad/0x8e0 drivers/net/bonding/bond_main.c:3191
notifier_call_chain+0x111/0x1b0 kernel/notifier.c:93
__raw_notifier_call_chain kernel/notifier.c:394 [inline]
raw_notifier_call_chain+0x2e/0x40 kernel/notifier.c:401
call_netdevice_notifiers_info+0x56/0x70 net/core/dev.c:1671
call_netdevice_notifiers net/core/dev.c:1687 [inline]
rollback_registered_many+0x70d/0xb60 net/core/dev.c:7214
unregister_netdevice_many.part.0+0x1b/0x1e0 net/core/dev.c:8268
unregister_netdevice_many net/core/dev.c:8267 [inline]
default_device_exit_batch+0x31e/0x3d0 net/core/dev.c:8729
ops_exit_list.isra.0+0xfc/0x150 net/core/net_namespace.c:145
cleanup_net+0x3ba/0x870 net/core/net_namespace.c:484
process_one_work+0x863/0x1600 kernel/workqueue.c:2114
worker_thread+0x5d9/0x1050 kernel/workqueue.c:2248
kthread+0x319/0x430 kernel/kthread.c:232
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: 03 0f 8e 7e 03 00 00 83 7b 20 04 75 b6 e8 74 ae fb fa 48 8d 43 10 48
89 c2 48 89 45 c0 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00
0f 85 37 04 00 00 48 b8 00 00 00 00 00 fc ff df 4c
RIP: hsr_netdev_notify+0x465/0x8f0 net/hsr/hsr_main.c:64 RSP:
ffff88809e9ff680
---[ end trace 9a8b6c448334ed30 ]---
---
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.