====================================== | [ 30.711349][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 30.711787][ C2] | [ 30.711892][ C2] | [ 30.711892][ C2] stack backtrace: [ 30.712538][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 30.713169][ C2] Call Trace: [ 30.713358][ C2] [ 30.713487][ C2] dump_stack_lvl (lib/dump_stack.c:117) [ 30.713731][ C2] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 30.714113][ C2] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 30.714312][ C2] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 30.714609][ C2] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 30.714964][ C2] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 30.715193][ C2] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 30.715445][ C2] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 30.715687][ C2] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 30.715926][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 30.716309][ C2] ? save_trace (kernel/locking/lockdep.c:586) [ 30.716551][ C2] mark_lock (kernel/locking/lockdep.c:4678) [ 30.716735][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 30.716973][ C2] mark_usage (kernel/locking/lockdep.c:4567) [ 30.717309][ C2] __lock_acquire (kernel/locking/lockdep.c:5091) [ 30.717556][ C2] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 30.717796][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 30.718034][ C2] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 30.718273][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 30.718517][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 30.718756][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 30.718997][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 30.719232][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 30.719612][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 30.719830][ C2] _raw_write_lock (./include/linux/rwlock_api_smp.h:210 kernel/locking/spinlock.c:300) [ 30.720075][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 30.720311][ C2] addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 30.720653][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 30.720892][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 30.721126][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 30.721366][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 30.721760][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 30.721956][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 30.722194][ C2] call_timer_fn (kernel/time/timer.c:1793) [ 30.722423][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 30.722661][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 30.723038][ C2] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 30.723275][ C2] ? 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) [ 30.723516][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 30.723754][ C2] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 30.724127][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 30.724352][ C2] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 30.724587][ C2] ? __lock_release (kernel/locking/lockdep.c:5430) [ 30.724823][ C2] ? do_raw_spin_lock (./arch/x86/include/asm/atomic.h:115 ./include/linux/atomic/atomic-arch-fallback.h:2170 ./include/linux/atomic/atomic-instrumented.h:1302 ./include/asm-generic/qspinlock.h:111 kernel/locking/spinlock_debug.c:116) [ 30.725219][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 30.725462][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 30.725700][ C2] ? timer_expire_remote (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 30.725941][ C2] timer_expire_remote (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 30.726292][ C2] tmigr_handle_remote_cpu (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:67 ./arch/x86/include/asm/irqflags.h:127 kernel/time/timer_migration.c:925) [ 30.726516][ C2] ? __pfx_tmigr_handle_remote_cpu (kernel/time/timer_migration.c:869) [ 30.726810][ C2] ? 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) [ 30.727043][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 30.727224][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 30.727601][ C2] tmigr_handle_remote_up (kernel/time/timer_migration.c:1003) [ 30.727841][ C2] tmigr_handle_remote (kernel/time/timer_migration.c:488 kernel/time/timer_migration.c:1061) [ 30.728075][ C2] ? __pfx_tmigr_handle_remote (kernel/time/timer_migration.c:1026) [ 30.728314][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 30.728697][ C2] __do_softirq (kernel/softirq.c:554) [ 30.728918][ C2] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 30.729098][ C2] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 30.729336][ C2] [ 30.729459][ C2] [ 30.729696][ C2] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 30.729978][ C2] RIP: 0010:lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 30.730289][ C2] Code: ff 48 83 c4 28 65 0f c1 05 54 17 d3 70 83 f8 01 0f 85 b5 01 00 00 9c 58 f6 c4 02 0f 85 be 01 00 00 48 85 ed 0f 85 9b 01 00 00 <48> b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 00 00 00 48 c7 All code ======== 0: ff 48 83 decl -0x7d(%rax) 3: c4 (bad) 4: 28 65 0f sub %ah,0xf(%rbp) 7: c1 05 54 17 d3 70 83 roll $0x83,0x70d31754(%rip) # 0x70d31762 e: f8 clc f: 01 0f add %ecx,(%rdi) 11: 85 b5 01 00 00 9c test %esi,-0x63ffffff(%rbp) 17: 58 pop %rax 18: f6 c4 02 test $0x2,%ah 1b: 0f 85 be 01 00 00 jne 0x1df 21: 48 85 ed test %rbp,%rbp 24: 0f 85 9b 01 00 00 jne 0x1c5 2a:* 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax <-- trapping instruction 31: fc ff df 34: 48 01 c3 add %rax,%rbx 37: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) 3e: 48 rex.W 3f: c7 .byte 0xc7 Code starting with the faulting instruction =========================================== 0: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 7: fc ff df a: 48 01 c3 add %rax,%rbx d: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) 14: 48 rex.W 15: c7 .byte 0xc7 [ 30.731145][ C2] RSP: 0018:ffffc90000e2fc60 EFLAGS: 00000206 [ 30.731419][ C2] RAX: 0000000000000046 RBX: 1ffff920001c5f8f RCX: 0000000000000001 [ 30.731885][ C2] RDX: 1ffff11000ae25a5 RSI: 0000000000000008 RDI: ffff888005712d52 [ 30.732242][ C2] RBP: 0000000000000200 R08: ffffffff94decff0 R09: ffff888005712d30 [ 30.732602][ C2] R10: ffffffff94e1956f R11: ffffc90000e2f981 R12: ffff888002807178 [ 30.733109][ C2] R13: ffff888002807160 R14: ffff8880045751d8 R15: ffff888004595380 [ 30.733480][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 30.733719][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 30.733959][ C2] ? close_pdeo.part.0 (./include/linux/list.h:111 ./include/linux/list.h:215 ./include/linux/list.h:229 fs/proc/inode.c:246) [ 30.734325][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 30.734555][ C2] ? close_pdeo.part.0 (./include/linux/list.h:111 ./include/linux/list.h:215 ./include/linux/list.h:229 fs/proc/inode.c:246) [ 30.734793][ C2] ? __pfx_single_release (fs/seq_file.c:612) [ 30.735043][ C2] ? __pfx_single_release (fs/seq_file.c:612) [ 30.735389][ C2] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 30.735630][ C2] ? close_pdeo.part.0 (./include/linux/list.h:111 ./include/linux/list.h:215 ./include/linux/list.h:229 fs/proc/inode.c:246) [ 30.735868][ C2] close_pdeo.part.0 (./include/linux/list.h:111 ./include/linux/list.h:215 ./include/linux/list.h:229 fs/proc/inode.c:246) [ 30.736105][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 30.736476][ C2] close_pdeo (fs/proc/inode.c:253) [ 30.736619][ C2] ? __pfx_close_pdeo (fs/proc/inode.c:220) [ 30.736846][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 30.737083][ C2] ? do_raw_spin_lock (./arch/x86/include/asm/atomic.h:115 ./include/linux/atomic/atomic-arch-fallback.h:2170 ./include/linux/atomic/atomic-instrumented.h:1302 ./include/asm-generic/qspinlock.h:111 kernel/locking/spinlock_debug.c:116) [ 30.737320][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 30.737664][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 30.737902][ C2] ? proc_reg_release (fs/proc/inode.c:562) [ 30.738140][ C2] proc_reg_release (fs/proc/inode.c:570) [ 30.738383][ C2] __fput (fs/file_table.c:422) [ 30.738709][ C2] __x64_sys_close (fs/open.c:1559 fs/open.c:1541 fs/open.c:1541) [ 30.738950][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 30.739190][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 30.739486][ C2] RIP: 0033:0x7f981b27737b [ 30.739886][ C2] Code: c3 66 0f 1f 44 00 00 48 8b 15 81 5a 0b 00 f7 d8 64 89 02 b8 ff ff ff ff eb bc 0f 1f 44 00 00 f3 0f 1e fa b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 8b 15 51 5a 0b 00 f7 d8 All code ======== 0: c3 ret 1: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 7: 48 8b 15 81 5a 0b 00 mov 0xb5a81(%rip),%rdx # 0xb5a8f e: f7 d8 neg %eax 10: 64 89 02 mov %eax,%fs:(%rdx) 13: b8 ff ff ff ff mov $0xffffffff,%eax 18: eb bc jmp 0xffffffffffffffd6 1a: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 1f: f3 0f 1e fa endbr64 23: b8 03 00 00 00 mov $0x3,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 05 ja 0x37 32: c3 ret 33: 0f 1f 40 00 nopl 0x0(%rax) 37: 48 8b 15 51 5a 0b 00 mov 0xb5a51(%rip),%rdx # 0xb5a8f 3e: f7 d8 neg %eax Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 05 ja 0xd 8: c3 ret 9: 0f 1f 40 00 nopl 0x0(%rax) d: 48 8b 15 51 5a 0b 00 mov 0xb5a51(%rip),%rdx # 0xb5a65 14: f7 d8 neg %eax [ 30.740670][ C2] RSP: 002b:00007ffde2d1e018 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 30.741134][ C2] RAX: ffffffffffffffda RBX: 000000002fb022a0 RCX: 00007f981b27737b [ 30.741492][ C2] RDX: 00007f981b3299c0 RSI: 00000000fbada418 RDI: 0000000000000005 [ 30.741856][ C2] RBP: 0000000000000000 R08: 000000002fb02480 R09: 0000000000000077 [ 30.742347][ C2] R10: 000000000000005d R11: 0000000000000202 R12: 00007f981b32a5c0 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage