====================================== | [ 30.553089][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 30.553296][ C3] | [ 30.553380][ C3] | [ 30.553380][ C3] stack backtrace: [ 30.553838][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 30.554211][ C3] Call Trace: [ 30.554345][ C3] [ 30.554431][ C3] dump_stack_lvl (lib/dump_stack.c:117) [ 30.554604][ C3] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 30.554812][ C3] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 30.554981][ C3] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 30.555190][ C3] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 30.555355][ C3] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 30.555520][ C3] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 30.555818][ C3] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 30.555986][ C3] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 30.556154][ C3] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 30.556322][ C3] ? save_trace (kernel/locking/lockdep.c:586) [ 30.556489][ C3] mark_lock (kernel/locking/lockdep.c:4678) [ 30.556617][ C3] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 30.556783][ C3] mark_usage (kernel/locking/lockdep.c:4567) [ 30.556909][ C3] __lock_acquire (kernel/locking/lockdep.c:5091) [ 30.557077][ C3] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 30.557243][ C3] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 30.557407][ C3] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 30.557575][ C3] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 30.557741][ C3] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 30.557910][ C3] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 30.558075][ C3] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 30.558241][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 30.558405][ C3] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 30.558696][ C3] _raw_write_lock (./include/linux/rwlock_api_smp.h:210 kernel/locking/spinlock.c:300) [ 30.558863][ C3] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 30.559034][ C3] addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 30.559199][ C3] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 30.559368][ C3] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 30.559537][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 30.559703][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 30.559868][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 30.560036][ C3] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 30.560202][ C3] call_timer_fn (kernel/time/timer.c:1793) [ 30.560368][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 30.560533][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 30.560700][ C3] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 30.560869][ C3] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 30.561003][ C3] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 30.561169][ C3] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 30.561335][ C3] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 30.561720][ C3] ? 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.561889][ C3] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 30.562054][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 30.562219][ C3] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 30.562388][ C3] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 30.562556][ C3] __do_softirq (kernel/softirq.c:554) [ 30.562724][ C3] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 30.562849][ C3] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 30.563017][ C3] [ 30.563105][ C3] [ 30.563188][ C3] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 30.563397][ C3] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 30.563610][ C3] Code: 10 e8 41 ea 91 fd 48 89 ef e8 79 5a 92 fd 81 e3 00 02 00 00 75 1d 9c 58 f6 c4 02 75 29 48 85 db 74 01 fb 65 ff 0d e5 61 e6 4c <74> 0e 5b 5d c3 cc cc cc cc e8 6f 54 b5 fd eb dc 0f 1f 44 00 00 5b All code ======== 0: 10 e8 adc %ch,%al 2: 41 ea rex.B (bad) 4: 91 xchg %eax,%ecx 5: fd std 6: 48 89 ef mov %rbp,%rdi 9: e8 79 5a 92 fd call 0xfffffffffd925a87 e: 81 e3 00 02 00 00 and $0x200,%ebx 14: 75 1d jne 0x33 16: 9c pushf 17: 58 pop %rax 18: f6 c4 02 test $0x2,%ah 1b: 75 29 jne 0x46 1d: 48 85 db test %rbx,%rbx 20: 74 01 je 0x23 22: fb sti 23: 65 ff 0d e5 61 e6 4c decl %gs:0x4ce661e5(%rip) # 0x4ce6620f 2a:* 74 0e je 0x3a <-- trapping instruction 2c: 5b pop %rbx 2d: 5d pop %rbp 2e: c3 ret 2f: cc int3 30: cc int3 31: cc int3 32: cc int3 33: e8 6f 54 b5 fd call 0xfffffffffdb554a7 38: eb dc jmp 0x16 3a: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 3f: 5b pop %rbx Code starting with the faulting instruction =========================================== 0: 74 0e je 0x10 2: 5b pop %rbx 3: 5d pop %rbp 4: c3 ret 5: cc int3 6: cc int3 7: cc int3 8: cc int3 9: e8 6f 54 b5 fd call 0xfffffffffdb5547d e: eb dc jmp 0xffffffffffffffec 10: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 15: 5b pop %rbx [ 30.564200][ C3] RSP: 0018:ffffc90000dcf2d0 EFLAGS: 00000282 [ 30.564413][ C3] RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff69adc01 [ 30.564802][ C3] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffb31d67f1 [ 30.565050][ C3] RBP: ffff888001041080 R08: 0000000000000001 R09: fffffbfff69ae482 [ 30.565303][ C3] R10: ffffffffb4d72417 R11: 0000000000001000 R12: ffff888001041080 [ 30.565554][ C3] R13: ffffea00001fc200 R14: ffff8880010433c0 R15: ffff888007f09000 [ 30.565807][ C3] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 30.566017][ C3] get_partial_node.part.0 (mm/slub.c:2623) [ 30.566187][ C3] ___slab_alloc (mm/slub.c:2583 mm/slub.c:2701 mm/slub.c:3505) [ 30.566354][ C3] ? fs_reclaim_acquire (mm/page_alloc.c:3715 mm/page_alloc.c:3706) [ 30.566523][ C3] ? p9_fcall_init (net/9p/client.c:232) [ 30.566690][ C3] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 30.566861][ C3] ? p9_fcall_init (net/9p/client.c:232) [ 30.567028][ C3] ? __kmalloc (mm/slub.c:3610 mm/slub.c:3663 mm/slub.c:3835 mm/slub.c:3965 mm/slub.c:3979) [ 30.567197][ C3] __kmalloc (mm/slub.c:3610 mm/slub.c:3663 mm/slub.c:3835 mm/slub.c:3965 mm/slub.c:3979) [ 30.567324][ C3] p9_fcall_init (net/9p/client.c:232) [ 30.567491][ C3] p9_tag_alloc (net/9p/client.c:295) [ 30.567791][ C3] ? __pfx_p9_tag_alloc (net/9p/client.c:277) [ 30.567961][ C3] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 30.568090][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 30.568259][ C3] p9_client_prepare_req (net/9p/client.c:641) [ 30.568428][ C3] ? __pfx_p9_client_prepare_req (net/9p/client.c:625) [ 30.568635][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 30.568801][ C3] p9_client_rpc (net/9p/client.c:688 (discriminator 4)) [ 30.568977][ C3] ? 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.569146][ C3] ? __pfx_p9_client_rpc (net/9p/client.c:672) [ 30.569314][ C3] ? v9fs_fid_find (fs/9p/fid.c:114) [ 30.569482][ C3] ? 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) [ 30.569649][ C3] ? _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 30.569817][ C3] ? __pfx_v9fs_fid_find (fs/9p/fid.c:114) [ 30.569986][ C3] ? __pfx_make_vfsgid (fs/mnt_idmapping.c:110) [ 30.570153][ C3] ? v9fs_fid_add (fs/9p/fid.c:41) [ 30.570322][ C3] p9_client_readlink (net/9p/client.c:2238) [ 30.570489][ C3] v9fs_vfs_get_link_dotl (fs/9p/vfs_inode_dotl.c:822 fs/9p/vfs_inode_dotl.c:806) [ 30.570788][ C3] ? __pfx_v9fs_vfs_get_link_dotl (fs/9p/vfs_inode_dotl.c:809) [ 30.570996][ C3] ? __lookup_slow (fs/namei.c:1692) [ 30.571162][ C3] pick_link (fs/namei.c:1808) [ 30.571288][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 30.571455][ C3] step_into (fs/namei.c:1874) [ 30.571581][ C3] ? __up_read (./arch/x86/include/asm/atomic64_64.h:79 ./include/linux/atomic/atomic-arch-fallback.h:2749 ./include/linux/atomic/atomic-long.h:184 ./include/linux/atomic/atomic-instrumented.h:3317 kernel/locking/rwsem.c:1347) [ 30.571749][ C3] ? __pfx_step_into (fs/namei.c:1839) [ 30.571915][ C3] ? walk_component (fs/namei.c:2005) [ 30.572085][ C3] link_path_walk.part.0.constprop.0 (fs/namei.c:2331) [ 30.572293][ C3] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249) [ 30.572502][ C3] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837) [ 30.572668][ C3] ? 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.572835][ C3] path_lookupat (fs/namei.c:2254 (discriminator 2) fs/namei.c:2484 (discriminator 2)) [ 30.573004][ C3] filename_lookup (fs/namei.c:2514) [ 30.573173][ C3] ? __pfx_filename_lookup (fs/namei.c:2508) [ 30.573344][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 30.573511][ C3] ? __lock_release (kernel/locking/lockdep.c:5430) [ 30.573811][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 30.573979][ C3] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 30.574146][ C3] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 30.574314][ C3] vfs_statx (fs/stat.c:244) [ 30.574446][ C3] ? __pfx_vfs_statx (fs/stat.c:234) [ 30.574615][ C3] ? getname_flags (./arch/x86/include/asm/atomic.h:28 ./include/linux/atomic/atomic-arch-fallback.h:503 ./include/linux/atomic/atomic-instrumented.h:68 fs/namei.c:190) [ 30.574782][ C3] vfs_fstatat (fs/stat.c:305) [ 30.574908][ C3] __do_sys_newfstatat (fs/stat.c:469) [ 30.575074][ C3] ? __pfx___do_sys_newfstatat (fs/stat.c:464) [ 30.575243][ C3] ? __x64_sys_openat (fs/open.c:1432) [ 30.575413][ C3] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 30.575579][ C3] ? __pfx_do_faccessat (fs/open.c:465) [ 30.575748][ C3] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 30.575956][ C3] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 30.576124][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 30.576332][ C3] RIP: 0033:0x7f633943deae [ 30.576504][ C3] Code: 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 07 00 00 00 0f 1f 80 00 00 00 00 f3 0f 1e fa 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 0b 31 c0 c3 0f 1f 84 00 00 00 00 00 f7 d8 89 05 All code ======== 0: 48 89 f2 mov %rsi,%rdx 3: b9 00 01 00 00 mov $0x100,%ecx 8: 48 89 fe mov %rdi,%rsi b: bf 9c ff ff ff mov $0xffffff9c,%edi 10: e9 07 00 00 00 jmp 0x1c 15: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 1c: f3 0f 1e fa endbr64 20: 41 89 ca mov %ecx,%r10d 23: b8 06 01 00 00 mov $0x106,%eax 28: 0f 05 syscall 2a:* 3d 00 f0 ff ff cmp $0xfffff000,%eax <-- trapping instruction 2f: 77 0b ja 0x3c 31: 31 c0 xor %eax,%eax 33: c3 ret 34: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 3b: 00 3c: f7 d8 neg %eax 3e: 89 .byte 0x89 3f: 05 .byte 0x5 Code starting with the faulting instruction =========================================== 0: 3d 00 f0 ff ff cmp $0xfffff000,%eax 5: 77 0b ja 0x12 7: 31 c0 xor %eax,%eax 9: c3 ret a: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 11: 00 12: f7 d8 neg %eax 14: 89 .byte 0x89 15: 05 .byte 0x5 [ 30.577228][ C3] RSP: 002b:00007ffe4e9aa6d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 [ 30.577482][ C3] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f633943deae [ 30.577731][ C3] RDX: 00007ffe4e9aa7a0 RSI: 00007ffe4e9aa6e0 RDI: 00000000ffffff9c [ 30.577981][ C3] RBP: 00007ffe4e9aa860 R08: 00000000ffffffff R09: 00007ffe4e9aa6e0 [ 30.578230][ C3] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe4e9aa6e7 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage