====================================== | [ 21.172342][ T322] ------------[ cut here ]------------ | [ 21.172541][ T322] DEBUG_LOCKS_WARN_ON(1) | [ 21.172562][ T322] WARNING: CPU: 3 PID: 322 at kernel/locking/lockdep.c:4976 lockdep_init_map_type (kernel/locking/lockdep.c:4976 (discriminator 7)) | [ 21.173092][ T322] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel bridge stp llc vrf veth [ 21.173802][ T322] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.174049][ T322] RIP: 0010:lockdep_init_map_type (kernel/locking/lockdep.c:4976 (discriminator 7)) [ 21.174301][ T322] Code: ff 4c 89 e6 48 c7 c7 28 3d 1d b1 e8 ee c9 01 00 e9 3d ff ff ff 90 48 c7 c6 ee ff 16 b1 48 c7 c7 3b fc 16 b1 e8 c5 89 e9 ff 90 <0f> 0b 90 90 e9 47 ff ff ff 90 48 c7 c6 2a 01 17 b1 48 c7 c7 3b fc All code ======== 0: ff 4c 89 e6 decl -0x1a(%rcx,%rcx,4) 4: 48 c7 c7 28 3d 1d b1 mov $0xffffffffb11d3d28,%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 16 b1 mov $0xffffffffb116ffee,%rsi 1d: 48 c7 c7 3b fc 16 b1 mov $0xffffffffb116fc3b,%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 17 b1 mov $0xffffffffb117012a,%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 17 b1 mov $0xffffffffb117012a,%rsi 11: 48 rex.W 12: c7 .byte 0xc7 13: c7 (bad) 14: 3b fc cmp %esp,%edi [ 21.174994][ T322] RSP: 0018:ffffc90000667018 EFLAGS: 00010282 [ 21.175231][ T322] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 21.175526][ T322] RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001 [ 21.175805][ T322] RBP: ffffe8ffffc047f0 R08: 0000000000000000 R09: fffffbfff62be10c [ 21.176088][ T322] R10: 0000000000000003 R11: 0000000000000004 R12: ffff88800fe7ae60 [ 21.176363][ T322] R13: 0000000000000000 R14: ffffe8ffffc045d8 R15: ffffe8ffffc04580 [ 21.176648][ T322] FS: 00007f7839fc9800(0000) GS:ffff888083972000(0000) knlGS:0000000000000000 [ 21.176980][ T322] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 21.177210][ T322] CR2: 00007f17c758f000 CR3: 000000000ba15006 CR4: 0000000000772ef0 [ 21.177502][ T322] PKRU: 55555554 [ 21.177655][ T322] Call Trace: [ 21.177800][ T322] [ 21.177902][ T322] 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) [ 21.178097][ T322] vxlan_init (drivers/net/vxlan/vxlan_core.c:2899) vxlan [ 21.178297][ T322] ? kasan_save_track (./arch/x86/include/asm/current.h:25 mm/kasan/common.c:69 mm/kasan/common.c:78) [ 21.178514][ T322] register_netdevice (net/core/dev.c:11309) [ 21.178719][ T322] ? vxlan_vni_in_use (drivers/net/vxlan/vxlan_core.c:3680) vxlan [ 21.178935][ T322] ? unregister_netdevice_queue (net/core/dev.c:11272) [ 21.179185][ T322] ? vxlan_config_validate (drivers/net/vxlan/vxlan_core.c:3848) vxlan [ 21.179424][ T322] ? vxlan_config_apply (drivers/net/vxlan/vxlan_core.c:3885) vxlan [ 21.179671][ T322] __vxlan_dev_create (drivers/net/vxlan/vxlan_core.c:3948) vxlan [ 21.179868][ T322] ? mark_held_locks (kernel/locking/lockdep.c:4325) [ 21.181593][ T322] ? vxlan_changelink (drivers/net/vxlan/vxlan_core.c:3934) vxlan [ 21.181801][ T322] vxlan_newlink (drivers/net/vxlan/vxlan_core.c:4370) vxlan [ 21.182146][ T322] ? vxlan_dev_create (drivers/net/vxlan/vxlan_core.c:4370) vxlan [ 21.182342][ T322] ? rtnl_create_link (net/core/rtnetlink.c:3657) [ 21.182533][ T322] rtnl_newlink_create (net/core/rtnetlink.c:3843) [ 21.182746][ T322] ? rtnl_create_link (net/core/rtnetlink.c:3806) [ 21.183096][ T322] ? __dev_get_by_name (net/core/dev.c:865) [ 21.183301][ T322] ? rtnl_dev_get (net/core/rtnetlink.c:3419) [ 21.183493][ T322] ? rtnl_validate_mdb_entry_del_bulk (net/core/rtnetlink.c:3419) [ 21.183757][ T322] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 21.184113][ T322] ? reacquire_held_locks (kernel/locking/lockdep.c:5385) [ 21.184305][ T322] __rtnl_newlink (net/core/rtnetlink.c:3957) [ 21.184504][ T322] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 21.184715][ T322] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 21.185057][ T322] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 21.185249][ T322] ? __lock_release (kernel/locking/lockdep.c:5536) [ 21.185433][ T322] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 21.185612][ T322] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 21.185810][ T322] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 21.186120][ T322] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 21.186310][ T322] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 21.186499][ T322] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 21.186684][ T322] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 21.186884][ T322] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 21.187210][ T322] ? 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) [ 21.187395][ T322] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 21.187588][ T322] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 21.187789][ T322] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 21.188108][ T322] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 21.188296][ T322] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 21.188487][ T322] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 21.188672][ T322] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 21.188864][ T322] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 21.189134][ T322] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 21.189372][ T322] ? __copy_msghdr (net/socket.c:2556) [ 21.189557][ T322] ___sys_sendmsg (net/socket.c:2686) [ 21.189755][ T322] ? copy_msghdr_from_user (net/socket.c:2673) [ 21.189976][ T322] ? do_pte_missing (mm/memory.c:6134) [ 21.190171][ T322] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 21.190359][ T322] ? __handle_mm_fault (mm/memory.c:6318) [ 21.190542][ T322] ? __pmd_alloc (mm/memory.c:6229) [ 21.190737][ T322] ? lock_vma_under_rcu (mm/mmap_lock.c:226) [ 21.190940][ T322] ? lock_vma_under_rcu (mm/mmap_lock.c:259) [ 21.191142][ T322] __sys_sendmsg (net/socket.c:2716) [ 21.191328][ T322] ? __sys_sendmsg_sock (net/socket.c:2701) [ 21.191510][ T322] ? 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) [ 21.191705][ T322] ? 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) [ 21.191913][ T322] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 21.192108][ T322] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 21.192303][ T322] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 21.192545][ T322] RIP: 0033:0x7f783a1971d7 [ 21.192758][ T322] Code: Unable to access opcode bytes at 0x7f783a1971ad. Code starting with the faulting instruction =========================================== [ 21.193023][ T322] RSP: 002b:00007ffe881d5008 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 21.193326][ T322] RAX: ffffffffffffffda RBX: 00007ffe881d5730 RCX: 00007f783a1971d7 [ 21.193621][ T322] RDX: 0000000000000000 RSI: 00007ffe881d5070 RDI: 0000000000000005 [ 21.193952][ T322] RBP: 000000000000000f R08: 00000000000000a0 R09: 0000000000000000 [ 21.194257][ T322] R10: 00007f783a08e770 R11: 0000000000000246 R12: 00007ffe881d5750 Finger prints: lockdep_init_map_type:gro_cells_init:vxlan_init:register_netdevice:__vxlan_dev_create