====================================== | [ 47.505590][ T514] ------------[ cut here ]------------ | [ 47.505797][ T514] DEBUG_LOCKS_WARN_ON(1) | [ 47.505814][ T514] WARNING: CPU: 2 PID: 514 at kernel/locking/lockdep.c:4976 lockdep_init_map_type (kernel/locking/lockdep.c:4976 (discriminator 7)) | [ 47.506408][ T514] Modules linked in: ip_gre(+) gre sch_ingress 8021q vrf veth [ 47.507117][ T514] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 47.507383][ T514] RIP: 0010:lockdep_init_map_type (kernel/locking/lockdep.c:4976 (discriminator 7)) [ 47.507641][ T514] Code: ff 4c 89 e6 48 c7 c7 28 3d 9d 95 e8 ee c9 01 00 e9 3d ff ff ff 90 48 c7 c6 ee ff 96 95 48 c7 c7 3b fc 96 95 e8 c5 89 e9 ff 90 <0f> 0b 90 90 e9 47 ff ff ff 90 48 c7 c6 2a 01 97 95 48 c7 c7 3b fc All code ======== 0: ff 4c 89 e6 decl -0x1a(%rcx,%rcx,4) 4: 48 c7 c7 28 3d 9d 95 mov $0xffffffff959d3d28,%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 96 95 mov $0xffffffff9596ffee,%rsi 1d: 48 c7 c7 3b fc 96 95 mov $0xffffffff9596fc3b,%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 97 95 mov $0xffffffff9597012a,%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 97 95 mov $0xffffffff9597012a,%rsi 11: 48 rex.W 12: c7 .byte 0xc7 13: c7 (bad) 14: 3b fc cmp %esp,%edi [ 47.508307][ T514] RSP: 0018:ffffc90000867490 EFLAGS: 00010282 [ 47.508573][ T514] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 47.508867][ T514] RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001 [ 47.509164][ T514] RBP: ffffe8ffffc046f0 R08: 0000000000000000 R09: fffffbfff2bbe10c [ 47.509476][ T514] R10: 0000000000000003 R11: 0000000000000004 R12: ffff888008179dd0 [ 47.509774][ T514] R13: 0000000000000000 R14: ffffe8ffffc044d8 R15: ffffe8ffffc04480 [ 47.510086][ T514] FS: 00007fdc50e28740(0000) GS:ffff88809f0f2000(0000) knlGS:0000000000000000 [ 47.510420][ T514] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 47.510666][ T514] CR2: 00007ffd18333e78 CR3: 000000000bd5f005 CR4: 0000000000772ef0 [ 47.510980][ T514] PKRU: 55555554 [ 47.511139][ T514] Call Trace: [ 47.511296][ T514] [ 47.511411][ T514] 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) [ 47.511617][ T514] ip_tunnel_init (net/ipv4/ip_tunnel.c:1298) [ 47.511830][ T514] register_netdevice (net/core/dev.c:11309) [ 47.512049][ T514] ? unregister_netdevice_queue (net/core/dev.c:11272) [ 47.512299][ T514] ? alloc_netdev_mqs (net/core/dev.c:12076) [ 47.512505][ T514] __ip_tunnel_create (net/ipv4/ip_tunnel.c:268) [ 47.512712][ T514] ? ip_tunnel_add (net/ipv4/ip_tunnel.c:236) [ 47.512927][ T514] ip_tunnel_init_net (net/ipv4/ip_tunnel.c:1147) [ 47.513128][ T514] ? paint_ptr (./arch/x86/include/asm/atomic.h:67 ./include/linux/atomic/atomic-arch-fallback.h:2278 ./include/linux/atomic/atomic-instrumented.h:1384 mm/kmemleak.c:554 mm/kmemleak.c:937) [ 47.513287][ T514] ? ip_tunnel_ctl (net/ipv4/ip_tunnel.c:1124) [ 47.513485][ T514] ? mark_held_locks (kernel/locking/lockdep.c:4325) [ 47.513687][ T514] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 47.513951][ T514] ops_init (net/core/net_namespace.c:137) [ 47.514113][ T514] register_pernet_operations (net/core/net_namespace.c:1315 net/core/net_namespace.c:1392) [ 47.514320][ T514] ? ops_undo_list (net/core/net_namespace.c:1374) [ 47.514516][ T514] ? rwsem_down_write_slowpath (kernel/locking/rwsem.c:1588) [ 47.514758][ T514] ? _sub_I_65535_1 (net/ipv4/ip_gre.c:1769) ip_gre [ 47.514984][ T514] register_pernet_device (net/core/net_namespace.c:1479) [ 47.515195][ T514] ipgre_init (net/ipv4/ip_gre.c:1384) ip_gre [ 47.515404][ T514] do_one_initcall (init/main.c:1284) [ 47.515629][ T514] ? trace_initcall_start (init/main.c:1274) [ 47.515838][ T514] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 47.516068][ T514] ? trace_kmalloc (./include/trace/events/kmem.h:57 (discriminator 21)) [ 47.516274][ T514] ? __kmalloc_cache_noprof (mm/slub.c:5765) [ 47.516472][ T514] ? debug_objects_oom (lib/debugobjects.c:1070) [ 47.516675][ T514] ? kasan_unpoison (mm/kasan/shadow.c:156 mm/kasan/shadow.c:182) [ 47.516887][ T514] ? __asan_register_globals (mm/kasan/generic.c:242 (discriminator 3)) [ 47.517105][ T514] do_init_module (kernel/module/main.c:3039) [ 47.517308][ T514] ? free_module (kernel/module/main.c:3011) [ 47.517507][ T514] ? kfree (mm/slub.c:6630 mm/slub.c:6837) [ 47.517660][ T514] ? load_module (kernel/module/main.c:2468 kernel/module/main.c:3504) [ 47.517874][ T514] load_module (kernel/module/main.c:3509) [ 47.518085][ T514] ? layout_and_allocate.constprop.0 (kernel/module/main.c:3353) [ 47.518326][ T514] ? kernel_read_file (fs/kernel_read_file.c:80 (discriminator 2)) [ 47.518534][ T514] ? 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) [ 47.518749][ T514] ? __ia32_sys_fsconfig (fs/kernel_read_file.c:38) [ 47.518971][ T514] ? init_module_from_file (kernel/module/main.c:3701) [ 47.519170][ T514] init_module_from_file (kernel/module/main.c:3701) [ 47.519368][ T514] ? __do_sys_init_module (kernel/module/main.c:3677) [ 47.519568][ T514] ? idempotent_init_module (kernel/module/main.c:3713) [ 47.519767][ T514] ? __lock_release (kernel/locking/lockdep.c:5536) [ 47.520000][ T514] ? 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) [ 47.520211][ T514] idempotent_init_module (kernel/module/main.c:3713) [ 47.520410][ T514] ? init_module_from_file (kernel/module/main.c:3705) [ 47.520612][ T514] ? cap_capable (security/commoncap.c:132) [ 47.520824][ T514] __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) [ 47.521035][ T514] ? 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) [ 47.521245][ T514] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 47.521444][ T514] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 47.521687][ T514] RIP: 0033:0x7fdc50f4f92d [ 47.521910][ T514] 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 [ 47.522565][ T514] RSP: 002b:00007ffd18337f18 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 47.522876][ T514] RAX: ffffffffffffffda RBX: 000055e0b93f5d70 RCX: 00007fdc50f4f92d [ 47.523178][ T514] RDX: 0000000000000000 RSI: 000055e08f8d6a2a RDI: 0000000000000001 [ 47.523462][ T514] RBP: 0000000000040000 R08: 0000000000000000 R09: 000055e0b93f61a0 [ 47.523751][ T514] R10: 0000000000000001 R11: 0000000000000246 R12: 000055e08f8d6a2a Finger prints: lockdep_init_map_type:gro_cells_init:ip_tunnel_init:register_netdevice:__ip_tunnel_create