====================================== | [ 49.540155][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 49.540462][ C1] | [ 49.540548][ C1] | [ 49.540548][ C1] stack backtrace: [ 49.541009][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 49.541379][ C1] Call Trace: [ 49.541505][ C1] [ 49.541593][ C1] dump_stack_lvl (lib/dump_stack.c:117) [ 49.541761][ C1] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 49.542065][ C1] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 49.542274][ C1] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 49.542456][ C1] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 49.542620][ C1] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 49.542888][ C1] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 49.543059][ C1] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 49.543227][ C1] ? stack_trace_save (kernel/stacktrace.c:123) [ 49.543402][ C1] ? add_chain_cache (kernel/locking/lockdep.c:3730) [ 49.543647][ C1] ? save_trace (kernel/locking/lockdep.c:586) [ 49.543894][ C1] mark_lock (kernel/locking/lockdep.c:4678) [ 49.544075][ C1] mark_usage (kernel/locking/lockdep.c:4567) [ 49.544271][ C1] __lock_acquire (kernel/locking/lockdep.c:5091) [ 49.544519][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 49.544953][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 49.545416][ C1] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 49.545676][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 49.546247][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 49.546512][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 49.546773][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 49.547159][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 49.547425][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 49.547823][ C1] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 49.548085][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 49.548477][ C1] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 49.548876][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 49.549332][ C1] call_timer_fn (kernel/time/timer.c:1793) [ 49.549594][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 49.549857][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 49.550300][ C1] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 49.550557][ C1] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 49.550764][ C1] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 49.551021][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 49.551655][ C1] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 49.551923][ C1] ? 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) [ 49.552178][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 49.552436][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 49.552701][ C1] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 49.552972][ C1] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 49.553232][ C1] __do_softirq (kernel/softirq.c:554) [ 49.553495][ C1] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 49.553690][ C1] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 49.553949][ C1] [ 49.554088][ C1] [ 49.554219][ C1] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 49.554541][ C1] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 49.555069][ C1] Code: 10 e8 21 49 9b fd 48 89 ef e8 59 b9 9b 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 05 bf 0f 67 <74> 0e 5b 5d c3 cc cc cc cc e8 4f b3 be fd eb dc 0f 1f 44 00 00 5b All code ======== 0: 10 e8 adc %ch,%al 2: 21 49 9b and %ecx,-0x65(%rcx) 5: fd std 6: 48 89 ef mov %rbp,%rdi 9: e8 59 b9 9b fd call 0xfffffffffd9bb967 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 05 bf 0f 67 decl %gs:0x670fbf05(%rip) # 0x670fbf2f 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 4f b3 be fd call 0xfffffffffdbeb387 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 4f b3 be fd call 0xfffffffffdbeb35d e: eb dc jmp 0xffffffffffffffec 10: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 15: 5b pop %rbx [ 49.555998][ C1] RSP: 0018:ffffc9000059f330 EFLAGS: 00000282 [ 49.556508][ C1] RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff3564179 [ 49.556898][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff98f40911 [ 49.557289][ C1] RBP: ffff888001041080 R08: 0000000000000001 R09: fffffbfff35649fa [ 49.557653][ C1] R10: ffffffff9ab24fd7 R11: 0000000000001000 R12: ffff888001041080 [ 49.558027][ C1] R13: ffffea00001fb400 R14: ffff8880010433c0 R15: ffff888007ed1000 [ 49.558408][ C1] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 49.558728][ C1] get_partial_node.part.0 (mm/slub.c:2623) [ 49.559039][ C1] ___slab_alloc (mm/slub.c:2583 mm/slub.c:2701 mm/slub.c:3505) [ 49.559290][ C1] ? fs_reclaim_acquire (mm/page_alloc.c:3715 mm/page_alloc.c:3706) [ 49.559541][ C1] ? p9_fcall_init (net/9p/client.c:232) [ 49.560114][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 49.560370][ C1] ? p9_fcall_init (net/9p/client.c:232) [ 49.560620][ C1] ? __kmalloc (mm/slub.c:3610 mm/slub.c:3663 mm/slub.c:3835 mm/slub.c:3965 mm/slub.c:3979) [ 49.560870][ C1] __kmalloc (mm/slub.c:3610 mm/slub.c:3663 mm/slub.c:3835 mm/slub.c:3965 mm/slub.c:3979) [ 49.561232][ C1] p9_fcall_init (net/9p/client.c:232) [ 49.561490][ C1] p9_tag_alloc (net/9p/client.c:295) [ 49.561740][ C1] ? __pfx_p9_tag_alloc (net/9p/client.c:277) [ 49.561993][ C1] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 49.562186][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 49.562598][ C1] p9_client_prepare_req (net/9p/client.c:641) [ 49.562844][ C1] ? __pfx_p9_client_prepare_req (net/9p/client.c:625) [ 49.563161][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 49.563427][ C1] p9_client_rpc (net/9p/client.c:688 (discriminator 4)) [ 49.563686][ C1] ? 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) [ 49.563957][ C1] ? __pfx_p9_client_rpc (net/9p/client.c:672) [ 49.564217][ C1] ? v9fs_fid_find (fs/9p/fid.c:114) [ 49.564484][ C1] ? 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) [ 49.564756][ C1] ? _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 49.565025][ C1] ? __pfx_v9fs_fid_find (fs/9p/fid.c:114) [ 49.565296][ C1] ? __pfx_make_vfsgid (fs/mnt_idmapping.c:110) [ 49.565558][ C1] ? v9fs_fid_add (fs/9p/fid.c:41) [ 49.565997][ C1] p9_client_readlink (net/9p/client.c:2238) [ 49.566265][ C1] v9fs_vfs_get_link_dotl (fs/9p/vfs_inode_dotl.c:822 fs/9p/vfs_inode_dotl.c:806) [ 49.566528][ C1] ? __pfx_v9fs_vfs_get_link_dotl (fs/9p/vfs_inode_dotl.c:809) [ 49.566857][ C1] ? __lookup_slow (fs/namei.c:1692) [ 49.567294][ C1] pick_link (fs/namei.c:1808) [ 49.567499][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 49.567772][ C1] step_into (fs/namei.c:1874) [ 49.567966][ C1] ? __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) [ 49.568227][ C1] ? __pfx_step_into (fs/namei.c:1839) [ 49.568667][ C1] ? walk_component (fs/namei.c:2005) [ 49.568960][ C1] link_path_walk.part.0.constprop.0 (fs/namei.c:2331) [ 49.569286][ C1] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249) [ 49.569616][ C1] path_openat (fs/namei.c:3795) [ 49.569887][ C1] ? __pfx_path_openat (fs/namei.c:3781) [ 49.570144][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 49.570408][ C1] do_filp_open (fs/namei.c:3826) [ 49.570667][ C1] ? __pfx_do_filp_open (fs/namei.c:3820) [ 49.570931][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 49.571203][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 49.571466][ C1] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 49.571662][ C1] ? 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) [ 49.572100][ C1] ? _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 49.572355][ C1] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 49.572560][ C1] do_sys_openat2 (fs/open.c:1406) [ 49.572817][ C1] ? vfs_fstatat (fs/stat.c:308) [ 49.573081][ C1] ? __pfx_do_sys_openat2 (fs/open.c:1392) [ 49.573522][ C1] ? __pfx___do_sys_newfstatat (fs/stat.c:464) [ 49.573796][ C1] __x64_sys_openat (fs/open.c:1432) [ 49.574058][ C1] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 49.574321][ C1] ? __pfx_do_faccessat (fs/open.c:465) [ 49.574573][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 49.574833][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 49.575157][ C1] RIP: 0033:0x7f6f4b5ff0e8 [ 49.575436][ C1] Code: f9 41 89 f0 41 83 e2 40 75 30 89 f0 25 00 00 41 00 3d 00 00 41 00 74 22 44 89 c2 4c 89 ce bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 30 c3 0f 1f 80 00 00 00 00 48 8d 44 24 08 c7 All code ======== 0: f9 stc 1: 41 89 f0 mov %esi,%r8d 4: 41 83 e2 40 and $0x40,%r10d 8: 75 30 jne 0x3a a: 89 f0 mov %esi,%eax c: 25 00 00 41 00 and $0x410000,%eax 11: 3d 00 00 41 00 cmp $0x410000,%eax 16: 74 22 je 0x3a 18: 44 89 c2 mov %r8d,%edx 1b: 4c 89 ce mov %r9,%rsi 1e: bf 9c ff ff ff mov $0xffffff9c,%edi 23: b8 01 01 00 00 mov $0x101,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 30 ja 0x62 32: c3 ret 33: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 3a: 48 8d 44 24 08 lea 0x8(%rsp),%rax 3f: c7 .byte 0xc7 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 30 ja 0x38 8: c3 ret 9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 10: 48 8d 44 24 08 lea 0x8(%rsp),%rax 15: c7 .byte 0xc7 [ 49.576370][ C1] RSP: 002b:00007fff1af325c8 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 [ 49.576945][ C1] RAX: ffffffffffffffda RBX: 00007fff1af3285f RCX: 00007f6f4b5ff0e8 [ 49.577334][ C1] RDX: 0000000000080000 RSI: 00007fff1af32640 RDI: 00000000ffffff9c [ 49.577735][ C1] RBP: 00007fff1af32630 R08: 0000000000080000 R09: 00007fff1af32640 [ 49.578315][ C1] R10: 0000000000000000 R11: 0000000000000287 R12: 00007fff1af32647 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage