====================================== | [ 55.275219][ T694] #0: ffffffffacfb8650 (pernet_ops_rwsem){++++}-{3:3}, at: rtnl_link_unregister (net/core/rtnetlink.c:671 net/core/rtnetlink.c:694) | [ 55.275480][ T694] #1: ffffffffacfd3948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_link_unregister (./include/linux/instrumented.h:68 ./include/linux/atomic/atomic-instrumented.h:32 net/core/rtnetlink.c:677 net/core/rtnetlink.c:694) | [ 55.275719][ T694] | [ 55.275719][ T694] stack backtrace: [ 55.276060][ T694] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 55.276347][ T694] Call Trace: [ 55.276450][ T694] [ 55.276520][ T694] dump_stack_lvl (lib/dump_stack.c:123) [ 55.276651][ T694] print_circular_bug (kernel/locking/lockdep.c:2077) [ 55.276780][ T694] check_noncircular (kernel/locking/lockdep.c:2206) [ 55.276910][ T694] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2182) [ 55.277040][ T694] ? __kernel_text_address (kernel/extable.c:79) [ 55.277171][ T694] ? unwind_get_return_address (arch/x86/kernel/unwind_orc.c:369 arch/x86/kernel/unwind_orc.c:364) [ 55.277304][ T694] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 55.277463][ T694] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 55.277591][ T694] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3528) [ 55.277720][ T694] check_prev_add (kernel/locking/lockdep.c:3162) [ 55.277845][ T694] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 55.277982][ T694] validate_chain (kernel/locking/lockdep.c:3281 kernel/locking/lockdep.c:3904) [ 55.278117][ T694] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 55.278247][ T694] ? mark_lock (kernel/locking/lockdep.c:186 kernel/locking/lockdep.c:4731) [ 55.278374][ T694] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 55.278504][ T694] __lock_acquire (kernel/locking/lockdep.c:5202) [ 55.278633][ T694] lock_sync (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5876) [ 55.278727][ T694] ? __synchronize_srcu (kernel/rcu/srcutree.c:1383) [ 55.278855][ T694] __synchronize_srcu (kernel/rcu/srcutree.c:1388) [ 55.278981][ T694] ? __pfx___synchronize_srcu (kernel/rcu/srcutree.c:1383) [ 55.279105][ T694] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228) [ 55.279238][ T694] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 55.279336][ T694] ? kvm_clock_get_cycles (./arch/x86/include/asm/preempt.h:94 arch/x86/kernel/kvmclock.c:80 arch/x86/kernel/kvmclock.c:86) [ 55.279463][ T694] ? ktime_get_mono_fast_ns (kernel/time/timekeeping.c:195 kernel/time/timekeeping.c:395 kernel/time/timekeeping.c:449 kernel/time/timekeeping.c:489) [ 55.279597][ T694] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 55.279759][ T694] __rtnl_link_unregister (net/core/rtnetlink.c:657) [ 55.279886][ T694] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 55.279990][ T694] ? __pfx___rtnl_link_unregister (net/core/rtnetlink.c:652) [ 55.280152][ T694] ? mark_held_locks (kernel/locking/lockdep.c:4321) [ 55.280281][ T694] rtnl_link_unregister (net/core/rtnetlink.c:152 net/core/rtnetlink.c:696) [ 55.280419][ T694] ? __pfx_rtnl_link_unregister (net/core/rtnetlink.c:691) [ 55.280559][ T694] ? __pfx_woken_wake_function (kernel/sched/wait.c:439) [ 55.280688][ T694] nsim_module_exit (drivers/net/netdevsim/netdev.c:99) netdevsim [ 55.280826][ T694] __do_sys_delete_module (kernel/module/main.c:757) [ 55.280957][ T694] ? __pfx___do_sys_delete_module (kernel/module/main.c:702) [ 55.281111][ T694] ? __pfx_slab_free_after_rcu_debug (mm/slub.c:4609) [ 55.281268][ T694] ? __pfx_slab_free_after_rcu_debug (mm/slub.c:4609) [ 55.281424][ T694] ? trace_rcu_segcb_stats (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 ./include/linux/cpumask.h:570 ./include/linux/cpumask.h:1117 ./include/trace/events/rcu.h:537) [ 55.281554][ T694] ? __pfx_slab_free_after_rcu_debug (mm/slub.c:4609) [ 55.281711][ T694] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 55.281870][ T694] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 55.282001][ T694] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 55.282162][ T694] RIP: 0033:0x7f5e511df5ab [ 55.282296][ T694] Code: 73 01 c3 48 8b 0d 55 98 1b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 b0 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 25 98 1b 00 f7 d8 64 89 01 48 All code ======== 0: 73 01 jae 0x3 2: c3 ret 3: 48 8b 0d 55 98 1b 00 mov 0x1b9855(%rip),%rcx # 0x1b985f a: f7 d8 neg %eax c: 64 89 01 mov %eax,%fs:(%rcx) f: 48 83 c8 ff or $0xffffffffffffffff,%rax 13: c3 ret 14: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 1b: 00 00 00 1e: 90 nop 1f: f3 0f 1e fa endbr64 23: b8 b0 00 00 00 mov $0xb0,%eax 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 25 98 1b 00 mov 0x1b9825(%rip),%rcx # 0x1b985f 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 25 98 1b 00 mov 0x1b9825(%rip),%rcx # 0x1b9835 10: f7 d8 neg %eax 12: 64 89 01 mov %eax,%fs:(%rcx) 15: 48 rex.W [ 55.282746][ T694] RSP: 002b:00007ffe185015e8 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0 [ 55.282936][ T694] RAX: ffffffffffffffda RBX: 000055e1124c4980 RCX: 00007f5e511df5ab [ 55.283126][ T694] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 000055e1124c49e8 [ 55.283315][ T694] RBP: 000055e1124c4980 R08: 0000000000000000 R09: 0000000000000000 [ 55.283520][ T694] R10: 00007f5e5133eac0 R11: 0000000000000206 R12: 000055e1124c49e8 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire