bond0: (slave macvlan2): Releasing backup interface general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 6074 Comm: syz-executor.5 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:macvlan_device_event+0x62c/0x930 drivers/net/macvlan.c:1707 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 50 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 5b RSP: 0018:ffffc9000699e9e0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888048286000 RCX: ffffc90014279000 RDX: 0000000000000000 RSI: ffff88808fd66290 RDI: ffff888048286350 RBP: 1ffff92000d33d42 R08: ffff88804e890380 R09: fffffbfff14b0469 R10: ffffffff8a582347 R11: fffffbfff14b0468 R12: 0000000000000000 R13: ffff88808feb0808 R14: ffff88808feb0808 R15: ffff88808feb0000 FS: 00007fb89f8da700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005146c0 CR3: 000000005d9d4000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: notifier_call_chain+0xc0/0x230 kernel/notifier.c:83 call_netdevice_notifiers_info net/core/dev.c:1948 [inline] call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:1933 call_netdevice_notifiers_extack net/core/dev.c:1960 [inline] call_netdevice_notifiers net/core/dev.c:1974 [inline] dev_set_mac_address net/core/dev.c:8405 [inline] dev_set_mac_address+0x2ef/0x3f0 net/core/dev.c:8386 macvlan_set_mac_address drivers/net/macvlan.c:747 [inline] macvlan_set_mac_address+0x298/0x320 drivers/net/macvlan.c:733 dev_set_mac_address+0x283/0x3f0 net/core/dev.c:8401 __bond_release_one.cold+0xcb3/0xd11 drivers/net/bonding/bond_main.c:2055 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3166 [inline] bond_netdev_event+0x81c/0x930 drivers/net/bonding/bond_main.c:3277 notifier_call_chain+0xc0/0x230 kernel/notifier.c:83 call_netdevice_notifiers_info net/core/dev.c:1948 [inline] call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:1933 call_netdevice_notifiers_extack net/core/dev.c:1960 [inline] call_netdevice_notifiers net/core/dev.c:1974 [inline] rollback_registered_many+0x75c/0xe70 net/core/dev.c:8828 unregister_netdevice_many.part.0+0x16/0x1e0 net/core/dev.c:9988 unregister_netdevice_many+0x36/0x50 net/core/dev.c:9987 macvlan_device_event+0x554/0x930 drivers/net/macvlan.c:1718 notifier_call_chain+0xc0/0x230 kernel/notifier.c:83 call_netdevice_notifiers_info net/core/dev.c:1948 [inline] call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:1933 call_netdevice_notifiers_extack net/core/dev.c:1960 [inline] call_netdevice_notifiers net/core/dev.c:1974 [inline] rollback_registered_many+0x75c/0xe70 net/core/dev.c:8828 unregister_netdevice_many.part.0+0x16/0x1e0 net/core/dev.c:9988 unregister_netdevice_many+0x36/0x50 net/core/dev.c:9987 rtnl_delete_link+0xdb/0x130 net/core/rtnetlink.c:2947 rtnl_dellink+0x311/0x980 net/core/rtnetlink.c:2999 rtnetlink_rcv_msg+0x44e/0xad0 net/core/rtnetlink.c:5454 netlink_rcv_skb+0x15a/0x410 net/netlink/af_netlink.c:2469 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0x537/0x740 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x882/0xe10 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:672 ____sys_sendmsg+0x6bf/0x7e0 net/socket.c:2362 ___sys_sendmsg+0x100/0x170 net/socket.c:2416 __sys_sendmsg+0xec/0x1b0 net/socket.c:2449 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45c829 Code: 0d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fb89f8d9c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000500a40 RCX: 000000000045c829 RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000008 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009fe R14: 00000000004ccb57 R15: 00007fb89f8da6d4 Modules linked in: ---[ end trace ed9a8bcacc1929cf ]--- RIP: 0010:macvlan_device_event+0x62c/0x930 drivers/net/macvlan.c:1707 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 50 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 5b RSP: 0018:ffffc9000699e9e0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888048286000 RCX: ffffc90014279000 RDX: 0000000000000000 RSI: ffff88808fd66290 RDI: ffff888048286350 RBP: 1ffff92000d33d42 R08: ffff88804e890380 R09: fffffbfff14b0469 R10: ffffffff8a582347 R11: fffffbfff14b0468 R12: 0000000000000000 R13: ffff88808feb0808 R14: ffff88808feb0808 R15: ffff88808feb0000 FS: 00007fb89f8da700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005146c0 CR3: 000000005d9d4000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400