====================================== | [ 56.355228][ T691] #0: ffffffffb3fb8890 (pernet_ops_rwsem){++++}-{3:3}, at: rtnl_link_unregister (net/core/rtnetlink.c:678 net/core/rtnetlink.c:701) | [ 56.355516][ T691] #1: ffffffffb3fd4908 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_link_unregister (./include/linux/instrumented.h:68 ./include/linux/atomic/atomic-instrumented.h:32 net/core/rtnetlink.c:684 net/core/rtnetlink.c:701) | [ 56.355764][ T691] | [ 56.355764][ T691] stack backtrace: [ 56.356161][ T691] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 56.356462][ T691] Call Trace: [ 56.356573][ T691] [ 56.356647][ T691] dump_stack_lvl (lib/dump_stack.c:123) [ 56.356795][ T691] print_circular_bug (kernel/locking/lockdep.c:2077) [ 56.356941][ T691] check_noncircular (kernel/locking/lockdep.c:2206) [ 56.357083][ T691] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2182) [ 56.357232][ T691] ? __kernel_text_address (kernel/extable.c:79) [ 56.357379][ T691] ? unwind_get_return_address (arch/x86/kernel/unwind_orc.c:369 arch/x86/kernel/unwind_orc.c:364) [ 56.357522][ T691] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 56.357701][ T691] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 56.357845][ T691] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3528) [ 56.357992][ T691] check_prev_add (kernel/locking/lockdep.c:3162) [ 56.358134][ T691] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 56.358285][ T691] validate_chain (kernel/locking/lockdep.c:3281 kernel/locking/lockdep.c:3904) [ 56.358431][ T691] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 56.358573][ T691] ? mark_lock (kernel/locking/lockdep.c:186 kernel/locking/lockdep.c:4731) [ 56.358718][ T691] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 56.358860][ T691] __lock_acquire (kernel/locking/lockdep.c:5202) [ 56.359010][ T691] lock_sync (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5876) [ 56.359120][ T691] ? __synchronize_srcu (kernel/rcu/srcutree.c:1383) [ 56.359265][ T691] __synchronize_srcu (kernel/rcu/srcutree.c:1388) [ 56.359406][ T691] ? __pfx___synchronize_srcu (kernel/rcu/srcutree.c:1383) [ 56.359549][ T691] ? 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) [ 56.359693][ T691] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 56.359804][ T691] ? kvm_clock_get_cycles (./arch/x86/include/asm/preempt.h:94 arch/x86/kernel/kvmclock.c:80 arch/x86/kernel/kvmclock.c:86) [ 56.359949][ T691] ? 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) [ 56.360089][ T691] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 56.360268][ T691] __rtnl_link_unregister (net/core/rtnetlink.c:664) [ 56.360411][ T691] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 56.360517][ T691] ? __pfx___rtnl_link_unregister (net/core/rtnetlink.c:659) [ 56.360692][ T691] ? mark_held_locks (kernel/locking/lockdep.c:4321) [ 56.360835][ T691] rtnl_link_unregister (net/core/rtnetlink.c:152 net/core/rtnetlink.c:703) [ 56.360975][ T691] ? __pfx_rtnl_link_unregister (net/core/rtnetlink.c:698) [ 56.361118][ T691] ? __pfx_woken_wake_function (kernel/sched/wait.c:439) [ 56.361267][ T691] nsim_module_exit (drivers/net/netdevsim/netdev.c:99) netdevsim [ 56.361421][ T691] __do_sys_delete_module (kernel/module/main.c:757) [ 56.361565][ T691] ? __pfx___do_sys_delete_module (kernel/module/main.c:702) [ 56.361741][ T691] ? __pfx_slab_free_after_rcu_debug (mm/slub.c:4609) [ 56.361928][ T691] ? __pfx_slab_free_after_rcu_debug (mm/slub.c:4609) [ 56.362107][ T691] ? 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) [ 56.362247][ T691] ? __pfx_slab_free_after_rcu_debug (mm/slub.c:4609) [ 56.362426][ T691] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 56.362600][ T691] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 56.362744][ T691] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 56.362918][ T691] RIP: 0033:0x7f8a32bcd5ab [ 56.363065][ T691] 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 [ 56.363577][ T691] RSP: 002b:00007ffe514e1a78 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0 [ 56.363789][ T691] RAX: ffffffffffffffda RBX: 00005627d221e980 RCX: 00007f8a32bcd5ab [ 56.364000][ T691] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 00005627d221e9e8 [ 56.364212][ T691] RBP: 00005627d221e980 R08: 0000000000000000 R09: 0000000000000000 [ 56.364418][ T691] R10: 00007f8a32d2cac0 R11: 0000000000000206 R12: 00005627d221e9e8 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire