bond0 (unregistering): Releasing backup interface macvlan2 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: 1 PID: 2870 Comm: kworker/u4:5 Not tainted 4.14.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net task: ffff88809ea20400 task.stack: ffff88809ea28000 RIP: 0010:macvlan_device_event+0x47f/0x890 drivers/net/macvlan.c:1676 RSP: 0000:ffff88809ea2f658 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888092e46c00 RCX: 1ffffffff10279bc RDX: 0000000000000000 RSI: ffff8880a96da310 RDI: ffff888092e46f58 RBP: 1ffff11013d45ed1 R08: 0000000000000001 R09: 0000000000000000 R10: ffff88809ea2f700 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8881f8ac9fc8 R14: ffff8881f8ac9fc8 R15: ffff8881f8ac97c0 FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe4b67ad17 CR3: 00000000a5491000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: notifier_call_chain+0x107/0x1a0 kernel/notifier.c:93 call_netdevice_notifiers net/core/dev.c:1687 [inline] dev_set_mac_address net/core/dev.c:6964 [inline] dev_set_mac_address+0x1cd/0x2b0 net/core/dev.c:6949 macvlan_set_mac_address drivers/net/macvlan.c:756 [inline] macvlan_set_mac_address+0x228/0x290 drivers/net/macvlan.c:742 dev_set_mac_address+0x153/0x2b0 net/core/dev.c:6960 __bond_release_one+0xa03/0x1390 drivers/net/bonding/bond_main.c:1981 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3093 [inline] bond_netdev_event+0x784/0x8c0 drivers/net/bonding/bond_main.c:3191 notifier_call_chain+0x107/0x1a0 kernel/notifier.c:93 call_netdevice_notifiers net/core/dev.c:1687 [inline] rollback_registered_many+0x694/0xa70 net/core/dev.c:7205 unregister_netdevice_many.part.0+0x16/0x1d0 net/core/dev.c:8278 unregister_netdevice_many net/core/dev.c:8277 [inline] default_device_exit_batch+0x2dd/0x380 net/core/dev.c:8739 ops_exit_list.isra.0+0xef/0x140 net/core/net_namespace.c:145 cleanup_net+0x3bb/0x820 net/core/net_namespace.c:484 process_one_work+0x813/0x1540 kernel/workqueue.c:2116 worker_thread+0x5d1/0x1070 kernel/workqueue.c:2250 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Code: ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 04 04 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 cd 03 00 00 49 8b 3c 24 41 bc 02 80 00 00 e8 RIP: macvlan_device_event+0x47f/0x890 drivers/net/macvlan.c:1676 RSP: ffff88809ea2f658 ---[ end trace 1e5ba629a9806110 ]---