====================================== | [ 185.025520][ T2719] #0: ffffffffad5b8890 (pernet_ops_rwsem){++++}-{3:3}, at: rtnl_link_unregister (net/core/rtnetlink.c:678 net/core/rtnetlink.c:701) | [ 185.025808][ T2719] #1: ffffffffad5d4908 (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) | [ 185.026031][ T2719] | [ 185.026031][ T2719] stack backtrace: [ 185.026384][ T2719] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 185.026672][ T2719] Call Trace: [ 185.026788][ T2719] [ 185.026855][ T2719] dump_stack_lvl (lib/dump_stack.c:123) [ 185.026987][ T2719] print_circular_bug (kernel/locking/lockdep.c:2077) [ 185.027122][ T2719] check_noncircular (kernel/locking/lockdep.c:2206) [ 185.027250][ T2719] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2182) [ 185.027376][ T2719] ? __kernel_text_address (kernel/extable.c:79) [ 185.027508][ T2719] ? unwind_get_return_address (arch/x86/kernel/unwind_orc.c:369 arch/x86/kernel/unwind_orc.c:364) [ 185.027635][ T2719] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 185.027800][ T2719] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 185.027930][ T2719] check_prev_add (kernel/locking/lockdep.c:3162) [ 185.028057][ T2719] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 185.028183][ T2719] validate_chain (kernel/locking/lockdep.c:3281 kernel/locking/lockdep.c:3904) [ 185.028312][ T2719] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 185.028436][ T2719] ? mark_lock (kernel/locking/lockdep.c:186 kernel/locking/lockdep.c:4731) [ 185.028561][ T2719] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 185.028686][ T2719] __lock_acquire (kernel/locking/lockdep.c:5202) [ 185.028833][ T2719] lock_sync (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5876) [ 185.028929][ T2719] ? __synchronize_srcu (kernel/rcu/srcutree.c:1383) [ 185.029054][ T2719] __synchronize_srcu (kernel/rcu/srcutree.c:1388) [ 185.029180][ T2719] ? __pfx___synchronize_srcu (kernel/rcu/srcutree.c:1383) [ 185.029304][ T2719] ? 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) [ 185.029431][ T2719] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 185.029527][ T2719] ? kvm_clock_get_cycles (./arch/x86/include/asm/preempt.h:94 arch/x86/kernel/kvmclock.c:80 arch/x86/kernel/kvmclock.c:86) [ 185.029654][ T2719] ? 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) [ 185.029785][ T2719] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 185.029944][ T2719] __rtnl_link_unregister (net/core/rtnetlink.c:664) [ 185.030069][ T2719] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 185.030164][ T2719] ? __pfx___rtnl_link_unregister (net/core/rtnetlink.c:659) [ 185.030323][ T2719] ? mark_held_locks (kernel/locking/lockdep.c:4321) [ 185.030453][ T2719] rtnl_link_unregister (net/core/rtnetlink.c:152 net/core/rtnetlink.c:703) [ 185.030578][ T2719] ? __pfx_rtnl_link_unregister (net/core/rtnetlink.c:698) [ 185.030703][ T2719] ? __pfx_woken_wake_function (kernel/sched/wait.c:439) [ 185.030837][ T2719] nsim_module_exit (drivers/net/netdevsim/netdev.c:99) netdevsim [ 185.030974][ T2719] __do_sys_delete_module (kernel/module/main.c:757) [ 185.031101][ T2719] ? __pfx___do_sys_delete_module (kernel/module/main.c:702) [ 185.031255][ T2719] ? __pfx_slab_free_after_rcu_debug (mm/slub.c:4609) [ 185.031414][ T2719] ? __pfx_slab_free_after_rcu_debug (mm/slub.c:4609) [ 185.031571][ T2719] ? 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) [ 185.031699][ T2719] ? __pfx_slab_free_after_rcu_debug (mm/slub.c:4609) [ 185.031863][ T2719] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 185.032020][ T2719] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 185.032149][ T2719] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 185.032309][ T2719] RIP: 0033:0x7f55eb7f55ab [ 185.032451][ T2719] 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 [ 185.032901][ T2719] RSP: 002b:00007ffd0d9185d8 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0 [ 185.033091][ T2719] RAX: ffffffffffffffda RBX: 000055d71272b980 RCX: 00007f55eb7f55ab [ 185.033291][ T2719] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 000055d71272b9e8 [ 185.033482][ T2719] RBP: 000055d71272b980 R08: 0000000000000000 R09: 0000000000000000 [ 185.033675][ T2719] R10: 00007f55eb954ac0 R11: 0000000000000206 R12: 000055d71272b9e8 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire