====================================== | [ 23.328435][ T341] ------------[ cut here ]------------ | [ 23.328668][ T341] DEBUG_LOCKS_WARN_ON(1) | [ 23.328684][ T341] WARNING: CPU: 2 PID: 341 at kernel/locking/lockdep.c:4976 lockdep_init_map_type (kernel/locking/lockdep.c:4976 (discriminator 7)) | [ 23.329236][ T341] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel bridge stp llc 8021q sch_ingress vrf veth [ 23.330020][ T341] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.330275][ T341] RIP: 0010:lockdep_init_map_type (kernel/locking/lockdep.c:4976 (discriminator 7)) [ 23.330542][ T341] Code: ff 4c 89 e6 48 c7 c7 28 3d 5d af e8 ee c9 01 00 e9 3d ff ff ff 90 48 c7 c6 ee ff 56 af 48 c7 c7 3b fc 56 af e8 c5 89 e9 ff 90 <0f> 0b 90 90 e9 47 ff ff ff 90 48 c7 c6 2a 01 57 af 48 c7 c7 3b fc All code ======== 0: ff 4c 89 e6 decl -0x1a(%rcx,%rcx,4) 4: 48 c7 c7 28 3d 5d af mov $0xffffffffaf5d3d28,%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 af mov $0xffffffffaf56ffee,%rsi 1d: 48 c7 c7 3b fc 56 af mov $0xffffffffaf56fc3b,%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 af mov $0xffffffffaf57012a,%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 af mov $0xffffffffaf57012a,%rsi 11: 48 rex.W 12: c7 .byte 0xc7 13: c7 (bad) 14: 3b fc cmp %esp,%edi [ 23.331230][ T341] RSP: 0018:ffffc90000597018 EFLAGS: 00010282 [ 23.332955][ T341] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 23.333422][ T341] RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001 [ 23.333875][ T341] RBP: ffffe8ffffc05070 R08: 0000000000000000 R09: fffffbfff5f3e10c [ 23.334341][ T341] R10: 0000000000000003 R11: 0000000000000004 R12: ffff8880106a2e60 [ 23.334966][ T341] R13: 0000000000000000 R14: ffffe8ffffc04e58 R15: ffffe8ffffc04e00 [ 23.335713][ T341] FS: 00007f5739664800(0000) GS:ffff8880854f2000(0000) knlGS:0000000000000000 [ 23.336481][ T341] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 23.337113][ T341] CR2: 00007f2b4e0b7000 CR3: 000000000e52c001 CR4: 0000000000772ef0 [ 23.337867][ T341] PKRU: 55555554 [ 23.338230][ T341] Call Trace: [ 23.338507][ T341] [ 23.338690][ 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.339021][ T341] vxlan_init (drivers/net/vxlan/vxlan_core.c:2899) vxlan [ 23.339384][ T341] ? kasan_save_track (./arch/x86/include/asm/current.h:25 mm/kasan/common.c:69 mm/kasan/common.c:78) [ 23.339721][ T341] register_netdevice (net/core/dev.c:11309) [ 23.340046][ T341] ? vxlan_vni_in_use (drivers/net/vxlan/vxlan_core.c:3680) vxlan [ 23.340414][ T341] ? unregister_netdevice_queue (net/core/dev.c:11272) [ 23.340813][ T341] ? vxlan_config_validate (drivers/net/vxlan/vxlan_core.c:3848) vxlan [ 23.341233][ T341] ? vxlan_config_apply (drivers/net/vxlan/vxlan_core.c:3885) vxlan [ 23.341633][ T341] __vxlan_dev_create (drivers/net/vxlan/vxlan_core.c:3948) vxlan [ 23.341920][ T341] ? mark_held_locks (kernel/locking/lockdep.c:4325) [ 23.342198][ T341] ? vxlan_changelink (drivers/net/vxlan/vxlan_core.c:3934) vxlan [ 23.342502][ T341] vxlan_newlink (drivers/net/vxlan/vxlan_core.c:4370) vxlan [ 23.342787][ T341] ? vxlan_dev_create (drivers/net/vxlan/vxlan_core.c:4370) vxlan [ 23.343084][ T341] ? rtnl_create_link (net/core/rtnetlink.c:3657) [ 23.343373][ T341] rtnl_newlink_create (net/core/rtnetlink.c:3843) [ 23.343650][ T341] ? rtnl_create_link (net/core/rtnetlink.c:3806) [ 23.343977][ T341] ? __dev_get_by_name (net/core/dev.c:865) [ 23.344323][ T341] ? rtnl_dev_get (net/core/rtnetlink.c:3419) [ 23.344650][ T341] ? rtnl_validate_mdb_entry_del_bulk (net/core/rtnetlink.c:3419) [ 23.345069][ T341] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 23.345414][ T341] ? reacquire_held_locks (kernel/locking/lockdep.c:5385) [ 23.345738][ T341] __rtnl_newlink (net/core/rtnetlink.c:3957) [ 23.346079][ T341] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 23.346430][ T341] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 23.346761][ T341] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 23.347091][ T341] ? __lock_release (kernel/locking/lockdep.c:5536) [ 23.347431][ T341] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 23.347696][ T341] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 23.347935][ T341] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 23.348150][ T341] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 23.348369][ T341] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 23.348576][ T341] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 23.348779][ T341] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 23.349001][ T341] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 23.349254][ 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.349468][ T341] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 23.349671][ T341] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 23.349874][ T341] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 23.350088][ T341] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 23.350300][ T341] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 23.350505][ T341] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 23.350711][ T341] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 23.350920][ T341] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 23.351130][ T341] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 23.351388][ T341] ? __copy_msghdr (net/socket.c:2556) [ 23.351595][ T341] ___sys_sendmsg (net/socket.c:2686) [ 23.351800][ T341] ? copy_msghdr_from_user (net/socket.c:2673) [ 23.352015][ T341] ? do_pte_missing (mm/memory.c:6134) [ 23.352228][ T341] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 23.352525][ T341] ? __handle_mm_fault (mm/memory.c:6318) [ 23.352800][ T341] ? __pmd_alloc (mm/memory.c:6229) [ 23.353082][ T341] ? lock_vma_under_rcu (mm/mmap_lock.c:226) [ 23.353364][ T341] ? lock_vma_under_rcu (mm/mmap_lock.c:259) [ 23.353638][ T341] __sys_sendmsg (net/socket.c:2716) [ 23.353913][ T341] ? __sys_sendmsg_sock (net/socket.c:2701) [ 23.354133][ 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.354442][ 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.354790][ T341] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 23.355126][ T341] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 23.355459][ T341] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 23.355870][ T341] RIP: 0033:0x7f57398321d7 [ 23.356218][ T341] Code: Unable to access opcode bytes at 0x7f57398321ad. Code starting with the faulting instruction =========================================== [ 23.356646][ T341] RSP: 002b:00007fff9c19c668 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 23.357149][ T341] RAX: ffffffffffffffda RBX: 00007fff9c19cd90 RCX: 00007f57398321d7 [ 23.357651][ T341] RDX: 0000000000000000 RSI: 00007fff9c19c6d0 RDI: 0000000000000005 [ 23.358107][ T341] RBP: 000000000000000d R08: 000000000000008c R09: 0000000000000000 [ 23.358524][ T341] R10: 00007f5739729770 R11: 0000000000000246 R12: 00007fff9c19cdb0 Finger prints: lockdep_init_map_type:gro_cells_init:vxlan_init:register_netdevice:__vxlan_dev_create