====================================== | [ 142.233840][ C0] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 142.234027][ C0] | [ 142.234195][ C0] | [ 142.234195][ C0] stack backtrace: [ 142.234608][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 142.235036][ C0] Call Trace: [ 142.235156][ C0] [ 142.235234][ C0] dump_stack_lvl (lib/dump_stack.c:117) [ 142.235392][ C0] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 142.235671][ C0] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 142.235827][ C0] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 142.236017][ C0] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 142.236167][ C0] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 142.236416][ C0] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 142.236571][ C0] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 142.236722][ C0] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 142.236872][ C0] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 142.237026][ C0] ? save_trace (kernel/locking/lockdep.c:586) [ 142.237272][ C0] mark_lock (kernel/locking/lockdep.c:4678) [ 142.237387][ C0] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 142.237539][ C0] mark_usage (kernel/locking/lockdep.c:4567) [ 142.237653][ C0] __lock_acquire (kernel/locking/lockdep.c:5091) [ 142.237908][ C0] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 142.238059][ C0] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 142.238208][ C0] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 142.238357][ C0] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 142.238506][ C0] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 142.238750][ C0] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 142.238903][ C0] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 142.239071][ C0] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 142.239220][ C0] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 142.239463][ C0] _raw_write_lock (./include/linux/rwlock_api_smp.h:210 kernel/locking/spinlock.c:300) [ 142.239612][ C0] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 142.239761][ C0] addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 142.239911][ C0] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 142.240157][ C0] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 142.240309][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 142.240459][ C0] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 142.240608][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 142.240861][ C0] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 142.241011][ C0] call_timer_fn (kernel/time/timer.c:1793) [ 142.241160][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 142.241312][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 142.241462][ C0] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 142.241612][ C0] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 142.241730][ C0] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 142.241880][ C0] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 142.242030][ C0] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 142.242181][ C0] ? 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) [ 142.242330][ C0] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 142.242480][ C0] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 142.242630][ C0] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 142.242883][ C0] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 142.243036][ C0] __do_softirq (kernel/softirq.c:554) [ 142.243189][ C0] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 142.243303][ C0] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 142.243452][ C0] [ 142.243530][ C0] [ 142.243606][ C0] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 142.243791][ C0] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 142.243984][ C0] 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 26 69 <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 26 69 decl %gs:0x692661e5(%rip) # 0x6926620f 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 [ 142.244618][ C0] RSP: 0018:ffffc9000282f3e0 EFLAGS: 00000286 [ 142.244811][ C0] RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff312dc01 [ 142.245134][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff96dd67f1 [ 142.245359][ C0] RBP: ffffffff9814e4c0 R08: 0000000000000001 R09: fffffbfff312e482 [ 142.245586][ C0] R10: ffffffff98972417 R11: ffffc9000282f1d1 R12: ffff888005774000 [ 142.245909][ C0] R13: 0000000000001000 R14: 0000000000000001 R15: 0000000000000282 [ 142.246135][ C0] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 142.246322][ C0] __create_object (mm/kmemleak.c:756) [ 142.246567][ C0] ? p9_fcall_init (net/9p/client.c:232) [ 142.246716][ C0] __kmalloc (./include/linux/kmemleak.h:42 mm/slub.c:3802 mm/slub.c:3845 mm/slub.c:3965 mm/slub.c:3979) [ 142.246832][ C0] p9_fcall_init (net/9p/client.c:232) [ 142.246986][ C0] p9_tag_alloc (net/9p/client.c:295) [ 142.247233][ C0] ? __pfx_p9_tag_alloc (net/9p/client.c:277) [ 142.247383][ C0] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 142.247499][ C0] p9_client_prepare_req (net/9p/client.c:641) [ 142.247650][ C0] ? __pfx_p9_client_prepare_req (net/9p/client.c:625) [ 142.247838][ C0] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 142.248082][ C0] p9_client_rpc (net/9p/client.c:688 (discriminator 4)) [ 142.248231][ C0] ? 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) [ 142.248391][ C0] ? __pfx_p9_client_rpc (net/9p/client.c:672) [ 142.248541][ C0] ? v9fs_fid_find (fs/9p/fid.c:114) [ 142.248789][ C0] ? 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) [ 142.248940][ C0] ? _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 142.249102][ C0] ? __pfx_v9fs_fid_find (fs/9p/fid.c:114) [ 142.249254][ C0] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 142.249499][ C0] p9_client_readlink (net/9p/client.c:2238) [ 142.249651][ C0] v9fs_vfs_get_link_dotl (fs/9p/vfs_inode_dotl.c:822 fs/9p/vfs_inode_dotl.c:806) [ 142.249803][ C0] ? __pfx_v9fs_vfs_get_link_dotl (fs/9p/vfs_inode_dotl.c:809) [ 142.249989][ C0] ? try_to_unlazy (fs/namei.c:786) [ 142.250234][ C0] pick_link (fs/namei.c:1806) [ 142.250348][ C0] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 142.250501][ C0] ? __pfx_v9fs_vfs_get_link_dotl (fs/9p/vfs_inode_dotl.c:809) [ 142.250686][ C0] step_into (fs/namei.c:1874) [ 142.250807][ C0] ? read_word_at_a_time (./include/asm-generic/rwonce.h:86) [ 142.251051][ C0] ? __d_lookup_rcu (./arch/x86/include/asm/word-at-a-time.h:85 fs/dcache.c:226 fs/dcache.c:277 fs/dcache.c:2228) [ 142.251201][ C0] ? __pfx_step_into (fs/namei.c:1839) [ 142.251354][ C0] link_path_walk.part.0.constprop.0 (fs/namei.c:2331) [ 142.251543][ C0] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249) [ 142.251820][ C0] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837) [ 142.251968][ C0] ? 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) [ 142.252117][ C0] path_lookupat (fs/namei.c:2254 (discriminator 2) fs/namei.c:2484 (discriminator 2)) [ 142.252267][ C0] filename_lookup (fs/namei.c:2514) [ 142.252510][ C0] ? __pfx_filename_lookup (fs/namei.c:2508) [ 142.252665][ C0] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 142.252815][ C0] ? __lock_release (kernel/locking/lockdep.c:5430) [ 142.252964][ C0] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 142.253209][ C0] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 142.253359][ C0] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 142.253509][ C0] vfs_statx (fs/stat.c:244) [ 142.253623][ C0] ? __pfx_vfs_statx (fs/stat.c:234) [ 142.253877][ C0] ? 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) [ 142.254026][ C0] vfs_fstatat (fs/stat.c:305) [ 142.254141][ C0] __do_sys_newfstatat (fs/stat.c:469) [ 142.254289][ C0] ? __pfx___do_sys_newfstatat (fs/stat.c:464) [ 142.254440][ C0] ? __x64_sys_openat (fs/open.c:1432) [ 142.254589][ C0] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 142.254738][ C0] ? __pfx_do_faccessat (fs/open.c:465) [ 142.254890][ C0] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 142.255075][ C0] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 142.255318][ C0] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 142.255505][ C0] RIP: 0033:0x7f480a57deae [ 142.255658][ C0] 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 [ 142.256283][ C0] RSP: 002b:00007ffcfd2d5618 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 [ 142.256508][ C0] RAX: ffffffffffffffda RBX: 000000000000000f RCX: 00007f480a57deae [ 142.256827][ C0] RDX: 00007ffcfd2d56f0 RSI: 00007ffcfd2d5620 RDI: 00000000ffffff9c [ 142.257051][ C0] RBP: 00007ffcfd2d57b0 R08: 00000000ffffffff R09: 00007ffcfd2d5620 [ 142.257272][ C0] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffcfd2d5627 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage