====================================== | [ 60.946634][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 60.946900][ C2] | [ 60.946972][ C2] | [ 60.946972][ C2] stack backtrace: [ 60.947366][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 60.947777][ C2] Call Trace: [ 60.947892][ C2] [ 60.947966][ C2] dump_stack_lvl (lib/dump_stack.c:117) [ 60.948113][ C2] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 60.948292][ C2] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 60.948439][ C2] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 60.948621][ C2] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 60.948765][ C2] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 60.948997][ C2] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 60.949142][ C2] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 60.949307][ C2] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 60.949452][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 60.949685][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 60.949834][ C2] ? save_trace (kernel/locking/lockdep.c:586) [ 60.949979][ C2] mark_lock (kernel/locking/lockdep.c:4678) [ 60.950089][ C2] mark_usage (kernel/locking/lockdep.c:4567) [ 60.950199][ C2] __lock_acquire (kernel/locking/lockdep.c:5091) [ 60.950433][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 60.950543][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 60.950686][ C2] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 60.950832][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 60.951062][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4292 kernel/locking/lockdep.c:4359) [ 60.951244][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 60.951388][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 60.951532][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 60.951761][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 60.951904][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 60.952048][ C2] _raw_write_lock (./include/linux/rwlock_api_smp.h:210 kernel/locking/spinlock.c:300) [ 60.952193][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 60.952337][ C2] addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 60.952569][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 60.952714][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 60.952858][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 60.953003][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 60.953234][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 60.953403][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 60.953546][ C2] call_timer_fn (kernel/time/timer.c:1793) [ 60.953690][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 60.954022][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 60.954168][ C2] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 60.954316][ 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) [ 60.954460][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 60.954692][ C2] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 60.954836][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 60.954980][ C2] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 60.955124][ 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) [ 60.955269][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 60.955500][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 60.955643][ C2] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 60.955787][ C2] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 60.955930][ C2] __do_softirq (kernel/softirq.c:554) [ 60.956163][ C2] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 60.956271][ C2] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 60.956417][ C2] [ 60.956492][ C2] [ 60.956565][ C2] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 60.956832][ C2] RIP: 0010:lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 60.957016][ C2] Code: ff 48 83 c4 28 65 0f c1 05 54 17 b3 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 b3 70 83 roll $0x83,0x70b31754(%rip) # 0x70b31762 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 [ 60.957640][ C2] RSP: 0018:ffffc9000160f550 EFLAGS: 00000206 [ 60.957826][ C2] RAX: 0000000000000046 RBX: 1ffff920002c1ead RCX: 0000000000000001 [ 60.958043][ C2] RDX: 1ffff110011019fd RSI: ffff88800880cff0 RDI: ffff88800880d012 [ 60.958260][ C2] RBP: 0000000000000200 R08: 0000000000000000 R09: ffff88800880cff0 [ 60.958476][ C2] R10: 1ffff920002c1e7f R11: 0000000000000000 R12: ffffffff92e31da0 [ 60.958690][ C2] R13: ffffc9000160f6b8 R14: ffff8880043ced38 R15: ffffed1000879da5 [ 60.959000][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 60.959147][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 60.959291][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 60.959438][ C2] ? schedule (kernel/sched/core.c:6779 kernel/sched/core.c:6837) [ 60.959639][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 60.959783][ C2] ? schedule (kernel/sched/core.c:6779 kernel/sched/core.c:6837) [ 60.959892][ C2] schedule (kernel/sched/core.c:6781 kernel/sched/core.c:6837) [ 60.960001][ C2] ? schedule (kernel/sched/core.c:6779 kernel/sched/core.c:6837) [ 60.960109][ C2] p9_client_rpc (net/9p/client.c:713 (discriminator 13)) [ 60.960254][ C2] ? __pfx_p9_client_rpc (net/9p/client.c:672) [ 60.960401][ C2] ? __pfx_autoremove_wake_function (kernel/sched/wait.c:383) [ 60.960581][ C2] ? _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 60.960725][ C2] ? __pfx_v9fs_fid_find (fs/9p/fid.c:114) [ 60.960956][ C2] ? __pfx_make_vfsgid (fs/mnt_idmapping.c:110) [ 60.961100][ C2] ? _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 60.961245][ C2] ? v9fs_fid_add (fs/9p/fid.c:41) [ 60.961411][ C2] p9_client_readlink (net/9p/client.c:2238) [ 60.961643][ C2] v9fs_vfs_get_link_dotl (fs/9p/vfs_inode_dotl.c:822 fs/9p/vfs_inode_dotl.c:806) [ 60.961789][ C2] ? __pfx_v9fs_vfs_get_link_dotl (fs/9p/vfs_inode_dotl.c:809) [ 60.961968][ C2] ? __lookup_slow (fs/namei.c:1692) [ 60.962111][ C2] pick_link (fs/namei.c:1808) [ 60.962219][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 60.962366][ C2] step_into (fs/namei.c:1874) [ 60.962474][ C2] ? __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) [ 60.962617][ C2] ? __pfx_step_into (fs/namei.c:1839) [ 60.962762][ C2] ? walk_component (fs/namei.c:2005) [ 60.962997][ C2] link_path_walk.part.0.constprop.0 (fs/namei.c:2331) [ 60.963178][ C2] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249) [ 60.963357][ C2] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837) [ 60.963499][ 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) [ 60.963729][ C2] path_lookupat (fs/namei.c:2254 (discriminator 2) fs/namei.c:2484 (discriminator 2)) [ 60.963877][ C2] filename_lookup (fs/namei.c:2514) [ 60.964022][ C2] ? __pfx_filename_lookup (fs/namei.c:2508) [ 60.964168][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 60.964400][ C2] ? __lock_release (kernel/locking/lockdep.c:5430) [ 60.964549][ C2] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 60.964692][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 60.964835][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 60.965154][ C2] vfs_statx (fs/stat.c:244) [ 60.965276][ C2] ? __pfx_vfs_statx (fs/stat.c:234) [ 60.965427][ C2] ? 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) [ 60.965574][ C2] vfs_fstatat (fs/stat.c:305) [ 60.965682][ C2] __do_sys_newfstatat (fs/stat.c:469) [ 60.965914][ C2] ? __pfx___do_sys_newfstatat (fs/stat.c:464) [ 60.966061][ C2] ? __x64_sys_openat (fs/open.c:1432) [ 60.966204][ C2] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 60.966346][ C2] ? __pfx_do_faccessat (fs/open.c:465) [ 60.966584][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 60.966764][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 60.966907][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 60.967085][ C2] RIP: 0033:0x7f5c34809eae [ 60.967236][ C2] 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 [ 60.967741][ C2] RSP: 002b:00007ffe43fce138 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 [ 60.968046][ C2] RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007f5c34809eae [ 60.968260][ C2] RDX: 00007ffe43fce210 RSI: 00007ffe43fce140 RDI: 00000000ffffff9c [ 60.968568][ C2] RBP: 00007ffe43fce2d0 R08: 00000000ffffffff R09: 00007ffe43fce140 [ 60.968783][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe43fce147 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage