[ 1349.356258] dummy0: entered promiscuous mode [ 1350.286305] BUG: kernel NULL pointer dereference, address: 0000000000000858 [ 1350.286355] #PF: supervisor read access in kernel mode [ 1350.286385] #PF: error_code(0x0000) - not-present page [ 1350.286416] PGD 0 [ 1350.286433] Oops: Oops: 0000 [#1] SMP [ 1350.286457] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Not tainted 7.2.0-rc1-virtme #1 PREEMPT(lazy) [ 1350.286512] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1350.286547] Workqueue: netns cleanup_net [ 1350.286570] RIP: 0010:macvlan_port_release_mac+0x23/0x220 [ 1350.286604] Code: 10 eb d9 0f 1f 40 00 0f 1f 44 00 00 48 81 ec 88 00 00 00 65 48 8b 05 4c a1 6b 01 48 89 84 24 80 00 00 00 48 8b 87 00 01 00 00 80 58 08 00 00 01 74 24 48 8b 10 48 8b 92 58 04 00 00 8b 0a 0f [ 1350.286702] RSP: 0018:ff73c3c500067c20 EFLAGS: 00010282 [ 1350.286730] RAX: 0000000000000000 RBX: ff2a809a535d8000 RCX: 0000000000000000 [ 1350.286769] RDX: 0000000000000000 RSI: ff2a809a535d8818 RDI: ff2a809a52caa000 [ 1350.286811] RBP: ff2a809a535d8818 R08: 0000000000000001 R09: 0000000000000000 [ 1350.286852] R10: 0000000000000000 R11: 0000000000000001 R12: ff2a809a52caa000 [ 1350.286893] R13: ff2a809a53e63500 R14: ff2a809a4127c5c0 R15: 0000000000000003 [ 1350.286938] FS: 0000000000000000(0000) GS:ff2a809ad6db7000(0000) knlGS:0000000000000000 [ 1350.286987] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1350.287020] CR2: 0000000000000858 CR3: 0000000039247002 CR4: 0000000000771ef0 [ 1350.287061] PKRU: 55555554 [ 1350.287076] Call Trace: [ 1350.287090] [ 1350.287103] ? enable_work+0x3a/0x100 [ 1350.287126] ? cancel_work_sync+0x62/0x70 [ 1350.287147] macvlan_port_destroy+0xa1/0xb0 [ 1350.287170] unregister_netdevice_many_notify+0x685/0xa30 [ 1350.287201] default_device_exit_batch+0x328/0x3a0 [ 1350.287228] ops_undo_list+0x10b/0x240 [ 1350.287250] cleanup_net+0x1d7/0x330 [ 1350.287272] process_one_work+0x162/0x340 [ 1350.287292] worker_thread+0x16e/0x2d0 [ 1350.287310] ? rescuer_thread+0x500/0x500 [ 1350.287332] kthread+0xe1/0x120 [ 1350.287353] ? kthread_park+0xa0/0xa0 [ 1350.287375] ret_from_fork+0x16d/0x250 [ 1350.287395] ? kthread_park+0xa0/0xa0 [ 1350.287418] ret_from_fork_asm+0x11/0x20 [ 1350.287441] [ 1350.287454] Modules linked in: cls_bpf l2tp_ip6 l2tp_eth l2tp_ip l2tp_netlink l2tp_core sch_fq ipt_rpfilter xfrm_interface ip6t_rpfilter act_tunnel_key bareudp mpls_gso mpls_iptunnel mpls_router ip6_gre pktgen xt_length act_ct nf_flow_table nft_chain_nat xt_nat sch_prio sctp_diag sctp ipvtap ipvlan act_mirred cls_u32 ifb vport_geneve geneve vport_vxlan vport_gre ip_gre gre openvswitch nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nsh xfrm_user xt_policy nft_compat nf_tables vxlan drop_monitor act_gact cls_flower sch_ingress psample [last unloaded: netdevsim] [ 1350.287716] CR2: 0000000000000858 [ 1350.287737] ---[ end trace 0000000000000000 ]--- [ 1350.287764] RIP: 0010:macvlan_port_release_mac+0x23/0x220 [ 1350.287792] Code: 10 eb d9 0f 1f 40 00 0f 1f 44 00 00 48 81 ec 88 00 00 00 65 48 8b 05 4c a1 6b 01 48 89 84 24 80 00 00 00 48 8b 87 00 01 00 00 80 58 08 00 00 01 74 24 48 8b 10 48 8b 92 58 04 00 00 8b 0a 0f [ 1350.287889] RSP: 0018:ff73c3c500067c20 EFLAGS: 00010282 [ 1350.287915] RAX: 0000000000000000 RBX: ff2a809a535d8000 RCX: 0000000000000000 [ 1350.287948] RDX: 0000000000000000 RSI: ff2a809a535d8818 RDI: ff2a809a52caa000 [ 1350.287985] RBP: ff2a809a535d8818 R08: 0000000000000001 R09: 0000000000000000 [ 1350.288031] R10: 0000000000000000 R11: 0000000000000001 R12: ff2a809a52caa000 [ 1350.288072] R13: ff2a809a53e63500 R14: ff2a809a4127c5c0 R15: 0000000000000003 [ 1350.288112] FS: 0000000000000000(0000) GS:ff2a809ad6db7000(0000) knlGS:0000000000000000 [ 1350.288156] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1350.288190] CR2: 0000000000000858 CR3: 0000000039247002 CR4: 0000000000771ef0 [ 1350.288232] PKRU: 55555554 [ 1350.288247] note: kworker/u16:0[12] exited with irqs disabled