Hello,
syzbot found the following crash on:
HEAD commit: 6dd0e326 Linux 4.19.115
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=109320c3e00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=75bfa32b46e7b6cf
dashboard link:
https://syzkaller.appspot.com/bug?extid=df11c1da83132651bd3f
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+df11c1...@syzkaller.appspotmail.com
bond2 (unregistering): Released all slaves
bond1 (unregistering): Released all slaves
bond0 (unregistering): Releasing backup interface macvlan5
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
CPU: 1 PID: 19837 Comm: kworker/u4:2 Not tainted 4.19.115-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
RIP: 0010:macvlan_device_event+0x62c/0x930 drivers/net/macvlan.c:1679
Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 09 03 00 00 4c 89 e2 48 8b b3 58 03 00 00 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 d2 02 00 00 49 8b 3c 24 41 bc 02 80 00 00 e8 cb
RSP: 0018:ffff8880536c7530 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff888094404a00 RCX: ffffffff844c5145
RDX: 0000000000000000 RSI: ffff88804f93dd10 RDI: ffff888094404d58
RBP: 1ffff1100a6d8eac R08: ffff8880a87e4340 R09: fffffbfff12c0495
R10: ffff8880536c75f8 R11: ffffffff896024a7 R12: 0000000000000000
R13: ffff8880994b9a08 R14: ffff8880994b9a08 R15: ffff8880994b9200
FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c4270b1000 CR3: 00000000a1228000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
call_netdevice_notifiers net/core/dev.c:1766 [inline]
dev_set_mac_address net/core/dev.c:7898 [inline]
dev_set_mac_address+0x22f/0x320 net/core/dev.c:7883
macvlan_set_mac_address drivers/net/macvlan.c:751 [inline]
macvlan_set_mac_address+0x296/0x320 drivers/net/macvlan.c:737
dev_set_mac_address+0x189/0x320 net/core/dev.c:7894
__bond_release_one+0xb81/0x15c0 drivers/net/bonding/bond_main.c:2000
bond_slave_netdev_event drivers/net/bonding/bond_main.c:3113 [inline]
bond_netdev_event+0x980/0xb00 drivers/net/bonding/bond_main.c:3225
notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
call_netdevice_notifiers net/core/dev.c:1766 [inline]
rollback_registered_many+0x7bc/0xc40 net/core/dev.c:8182
unregister_netdevice_many.part.0+0x16/0x1e0 net/core/dev.c:9296
unregister_netdevice_many net/core/dev.c:9295 [inline]
default_device_exit_batch+0x2ff/0x3c0 net/core/dev.c:9767
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
Modules linked in:
---[ end trace aa334d0df4644ee4 ]---
RIP: 0010:macvlan_device_event+0x62c/0x930 drivers/net/macvlan.c:1679
Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 09 03 00 00 4c 89 e2 48 8b b3 58 03 00 00 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 d2 02 00 00 49 8b 3c 24 41 bc 02 80 00 00 e8 cb
RSP: 0018:ffff8880536c7530 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff888094404a00 RCX: ffffffff844c5145
RDX: 0000000000000000 RSI: ffff88804f93dd10 RDI: ffff888094404d58
RBP: 1ffff1100a6d8eac R08: ffff8880a87e4340 R09: fffffbfff12c0495
R10: ffff8880536c75f8 R11: ffffffff896024a7 R12: 0000000000000000
R13: ffff8880994b9a08 R14: ffff8880994b9a08 R15: ffff8880994b9200
FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c4270b1000 CR3: 00000000a1228000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
---
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.