====================================== | [ 23.083926][ T341] ------------[ cut here ]------------ | [ 23.084127][ T341] DEBUG_LOCKS_WARN_ON(1) | [ 23.084144][ T341] WARNING: CPU: 0 PID: 341 at kernel/locking/lockdep.c:4976 lockdep_init_map_type (kernel/locking/lockdep.c:4976 (discriminator 7)) | [ 23.084729][ T341] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel bridge stp llc 8021q sch_ingress vrf veth [ 23.085495][ T341] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.085759][ T341] RIP: 0010:lockdep_init_map_type (kernel/locking/lockdep.c:4976 (discriminator 7)) [ 23.086014][ T341] Code: ff 4c 89 e6 48 c7 c7 28 3d 5d 9d e8 ee c9 01 00 e9 3d ff ff ff 90 48 c7 c6 ee ff 56 9d 48 c7 c7 3b fc 56 9d e8 c5 89 e9 ff 90 <0f> 0b 90 90 e9 47 ff ff ff 90 48 c7 c6 2a 01 57 9d 48 c7 c7 3b fc All code ======== 0: ff 4c 89 e6 decl -0x1a(%rcx,%rcx,4) 4: 48 c7 c7 28 3d 5d 9d mov $0xffffffff9d5d3d28,%rdi b: e8 ee c9 01 00 call 0x1c9fe 10: e9 3d ff ff ff jmp 0xffffffffffffff52 15: 90 nop 16: 48 c7 c6 ee ff 56 9d mov $0xffffffff9d56ffee,%rsi 1d: 48 c7 c7 3b fc 56 9d mov $0xffffffff9d56fc3b,%rdi 24: e8 c5 89 e9 ff call 0xffffffffffe989ee 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 90 nop 2d: 90 nop 2e: e9 47 ff ff ff jmp 0xffffffffffffff7a 33: 90 nop 34: 48 c7 c6 2a 01 57 9d mov $0xffffffff9d57012a,%rsi 3b: 48 rex.W 3c: c7 .byte 0xc7 3d: c7 (bad) 3e: 3b fc cmp %esp,%edi Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 90 nop 3: 90 nop 4: e9 47 ff ff ff jmp 0xffffffffffffff50 9: 90 nop a: 48 c7 c6 2a 01 57 9d mov $0xffffffff9d57012a,%rsi 11: 48 rex.W 12: c7 .byte 0xc7 13: c7 (bad) 14: 3b fc cmp %esp,%edi [ 23.086754][ T341] RSP: 0018:ffffc900005a7018 EFLAGS: 00010282 [ 23.087008][ T341] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 23.087305][ T341] RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001 [ 23.087605][ T341] RBP: ffffe8ffffc05070 R08: 0000000000000000 R09: fffffbfff3b3e10c [ 23.087914][ T341] R10: 0000000000000003 R11: 0000000000000004 R12: ffff88800de1ae60 [ 23.088214][ T341] R13: 0000000000000000 R14: ffffe8ffffc04e58 R15: ffffe8ffffc04e00 [ 23.088510][ T341] FS: 00007fc4d8314800(0000) GS:ffff8880917f2000(0000) knlGS:0000000000000000 [ 23.088863][ T341] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 23.089115][ T341] CR2: 00007f8137a545c0 CR3: 000000000df23006 CR4: 0000000000772ef0 [ 23.089413][ T341] PKRU: 55555554 [ 23.089565][ T341] Call Trace: [ 23.089720][ T341] [ 23.089825][ T341] gro_cells_init (./include/linux/instrumented.h:82 ./include/asm-generic/bitops/instrumented-atomic.h:28 net/core/gro_cells.c:93 net/core/gro_cells.c:78) [ 23.090028][ T341] vxlan_init (drivers/net/vxlan/vxlan_core.c:2899) vxlan [ 23.090235][ T341] ? kasan_save_track (./arch/x86/include/asm/current.h:25 mm/kasan/common.c:69 mm/kasan/common.c:78) [ 23.090435][ T341] register_netdevice (net/core/dev.c:11309) [ 23.090639][ T341] ? vxlan_vni_in_use (drivers/net/vxlan/vxlan_core.c:3680) vxlan [ 23.090852][ T341] ? unregister_netdevice_queue (net/core/dev.c:11272) [ 23.091098][ T341] ? vxlan_config_validate (drivers/net/vxlan/vxlan_core.c:3848) vxlan [ 23.091352][ T341] ? vxlan_config_apply (drivers/net/vxlan/vxlan_core.c:3885) vxlan [ 23.091585][ T341] __vxlan_dev_create (drivers/net/vxlan/vxlan_core.c:3948) vxlan [ 23.091791][ T341] ? mark_held_locks (kernel/locking/lockdep.c:4325) [ 23.091982][ T341] ? vxlan_changelink (drivers/net/vxlan/vxlan_core.c:3934) vxlan [ 23.092172][ T341] vxlan_newlink (drivers/net/vxlan/vxlan_core.c:4370) vxlan [ 23.092363][ T341] ? vxlan_dev_create (drivers/net/vxlan/vxlan_core.c:4370) vxlan [ 23.092554][ T341] ? rtnl_create_link (net/core/rtnetlink.c:3657) [ 23.092744][ T341] rtnl_newlink_create (net/core/rtnetlink.c:3843) [ 23.092928][ T341] ? rtnl_create_link (net/core/rtnetlink.c:3806) [ 23.093109][ T341] ? __dev_get_by_name (net/core/dev.c:865) [ 23.093297][ T341] ? rtnl_dev_get (net/core/rtnetlink.c:3419) [ 23.093480][ T341] ? rtnl_validate_mdb_entry_del_bulk (net/core/rtnetlink.c:3419) [ 23.093714][ T341] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 23.093896][ T341] ? reacquire_held_locks (kernel/locking/lockdep.c:5385) [ 23.094079][ T341] __rtnl_newlink (net/core/rtnetlink.c:3957) [ 23.094263][ T341] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 23.094447][ T341] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 23.094632][ T341] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 23.094824][ T341] ? __lock_release (kernel/locking/lockdep.c:5536) [ 23.095007][ T341] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 23.095188][ T341] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 23.095370][ T341] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 23.095551][ T341] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 23.095743][ T341] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 23.095926][ T341] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 23.096105][ T341] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 23.096296][ T341] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 23.096478][ T341] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 ./include/net/netns/generic.h:48 net/netlink/af_netlink.c:333) [ 23.096662][ T341] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 23.096867][ T341] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 23.097053][ T341] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 23.097236][ T341] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 23.097422][ T341] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 23.097605][ T341] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 23.097794][ T341] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 23.097975][ T341] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 23.098159][ T341] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 23.098386][ T341] ? __copy_msghdr (net/socket.c:2556) [ 23.098571][ T341] ___sys_sendmsg (net/socket.c:2686) [ 23.098759][ T341] ? copy_msghdr_from_user (net/socket.c:2673) [ 23.098941][ T341] ? do_pte_missing (mm/memory.c:6134) [ 23.099130][ T341] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 23.099313][ T341] ? __handle_mm_fault (mm/memory.c:6318) [ 23.099493][ T341] ? __pmd_alloc (mm/memory.c:6229) [ 23.099675][ T341] ? lock_vma_under_rcu (mm/mmap_lock.c:226) [ 23.099863][ T341] ? lock_vma_under_rcu (mm/mmap_lock.c:259) [ 23.100047][ T341] __sys_sendmsg (net/socket.c:2716) [ 23.100264][ T341] ? __sys_sendmsg_sock (net/socket.c:2701) [ 23.100449][ T341] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 23.100635][ T341] ? do_user_addr_fault (./arch/x86/include/asm/atomic.h:93 ./include/linux/atomic/atomic-arch-fallback.h:949 ./include/linux/atomic/atomic-instrumented.h:401 ./include/linux/refcount.h:389 ./include/linux/refcount.h:432 ./include/linux/mmap_lock.h:143 ./include/linux/mmap_lock.h:182 arch/x86/mm/fault.c:1338) [ 23.100828][ T341] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 23.101014][ T341] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 23.101212][ T341] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 23.101440][ T341] RIP: 0033:0x7fc4d84e21d7 [ 23.101635][ T341] Code: Unable to access opcode bytes at 0x7fc4d84e21ad. Code starting with the faulting instruction =========================================== [ 23.101886][ T341] RSP: 002b:00007ffd96243468 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 23.102167][ T341] RAX: ffffffffffffffda RBX: 00007ffd96243b90 RCX: 00007fc4d84e21d7 [ 23.102440][ T341] RDX: 0000000000000000 RSI: 00007ffd962434d0 RDI: 0000000000000005 [ 23.102718][ T341] RBP: 000000000000000d R08: 000000000000008c R09: 0000000000000000 [ 23.102999][ T341] R10: 00007fc4d83d9770 R11: 0000000000000246 R12: 00007ffd96243bb0 Finger prints: lockdep_init_map_type:gro_cells_init:vxlan_init:register_netdevice:__vxlan_dev_create