====================================== | [ 47.497090][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 47.497388][ C1] | [ 47.497467][ C1] | [ 47.497467][ C1] stack backtrace: [ 47.497907][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 47.498255][ C1] Call Trace: [ 47.498375][ C1] [ 47.498455][ C1] dump_stack_lvl (lib/dump_stack.c:117) [ 47.498619][ C1] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 47.498816][ C1] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 47.499016][ C1] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 47.499172][ C1] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 47.499447][ C1] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 47.499605][ C1] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 47.499776][ C1] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 47.499934][ C1] ? stack_trace_save (kernel/stacktrace.c:123) [ 47.500096][ C1] ? add_chain_cache (kernel/locking/lockdep.c:3730) [ 47.500262][ C1] ? save_trace (kernel/locking/lockdep.c:586) [ 47.500423][ C1] mark_lock (kernel/locking/lockdep.c:4678) [ 47.500545][ C1] mark_usage (kernel/locking/lockdep.c:4567) [ 47.500668][ C1] __lock_acquire (kernel/locking/lockdep.c:5091) [ 47.500933][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 47.501091][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 47.501373][ C1] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 47.501530][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 47.501861][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 47.502019][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 47.502174][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 47.502403][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 47.502662][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 47.502898][ C1] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 47.503068][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 47.503403][ C1] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 47.503642][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 47.503911][ C1] call_timer_fn (kernel/time/timer.c:1793) [ 47.504077][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 47.504334][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 47.504505][ C1] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 47.504662][ C1] ? 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) [ 47.504819][ C1] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 47.504979][ C1] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 47.505137][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 47.505417][ C1] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 47.505582][ 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) [ 47.505836][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 47.506000][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 47.506156][ C1] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 47.506325][ C1] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 47.506703][ C1] __do_softirq (kernel/softirq.c:554) [ 47.506865][ C1] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 47.506987][ C1] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 47.507143][ C1] [ 47.507225][ C1] [ 47.507316][ C1] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 47.507614][ C1] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 47.507823][ 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 4f 72 <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 4f 72 decl %gs:0x724fbf05(%rip) # 0x724fbf2f 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 [ 47.508480][ C1] RSP: 0018:ffffc9000079f4c8 EFLAGS: 00000286 [ 47.508686][ C1] RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff21a5955 [ 47.509035][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8db40911 [ 47.509270][ C1] RBP: ffff888001041080 R08: 0000000000000001 R09: fffffbfff21a38a9 [ 47.509506][ C1] R10: ffffffff90d1c54f R11: 0000000000001000 R12: ffff8880010433c0 [ 47.509847][ C1] R13: ffff888006a84000 R14: 0000000000000286 R15: ffff888001041080 [ 47.510095][ C1] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 47.510294][ C1] free_to_partial_list (mm/slub.c:4071) [ 47.510451][ C1] ? qlist_free_all (mm/kasan/quarantine.c:163 mm/kasan/quarantine.c:179) [ 47.510715][ C1] qlist_free_all (mm/kasan/quarantine.c:174) [ 47.510871][ C1] kasan_quarantine_reduce (./include/linux/srcu.h:285 mm/kasan/quarantine.c:287) [ 47.511037][ C1] __kasan_slab_alloc (mm/kasan/common.c:322) [ 47.511199][ C1] kmem_cache_alloc (./include/linux/kasan.h:201 mm/slub.c:3798 mm/slub.c:3845 mm/slub.c:3852) [ 47.511458][ C1] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 47.511620][ C1] p9_tag_alloc (net/9p/client.c:285) [ 47.511789][ C1] ? __pfx_p9_tag_alloc (net/9p/client.c:277) [ 47.511946][ C1] ? 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) [ 47.512111][ C1] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837) [ 47.512268][ C1] ? 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) [ 47.512424][ C1] p9_client_prepare_req (net/9p/client.c:641) [ 47.512579][ C1] ? 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) [ 47.512738][ C1] ? __pfx_p9_client_prepare_req (net/9p/client.c:625) [ 47.512933][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 47.513092][ C1] p9_client_rpc (net/9p/client.c:688 (discriminator 4)) [ 47.513253][ C1] ? __pfx_p9_client_rpc (net/9p/client.c:672) [ 47.513518][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 47.513674][ C1] ? list_lru_add (mm/list_lru.c:106) [ 47.513833][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 47.513993][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 47.514151][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 47.514412][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 47.514579][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 47.514745][ C1] p9_client_clunk (net/9p/client.c:1438 (discriminator 3)) [ 47.514908][ C1] v9fs_dentry_release (fs/9p/vfs_dentry.c:54) [ 47.515068][ C1] __dentry_kill (fs/dcache.c:608) [ 47.515228][ C1] ? __pfx_kfree_link (fs/libfs.c:1573) [ 47.515386][ C1] dput.part.0 (fs/dcache.c:845) [ 47.515549][ C1] walk_component (fs/namei.c:562 fs/namei.c:1027 fs/namei.c:2009) [ 47.515808][ C1] link_path_walk.part.0.constprop.0 (fs/namei.c:2328) [ 47.516008][ C1] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249) [ 47.516214][ C1] path_openat (fs/namei.c:3795) [ 47.516375][ C1] ? __pfx_path_openat (fs/namei.c:3781) [ 47.516642][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 47.516805][ C1] do_filp_open (fs/namei.c:3826) [ 47.516962][ C1] ? __pfx_do_filp_open (fs/namei.c:3820) [ 47.517118][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 47.517385][ C1] ? __pfx_kfree_link (fs/libfs.c:1573) [ 47.517541][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 47.517697][ C1] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 47.517819][ 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) [ 47.517976][ C1] ? _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 47.518131][ C1] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 47.518254][ C1] do_sys_openat2 (fs/open.c:1406) [ 47.518411][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 47.518570][ C1] ? __pfx_do_sys_openat2 (fs/open.c:1392) [ 47.518926][ C1] ? do_user_addr_fault (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 ./include/linux/mm.h:702 arch/x86/mm/fault.c:1364) [ 47.519084][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 47.519246][ 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) [ 47.519402][ C1] __x64_sys_openat (fs/open.c:1432) [ 47.519660][ C1] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 47.519818][ C1] ? do_user_addr_fault (./include/linux/rcupdate.h:815 ./include/linux/mm.h:702 arch/x86/mm/fault.c:1364) [ 47.519978][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 47.520134][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 47.520434][ C1] RIP: 0033:0x7f35025230e8 [ 47.520598][ 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 [ 47.521263][ C1] RSP: 002b:00007ffe72668528 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 [ 47.521507][ C1] RAX: ffffffffffffffda RBX: 00007ffe726685ff RCX: 00007f35025230e8 [ 47.521743][ C1] RDX: 0000000000080000 RSI: 00007f35024f4920 RDI: 00000000ffffff9c [ 47.522087][ C1] RBP: 00007ffe72668590 R08: 0000000000080000 R09: 00007f35024f4920 [ 47.522322][ C1] R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage