====================================== | [ 83.071024][ T764] ------------[ cut here ]------------ | [ 83.071232][ T764] DEBUG_LOCKS_WARN_ON(1) | [ 83.071252][ T764] WARNING: CPU: 0 PID: 764 at kernel/locking/lockdep.c:4976 lockdep_init_map_type (kernel/locking/lockdep.c:4976 (discriminator 7)) | [ 83.071818][ T764] Modules linked in: ip6_tunnel(+) tunnel6 gre cls_flower act_mirred act_vlan act_mpls cls_matchall sch_ingress bridge stp llc 8021q vrf veth [ 83.072771][ T764] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 83.073011][ T764] RIP: 0010:lockdep_init_map_type (kernel/locking/lockdep.c:4976 (discriminator 7)) [ 83.073259][ T764] Code: ff 4c 89 e6 48 c7 c7 28 3d bd 93 e8 ee c9 01 00 e9 3d ff ff ff 90 48 c7 c6 ee ff b6 93 48 c7 c7 3b fc b6 93 e8 c5 89 e9 ff 90 <0f> 0b 90 90 e9 47 ff ff ff 90 48 c7 c6 2a 01 b7 93 48 c7 c7 3b fc All code ======== 0: ff 4c 89 e6 decl -0x1a(%rcx,%rcx,4) 4: 48 c7 c7 28 3d bd 93 mov $0xffffffff93bd3d28,%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 b6 93 mov $0xffffffff93b6ffee,%rsi 1d: 48 c7 c7 3b fc b6 93 mov $0xffffffff93b6fc3b,%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 b7 93 mov $0xffffffff93b7012a,%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 b7 93 mov $0xffffffff93b7012a,%rsi 11: 48 rex.W 12: c7 .byte 0xc7 13: c7 (bad) 14: 3b fc cmp %esp,%edi [ 83.073954][ T764] RSP: 0018:ffffc900011775b8 EFLAGS: 00010282 [ 83.074203][ T764] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 83.074496][ T764] RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001 [ 83.074794][ T764] RBP: ffffe8ffffc05018 R08: 0000000000000000 R09: fffffbfff27fe10c [ 83.075086][ T764] R10: 0000000000000003 R11: 0000000000000004 R12: ffff888010154df8 [ 83.075398][ T764] R13: 0000000000000000 R14: ffffe8ffffc04e00 R15: ffffe8ffffc04da8 [ 83.075690][ T764] FS: 00007f2d4faf3740(0000) GS:ffff8880a0df2000(0000) knlGS:0000000000000000 [ 83.076030][ T764] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 83.076294][ T764] CR2: 00000000004e7428 CR3: 000000000bdb8001 CR4: 0000000000772ef0 [ 83.076587][ T764] PKRU: 55555554 [ 83.076733][ T764] Call Trace: [ 83.076918][ T764] [ 83.077027][ T764] 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) [ 83.077241][ T764] ip6_tnl_dev_init_gen (net/ipv6/ip6_tunnel.c:1896) ip6_tunnel [ 83.077518][ T764] ip6_tnl_dev_init (net/ipv6/ip6_tunnel.c:1929) ip6_tunnel [ 83.077781][ T764] register_netdevice (net/core/dev.c:11309) [ 83.077988][ T764] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 83.078199][ T764] ? unregister_netdevice_queue (net/core/dev.c:11272) [ 83.078463][ T764] ? net_generic (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 ./include/net/netns/generic.h:48) ip6_tunnel [ 83.078671][ T764] ? __lock_release (kernel/locking/lockdep.c:5536) [ 83.078881][ T764] register_netdev (net/core/dev.c:11498) [ 83.079080][ T764] ip6_tnl_init_net (net/ipv6/ip6_tunnel.c:2317) ip6_tunnel [ 83.079346][ T764] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 83.079553][ T764] ops_init (net/core/net_namespace.c:137) [ 83.079711][ T764] register_pernet_operations (net/core/net_namespace.c:1315 net/core/net_namespace.c:1392) [ 83.079915][ T764] ? ops_undo_list (net/core/net_namespace.c:1374) [ 83.080122][ T764] ? rwsem_down_write_slowpath (kernel/locking/rwsem.c:1588) [ 83.080391][ T764] ? _sub_I_65535_1 (net/ipv6/ip6_tunnel.c:1795) ip6_tunnel [ 83.080654][ T764] register_pernet_device (net/core/net_namespace.c:1479) [ 83.080855][ T764] ip6_tunnel_init (net/ipv6/ip6_tunnel.c:1750) ip6_tunnel [ 83.081109][ T764] do_one_initcall (init/main.c:1284) [ 83.081327][ T764] ? trace_initcall_start (init/main.c:1274) [ 83.081533][ T764] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 83.081745][ T764] ? trace_kmalloc (./include/trace/events/kmem.h:57 (discriminator 21)) [ 83.081966][ T764] ? __kmalloc_cache_noprof (mm/slub.c:5765) [ 83.082175][ T764] ? debug_objects_oom (lib/debugobjects.c:1070) [ 83.082390][ T764] ? kasan_unpoison (mm/kasan/shadow.c:156 mm/kasan/shadow.c:182) [ 83.082600][ T764] ? __asan_register_globals (mm/kasan/generic.c:242 (discriminator 3)) [ 83.082807][ T764] do_init_module (kernel/module/main.c:3039) [ 83.083044][ T764] ? free_module (kernel/module/main.c:3011) [ 83.083312][ T764] ? kfree (mm/slub.c:6630 mm/slub.c:6837) [ 83.083498][ T764] ? load_module (kernel/module/main.c:2468 kernel/module/main.c:3504) [ 83.083733][ T764] load_module (kernel/module/main.c:3509) [ 83.083942][ T764] ? layout_and_allocate.constprop.0 (kernel/module/main.c:3353) [ 83.084199][ T764] ? kernel_read_file (fs/kernel_read_file.c:80 (discriminator 2)) [ 83.084418][ T764] ? 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) [ 83.084631][ T764] ? __ia32_sys_fsconfig (fs/kernel_read_file.c:38) [ 83.084873][ T764] ? init_module_from_file (kernel/module/main.c:3701) [ 83.085081][ T764] init_module_from_file (kernel/module/main.c:3701) [ 83.085304][ T764] ? __do_sys_init_module (kernel/module/main.c:3677) [ 83.085579][ T764] ? idempotent_init_module (kernel/module/main.c:3713) [ 83.085818][ T764] ? __lock_release (kernel/locking/lockdep.c:5536) [ 83.086029][ T764] ? 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) [ 83.086234][ T764] idempotent_init_module (kernel/module/main.c:3713) [ 83.086452][ T764] ? init_module_from_file (kernel/module/main.c:3705) [ 83.086665][ T764] ? cap_capable (security/commoncap.c:132) [ 83.086879][ T764] __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) [ 83.087089][ T764] ? 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) [ 83.087308][ T764] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 83.087516][ T764] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 83.087775][ T764] RIP: 0033:0x7f2d4fc1a92d [ 83.087994][ T764] 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 [ 83.088740][ T764] RSP: 002b:00007ffdc1a52f98 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 83.089055][ T764] RAX: ffffffffffffffda RBX: 00005583ec3340d0 RCX: 00007f2d4fc1a92d [ 83.089374][ T764] RDX: 0000000000000000 RSI: 00005583d4cdda2a RDI: 0000000000000002 [ 83.089690][ T764] RBP: 0000000000040000 R08: 0000000000000000 R09: 00005583ec334610 [ 83.090000][ T764] R10: 0000000000000002 R11: 0000000000000246 R12: 00005583d4cdda2a Finger prints: lockdep_init_map_type:gro_cells_init:ip6_tnl_dev_init_gen:ip6_tnl_dev_init:register_netdevice