====================================== | [ 21.835738][ T326] ------------[ cut here ]------------ | [ 21.835961][ T326] DEBUG_LOCKS_WARN_ON(1) | [ 21.836000][ T326] WARNING: CPU: 2 PID: 326 at kernel/locking/lockdep.c:4976 lockdep_init_map_type (kernel/locking/lockdep.c:4976 (discriminator 7)) | [ 21.836604][ T326] Modules linked in: ip_gre(+) gre vrf veth [ 21.837273][ T326] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.837548][ T326] RIP: 0010:lockdep_init_map_type (kernel/locking/lockdep.c:4976 (discriminator 7)) [ 21.837820][ T326] Code: ff 4c 89 e6 48 c7 c7 28 3d 3d a0 e8 ee c9 01 00 e9 3d ff ff ff 90 48 c7 c6 ee ff 36 a0 48 c7 c7 3b fc 36 a0 e8 c5 89 e9 ff 90 <0f> 0b 90 90 e9 47 ff ff ff 90 48 c7 c6 2a 01 37 a0 48 c7 c7 3b fc All code ======== 0: ff 4c 89 e6 decl -0x1a(%rcx,%rcx,4) 4: 48 c7 c7 28 3d 3d a0 mov $0xffffffffa03d3d28,%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 36 a0 mov $0xffffffffa036ffee,%rsi 1d: 48 c7 c7 3b fc 36 a0 mov $0xffffffffa036fc3b,%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 37 a0 mov $0xffffffffa037012a,%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 37 a0 mov $0xffffffffa037012a,%rsi 11: 48 rex.W 12: c7 .byte 0xc7 13: c7 (bad) 14: 3b fc cmp %esp,%edi [ 21.838554][ T326] RSP: 0018:ffffc90000647490 EFLAGS: 00010282 [ 21.839112][ T326] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 21.839430][ T326] RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001 [ 21.839740][ T326] RBP: ffffe8ffffc04798 R08: 0000000000000000 R09: fffffbfff40fe10c [ 21.840058][ T326] R10: 0000000000000003 R11: 0000000000000004 R12: ffff888014954dd0 [ 21.840371][ T326] R13: 0000000000000000 R14: ffffe8ffffc04580 R15: ffffe8ffffc04528 [ 21.840679][ T326] FS: 00007fe8d4ffb740(0000) GS:ffff8880946f2000(0000) knlGS:0000000000000000 [ 21.841043][ T326] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 21.841307][ T326] CR2: 00007fe8d508fd10 CR3: 0000000010136001 CR4: 0000000000772ef0 [ 21.841625][ T326] PKRU: 55555554 [ 21.841802][ T326] Call Trace: [ 21.841977][ T326] [ 21.842098][ T326] 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.842331][ T326] ip_tunnel_init (net/ipv4/ip_tunnel.c:1298) [ 21.842554][ T326] register_netdevice (net/core/dev.c:11309) [ 21.842771][ T326] ? unregister_netdevice_queue (net/core/dev.c:11272) [ 21.843036][ T326] ? alloc_netdev_mqs (net/core/dev.c:12076) [ 21.843250][ T326] __ip_tunnel_create (net/ipv4/ip_tunnel.c:268) [ 21.843472][ T326] ? ip_tunnel_add (net/ipv4/ip_tunnel.c:236) [ 21.843689][ T326] ip_tunnel_init_net (net/ipv4/ip_tunnel.c:1147) [ 21.843914][ T326] ? ip_tunnel_ctl (net/ipv4/ip_tunnel.c:1124) [ 21.844132][ T326] ops_init (net/core/net_namespace.c:137) [ 21.844315][ T326] register_pernet_operations (net/core/net_namespace.c:1315 net/core/net_namespace.c:1392) [ 21.844539][ T326] ? ops_undo_list (net/core/net_namespace.c:1374) [ 21.844752][ T326] ? rwsem_down_write_slowpath (kernel/locking/rwsem.c:1588) [ 21.845037][ T326] ? _sub_I_65535_1 (net/ipv4/ip_gre.c:1769) ip_gre [ 21.845258][ T326] register_pernet_device (net/core/net_namespace.c:1479) [ 21.845474][ T326] ipgre_init (net/ipv4/ip_gre.c:1384) ip_gre [ 21.845689][ T326] do_one_initcall (init/main.c:1284) [ 21.845924][ T326] ? trace_initcall_start (init/main.c:1274) [ 21.846136][ T326] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 21.846364][ T326] ? trace_kmalloc (./include/trace/events/kmem.h:57 (discriminator 21)) [ 21.846585][ T326] ? __kmalloc_cache_noprof (mm/slub.c:5765) [ 21.846805][ T326] ? debug_objects_oom (lib/debugobjects.c:1070) [ 21.847040][ T326] ? kasan_unpoison (mm/kasan/shadow.c:156 mm/kasan/shadow.c:182) [ 21.847268][ T326] ? __asan_register_globals (mm/kasan/generic.c:242 (discriminator 3)) [ 21.847481][ T326] do_init_module (kernel/module/main.c:3039) [ 21.847702][ T326] ? free_module (kernel/module/main.c:3011) [ 21.847922][ T326] ? kfree (mm/slub.c:6630 mm/slub.c:6837) [ 21.848090][ T326] ? load_module (kernel/module/main.c:2468 kernel/module/main.c:3504) [ 21.848313][ T326] load_module (kernel/module/main.c:3509) [ 21.848530][ T326] ? layout_and_allocate.constprop.0 (kernel/module/main.c:3353) [ 21.848788][ T326] ? kernel_read_file (fs/kernel_read_file.c:80 (discriminator 2)) [ 21.849018][ T326] ? kernel_read_file (./arch/x86/include/asm/atomic.h:53 ./include/linux/atomic/atomic-arch-fallback.h:992 ./include/linux/atomic/atomic-instrumented.h:436 ./include/linux/fs.h:3207 fs/kernel_read_file.c:122) [ 21.849230][ T326] ? __ia32_sys_fsconfig (fs/kernel_read_file.c:38) [ 21.849446][ T326] ? init_module_from_file (kernel/module/main.c:3701) [ 21.849659][ T326] init_module_from_file (kernel/module/main.c:3701) [ 21.849884][ T326] ? __do_sys_init_module (kernel/module/main.c:3677) [ 21.850104][ T326] ? idempotent_init_module (kernel/module/main.c:3713) [ 21.850321][ T326] ? __lock_release (kernel/locking/lockdep.c:5536) [ 21.850538][ T326] ? do_raw_spin_unlock (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/asm-generic/qspinlock.h:57 kernel/locking/spinlock_debug.c:101 kernel/locking/spinlock_debug.c:141) [ 21.850753][ T326] idempotent_init_module (kernel/module/main.c:3713) [ 21.850972][ T326] ? init_module_from_file (kernel/module/main.c:3705) [ 21.851190][ T326] ? cap_capable (security/commoncap.c:132) [ 21.851418][ T326] __x64_sys_finit_module (./include/linux/file.h:62 ./include/linux/file.h:83 kernel/module/main.c:3736 kernel/module/main.c:3723 kernel/module/main.c:3723) [ 21.851632][ T326] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:124 arch/x86/entry/syscall_64.c:90) [ 21.851863][ T326] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 21.852077][ T326] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 21.852341][ T326] RIP: 0033:0x7fe8d512292d [ 21.852562][ T326] Code: 5b 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 9b 14 0f 00 f7 d8 64 89 01 48 All code ======== 0: 5b pop %rbx 1: 41 5c pop %r12 3: c3 ret 4: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) b: 00 00 d: f3 0f 1e fa endbr64 11: 48 89 f8 mov %rdi,%rax 14: 48 89 f7 mov %rsi,%rdi 17: 48 89 d6 mov %rdx,%rsi 1a: 48 89 ca mov %rcx,%rdx 1d: 4d 89 c2 mov %r8,%r10 20: 4d 89 c8 mov %r9,%r8 23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 28: 0f 05 syscall 2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 ret 33: 48 8b 0d 9b 14 0f 00 mov 0xf149b(%rip),%rcx # 0xf14d5 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W Code starting with the faulting instruction =========================================== 0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax 6: 73 01 jae 0x9 8: c3 ret 9: 48 8b 0d 9b 14 0f 00 mov 0xf149b(%rip),%rcx # 0xf14ab 10: f7 d8 neg %eax 12: 64 89 01 mov %eax,%fs:(%rcx) 15: 48 rex.W [ 21.853276][ T326] RSP: 002b:00007ffdf51d8828 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 21.853587][ T326] RAX: ffffffffffffffda RBX: 00005576e1cf5d30 RCX: 00007fe8d512292d [ 21.853907][ T326] RDX: 0000000000000000 RSI: 00005576dc3e8a2a RDI: 0000000000000001 [ 21.854219][ T326] RBP: 0000000000040000 R08: 0000000000000000 R09: 00005576e1cf61a0 [ 21.854553][ T326] R10: 0000000000000001 R11: 0000000000000246 R12: 00005576dc3e8a2a Finger prints: lockdep_init_map_type:gro_cells_init:ip_tunnel_init:register_netdevice:__ip_tunnel_create