====================================== | [ 20.278752][ T313] ------------[ cut here ]------------ | [ 20.279130][ T313] DEBUG_LOCKS_WARN_ON(1) | [ 20.279194][ T313] WARNING: CPU: 2 PID: 313 at kernel/locking/lockdep.c:4976 lockdep_init_map_type (kernel/locking/lockdep.c:4976 (discriminator 7)) | [ 20.280139][ T313] Modules linked in: ip_gre(+) gre vrf veth [ 20.281176][ T313] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.281621][ T313] RIP: 0010:lockdep_init_map_type (kernel/locking/lockdep.c:4976 (discriminator 7)) [ 20.282088][ T313] Code: ff 4c 89 e6 48 c7 c7 28 3d 3d 98 e8 ee c9 01 00 e9 3d ff ff ff 90 48 c7 c6 ee ff 36 98 48 c7 c7 3b fc 36 98 e8 c5 89 e9 ff 90 <0f> 0b 90 90 e9 47 ff ff ff 90 48 c7 c6 2a 01 37 98 48 c7 c7 3b fc All code ======== 0: ff 4c 89 e6 decl -0x1a(%rcx,%rcx,4) 4: 48 c7 c7 28 3d 3d 98 mov $0xffffffff983d3d28,%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 98 mov $0xffffffff9836ffee,%rsi 1d: 48 c7 c7 3b fc 36 98 mov $0xffffffff9836fc3b,%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 98 mov $0xffffffff9837012a,%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 98 mov $0xffffffff9837012a,%rsi 11: 48 rex.W 12: c7 .byte 0xc7 13: c7 (bad) 14: 3b fc cmp %esp,%edi [ 20.283229][ T313] RSP: 0018:ffffc900006c7490 EFLAGS: 00010282 [ 20.283685][ T313] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 20.284204][ T313] RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001 [ 20.284680][ T313] RBP: ffffe8ffffc04088 R08: 0000000000000000 R09: fffffbfff30fe10c [ 20.285160][ T313] R10: 0000000000000003 R11: 0000000000000004 R12: ffff888009f0cdd0 [ 20.285631][ T313] R13: 0000000000000000 R14: ffffe8ffffc03e70 R15: ffffe8ffffc03e18 [ 20.286154][ T313] FS: 00007f5fab5c5740(0000) GS:ffff88809c6f2000(0000) knlGS:0000000000000000 [ 20.286729][ T313] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 20.287167][ T313] CR2: 00007f5fab6c75f0 CR3: 000000000a6d3002 CR4: 0000000000772ef0 [ 20.287553][ T313] PKRU: 55555554 [ 20.287772][ T313] Call Trace: [ 20.287998][ T313] [ 20.288128][ T313] 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) [ 20.288440][ T313] ip_tunnel_init (net/ipv4/ip_tunnel.c:1298) [ 20.288713][ T313] register_netdevice (net/core/dev.c:11309) [ 20.289006][ T313] ? unregister_netdevice_queue (net/core/dev.c:11272) [ 20.289399][ T313] ? alloc_netdev_mqs (net/core/dev.c:12076) [ 20.289678][ T313] __ip_tunnel_create (net/ipv4/ip_tunnel.c:268) [ 20.289932][ T313] ? ip_tunnel_add (net/ipv4/ip_tunnel.c:236) [ 20.290181][ T313] ip_tunnel_init_net (net/ipv4/ip_tunnel.c:1147) [ 20.290403][ T313] ? ip_tunnel_ctl (net/ipv4/ip_tunnel.c:1124) [ 20.290639][ T313] ops_init (net/core/net_namespace.c:137) [ 20.290870][ T313] register_pernet_operations (net/core/net_namespace.c:1315 net/core/net_namespace.c:1392) [ 20.291113][ T313] ? ops_undo_list (net/core/net_namespace.c:1374) [ 20.291343][ T313] ? rwsem_down_write_slowpath (kernel/locking/rwsem.c:1588) [ 20.291622][ T313] ? _sub_I_65535_1 (net/ipv4/ip_gre.c:1769) ip_gre [ 20.291845][ T313] register_pernet_device (net/core/net_namespace.c:1479) [ 20.292069][ T313] ipgre_init (net/ipv4/ip_gre.c:1384) ip_gre [ 20.292340][ T313] do_one_initcall (init/main.c:1284) [ 20.292566][ T313] ? trace_initcall_start (init/main.c:1274) [ 20.292781][ T313] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 20.293023][ T313] ? trace_kmalloc (./include/trace/events/kmem.h:57 (discriminator 21)) [ 20.293289][ T313] ? __kmalloc_cache_noprof (mm/slub.c:5765) [ 20.293621][ T313] ? debug_objects_oom (lib/debugobjects.c:1070) [ 20.293854][ T313] ? kasan_unpoison (mm/kasan/shadow.c:156 mm/kasan/shadow.c:182) [ 20.294089][ T313] ? __asan_register_globals (mm/kasan/generic.c:242 (discriminator 3)) [ 20.294320][ T313] do_init_module (kernel/module/main.c:3039) [ 20.294547][ T313] ? free_module (kernel/module/main.c:3011) [ 20.294760][ T313] ? kfree (mm/slub.c:6630 mm/slub.c:6837) [ 20.294937][ T313] ? load_module (kernel/module/main.c:2468 kernel/module/main.c:3504) [ 20.295159][ T313] load_module (kernel/module/main.c:3509) [ 20.295389][ T313] ? layout_and_allocate.constprop.0 (kernel/module/main.c:3353) [ 20.295702][ T313] ? kernel_read_file (fs/kernel_read_file.c:80 (discriminator 2)) [ 20.295945][ T313] ? 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) [ 20.296165][ T313] ? __ia32_sys_fsconfig (fs/kernel_read_file.c:38) [ 20.296405][ T313] ? init_module_from_file (kernel/module/main.c:3701) [ 20.296622][ T313] init_module_from_file (kernel/module/main.c:3701) [ 20.296837][ T313] ? __do_sys_init_module (kernel/module/main.c:3677) [ 20.297102][ T313] ? idempotent_init_module (kernel/module/main.c:3713) [ 20.297438][ T313] ? __lock_release (kernel/locking/lockdep.c:5536) [ 20.297668][ T313] ? 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) [ 20.297883][ T313] idempotent_init_module (kernel/module/main.c:3713) [ 20.298109][ T313] ? init_module_from_file (kernel/module/main.c:3705) [ 20.298340][ T313] ? cap_capable (security/commoncap.c:132) [ 20.298564][ T313] __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) [ 20.298854][ T313] ? 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) [ 20.299093][ T313] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 20.299330][ T313] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 20.299639][ T313] RIP: 0033:0x7f5fab6ec92d [ 20.299892][ T313] 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 [ 20.300697][ T313] RSP: 002b:00007ffc3b3d1578 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 20.301063][ T313] RAX: ffffffffffffffda RBX: 00005649e7052d70 RCX: 00007f5fab6ec92d [ 20.301423][ T313] RDX: 0000000000000000 RSI: 00005649b57b3a2a RDI: 0000000000000001 [ 20.301817][ T313] RBP: 0000000000040000 R08: 0000000000000000 R09: 00005649e70531a0 [ 20.302168][ T313] R10: 0000000000000001 R11: 0000000000000246 R12: 00005649b57b3a2a Finger prints: lockdep_init_map_type:gro_cells_init:ip_tunnel_init:register_netdevice:__ip_tunnel_create