====================================== | [ 21.297103][ T321] ------------[ cut here ]------------ | [ 21.297409][ T321] DEBUG_LOCKS_WARN_ON(1) | [ 21.297436][ T321] WARNING: CPU: 3 PID: 321 at kernel/locking/lockdep.c:4976 lockdep_init_map_type (kernel/locking/lockdep.c:4976 (discriminator 7)) | [ 21.298333][ T321] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel bridge stp llc vrf veth [ 21.299573][ T321] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.299959][ T321] RIP: 0010:lockdep_init_map_type (kernel/locking/lockdep.c:4976 (discriminator 7)) [ 21.300356][ T321] Code: ff 4c 89 e6 48 c7 c7 28 3d 5d 96 e8 ee c9 01 00 e9 3d ff ff ff 90 48 c7 c6 ee ff 56 96 48 c7 c7 3b fc 56 96 e8 c5 89 e9 ff 90 <0f> 0b 90 90 e9 47 ff ff ff 90 48 c7 c6 2a 01 57 96 48 c7 c7 3b fc All code ======== 0: ff 4c 89 e6 decl -0x1a(%rcx,%rcx,4) 4: 48 c7 c7 28 3d 5d 96 mov $0xffffffff965d3d28,%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 96 mov $0xffffffff9656ffee,%rsi 1d: 48 c7 c7 3b fc 56 96 mov $0xffffffff9656fc3b,%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 96 mov $0xffffffff9657012a,%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 96 mov $0xffffffff9657012a,%rsi 11: 48 rex.W 12: c7 .byte 0xc7 13: c7 (bad) 14: 3b fc cmp %esp,%edi [ 21.301485][ T321] RSP: 0018:ffffc90000517018 EFLAGS: 00010282 [ 21.301881][ T321] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 21.302410][ T321] RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001 [ 21.302888][ T321] RBP: ffffe8ffffc047f0 R08: 0000000000000000 R09: fffffbfff2d3e10c [ 21.303367][ T321] R10: 0000000000000003 R11: 0000000000000004 R12: ffff888004d2ae60 [ 21.303853][ T321] R13: 0000000000000000 R14: ffffe8ffffc045d8 R15: ffffe8ffffc04580 [ 21.304330][ T321] FS: 00007fce3bfda800(0000) GS:ffff888098972000(0000) knlGS:0000000000000000 [ 21.304875][ T321] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 21.305273][ T321] CR2: 00007fce3c1c6b90 CR3: 00000000090d2001 CR4: 0000000000772ef0 [ 21.305739][ T321] PKRU: 55555554 [ 21.305969][ T321] Call Trace: [ 21.306207][ T321] [ 21.306379][ T321] 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.306720][ T321] vxlan_init (drivers/net/vxlan/vxlan_core.c:2899) vxlan [ 21.307071][ T321] ? kasan_save_track (./arch/x86/include/asm/current.h:25 mm/kasan/common.c:69 mm/kasan/common.c:78) [ 21.307404][ T321] register_netdevice (net/core/dev.c:11309) [ 21.307713][ T321] ? vxlan_vni_in_use (drivers/net/vxlan/vxlan_core.c:3680) vxlan [ 21.308049][ T321] ? unregister_netdevice_queue (net/core/dev.c:11272) [ 21.308447][ T321] ? vxlan_config_validate (drivers/net/vxlan/vxlan_core.c:3848) vxlan [ 21.308843][ T321] ? vxlan_config_apply (drivers/net/vxlan/vxlan_core.c:3885) vxlan [ 21.309247][ T321] __vxlan_dev_create (drivers/net/vxlan/vxlan_core.c:3948) vxlan [ 21.309580][ T321] ? mark_held_locks (kernel/locking/lockdep.c:4325) [ 21.309895][ T321] ? vxlan_changelink (drivers/net/vxlan/vxlan_core.c:3934) vxlan [ 21.310237][ T321] vxlan_newlink (drivers/net/vxlan/vxlan_core.c:4370) vxlan [ 21.310563][ T321] ? vxlan_dev_create (drivers/net/vxlan/vxlan_core.c:4370) vxlan [ 21.310902][ T321] ? rtnl_create_link (net/core/rtnetlink.c:3657) [ 21.311225][ T321] rtnl_newlink_create (net/core/rtnetlink.c:3843) [ 21.311537][ T321] ? rtnl_create_link (net/core/rtnetlink.c:3806) [ 21.311848][ T321] ? __dev_get_by_name (net/core/dev.c:865) [ 21.312159][ T321] ? rtnl_dev_get (net/core/rtnetlink.c:3419) [ 21.312480][ T321] ? rtnl_validate_mdb_entry_del_bulk (net/core/rtnetlink.c:3419) [ 21.312858][ T321] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 21.313416][ T321] ? reacquire_held_locks (kernel/locking/lockdep.c:5385) [ 21.313740][ T321] __rtnl_newlink (net/core/rtnetlink.c:3957) [ 21.314062][ T321] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 21.314382][ T321] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 21.314709][ T321] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 21.315250][ T321] ? __lock_release (kernel/locking/lockdep.c:5536) [ 21.315566][ T321] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 21.315876][ T321] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 21.316431][ T321] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 21.316751][ T321] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 21.317075][ T321] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 21.317380][ T321] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 21.317696][ T321] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 21.318235][ T321] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 21.318550][ T321] ? 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.318861][ T321] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 21.319419][ T321] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 21.319736][ T321] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 21.320060][ T321] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 21.320380][ T321] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 21.320687][ T321] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 21.321233][ T321] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 21.321544][ T321] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 21.321854][ T321] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 21.322466][ T321] ? __copy_msghdr (net/socket.c:2556) [ 21.322791][ T321] ___sys_sendmsg (net/socket.c:2686) [ 21.323112][ T321] ? copy_msghdr_from_user (net/socket.c:2673) [ 21.323445][ T321] ? do_pte_missing (mm/memory.c:6134) [ 21.323978][ T321] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 21.324309][ T321] ? __handle_mm_fault (mm/memory.c:6318) [ 21.324620][ T321] ? __pmd_alloc (mm/memory.c:6229) [ 21.324924][ T321] ? lock_vma_under_rcu (mm/mmap_lock.c:226) [ 21.325480][ T321] ? lock_vma_under_rcu (mm/mmap_lock.c:259) [ 21.325794][ T321] __sys_sendmsg (net/socket.c:2716) [ 21.326117][ T321] ? __sys_sendmsg_sock (net/socket.c:2701) [ 21.326430][ T321] ? 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.326968][ T321] ? 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.327288][ T321] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 21.327608][ T321] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 21.327921][ T321] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 21.328541][ T321] RIP: 0033:0x7fce3c1a81d7 [ 21.328863][ T321] Code: Unable to access opcode bytes at 0x7fce3c1a81ad. Code starting with the faulting instruction =========================================== [ 21.329276][ T321] RSP: 002b:00007ffc533e1c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 21.329954][ T321] RAX: ffffffffffffffda RBX: 00007ffc533e2390 RCX: 00007fce3c1a81d7 [ 21.330428][ T321] RDX: 0000000000000000 RSI: 00007ffc533e1cd0 RDI: 0000000000000005 [ 21.330890][ T321] RBP: 000000000000000f R08: 00000000000000a0 R09: 0000000000000000 [ 21.331603][ T321] R10: 00007fce3c09f770 R11: 0000000000000246 R12: 00007ffc533e23b0 Finger prints: lockdep_init_map_type:gro_cells_init:vxlan_init:register_netdevice:__vxlan_dev_create