====================================== | [ 42.310841][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 42.311116][ C3] | [ 42.311192][ C3] | [ 42.311192][ C3] stack backtrace: [ 42.311596][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 42.312023][ C3] Call Trace: [ 42.312140][ C3] [ 42.312217][ C3] dump_stack_lvl (lib/dump_stack.c:117) [ 42.312368][ C3] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 42.312643][ C3] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 42.312830][ C3] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 42.312980][ C3] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 42.313129][ C3] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 42.313372][ C3] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 42.313521][ C3] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 42.313670][ C3] ? stack_trace_save (kernel/stacktrace.c:123) [ 42.313820][ C3] ? add_chain_cache (kernel/locking/lockdep.c:3730) [ 42.314061][ C3] ? save_trace (kernel/locking/lockdep.c:586) [ 42.314209][ C3] mark_lock (kernel/locking/lockdep.c:4678) [ 42.314323][ C3] mark_usage (kernel/locking/lockdep.c:4567) [ 42.314436][ C3] __lock_acquire (kernel/locking/lockdep.c:5091) [ 42.314585][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 42.314826][ C3] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) [ 42.315010][ C3] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 42.315158][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) [ 42.315344][ C3] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 42.315584][ C3] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 42.315736][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) [ 42.315920][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 42.316069][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) [ 42.316347][ C3] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 42.316495][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) [ 42.316679][ C3] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) [ 42.316959][ C3] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) [ 42.317148][ C3] call_timer_fn (kernel/time/timer.c:1793) [ 42.317297][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 42.317444][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 42.317593][ C3] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 42.317742][ 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) [ 42.317914][ C3] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 42.318068][ C3] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 42.318314][ C3] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) [ 42.318508][ C3] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 42.318660][ 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) [ 42.318811][ C3] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 42.319055][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 42.319207][ C3] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 42.319359][ C3] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 42.319511][ C3] __do_softirq (kernel/softirq.c:554) [ 42.319680][ C3] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 42.319884][ C3] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 42.320040][ C3] [ 42.320116][ C3] [ 42.320192][ C3] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 42.320375][ C3] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 42.320662][ C3] Code: 10 e8 81 21 79 fd 48 89 ef e8 b9 91 79 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 f5 7b 0d 4b <74> 0e 5b 5d c3 cc cc cc cc e8 0f f0 9c fd eb dc 0f 1f 44 00 00 5b All code ======== 0: 10 e8 adc %ch,%al 2: 81 21 79 fd 48 89 andl $0x8948fd79,(%rcx) 8: ef out %eax,(%dx) 9: e8 b9 91 79 fd call 0xfffffffffd7991c7 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 f5 7b 0d 4b decl %gs:0x4b0d7bf5(%rip) # 0x4b0d7c1f 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 0f f0 9c fd call 0xfffffffffd9cf047 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 0f f0 9c fd call 0xfffffffffd9cf01d e: eb dc jmp 0xffffffffffffffec 10: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 15: 5b pop %rbx [ 42.321283][ C3] RSP: 0018:ffffc900006ff528 EFLAGS: 00000286 [ 42.321475][ C3] RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff7045355 [ 42.321696][ C3] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffb4f64de1 [ 42.322022][ C3] RBP: ffff8880010411c0 R08: 0000000000000001 R09: fffffbfff70432a9 [ 42.322244][ C3] R10: ffffffffb821954f R11: 0000000000002000 R12: ffff888008576bb8 [ 42.322465][ C3] R13: 0000000000000000 R14: ffffc900006ff578 R15: ffff8880059ba000 [ 42.322692][ C3] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 42.322877][ C3] qlist_free_all (mm/kasan/quarantine.c:174) [ 42.323027][ C3] kasan_quarantine_reduce (./include/linux/srcu.h:285 mm/kasan/quarantine.c:287) [ 42.323177][ C3] __kasan_slab_alloc (mm/kasan/common.c:322) [ 42.323419][ C3] kmem_cache_alloc (./include/linux/kasan.h:201 mm/slub.c:3798 mm/slub.c:3845 mm/slub.c:3852) [ 42.323568][ C3] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 42.323717][ C3] p9_tag_alloc (net/9p/client.c:285) [ 42.323868][ C3] ? __pfx_p9_tag_alloc (net/9p/client.c:277) [ 42.324108][ 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) [ 42.324256][ C3] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837) [ 42.324405][ 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) [ 42.324552][ C3] p9_client_prepare_req (net/9p/client.c:641) [ 42.324701][ 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) [ 42.324957][ C3] ? __pfx_p9_client_prepare_req (net/9p/client.c:625) [ 42.325146][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 42.325299][ C3] p9_client_rpc (net/9p/client.c:688 (discriminator 4)) [ 42.325456][ C3] ? __pfx_p9_client_rpc (net/9p/client.c:672) [ 42.325701][ C3] ? __lock_release (kernel/locking/lockdep.c:5430) [ 42.325863][ C3] ? list_lru_add (mm/list_lru.c:106) [ 42.326015][ C3] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 42.326164][ C3] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 42.326406][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 42.326556][ C3] ? __lock_release (kernel/locking/lockdep.c:5430) [ 42.326706][ C3] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 42.326862][ C3] p9_client_clunk (net/9p/client.c:1438 (discriminator 3)) [ 42.327106][ C3] v9fs_dentry_release (fs/9p/vfs_dentry.c:54) [ 42.327256][ C3] __dentry_kill (fs/dcache.c:608) [ 42.327404][ C3] ? __pfx_kfree_link (fs/libfs.c:1573) [ 42.327552][ C3] dput.part.0 (fs/dcache.c:845) [ 42.327815][ C3] walk_component (fs/namei.c:562 fs/namei.c:1027 fs/namei.c:2009) [ 42.327980][ C3] link_path_walk.part.0.constprop.0 (fs/namei.c:2328) [ 42.328171][ C3] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249) [ 42.328366][ C3] path_openat (fs/namei.c:3795) [ 42.328614][ C3] ? __pfx_path_openat (fs/namei.c:3781) [ 42.328766][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 42.328919][ C3] do_filp_open (fs/namei.c:3826) [ 42.329085][ C3] ? __pfx_do_filp_open (fs/namei.c:3820) [ 42.329499][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 42.329755][ C3] ? __pfx_kfree_link (fs/libfs.c:1573) [ 42.330004][ C3] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 42.330256][ C3] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 42.330452][ 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) [ 42.330846][ C3] ? _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 42.331094][ C3] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 42.331289][ C3] do_sys_openat2 (fs/open.c:1406) [ 42.331540][ C3] ? vfs_fstatat (fs/stat.c:308) [ 42.331971][ C3] ? __pfx_do_sys_openat2 (fs/open.c:1392) [ 42.332221][ C3] ? __pfx___do_sys_newfstatat (fs/stat.c:464) [ 42.332378][ C3] __x64_sys_openat (fs/open.c:1432) [ 42.332529][ C3] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 42.332679][ C3] ? __pfx_do_faccessat (fs/open.c:465) [ 42.332832][ C3] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 42.332982][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 42.333197][ C3] RIP: 0033:0x7fca265610e8 [ 42.333355][ C3] 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 [ 42.333998][ C3] RSP: 002b:00007fff0fec7f38 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 [ 42.334333][ C3] RAX: ffffffffffffffda RBX: 00007fff0fec81cf RCX: 00007fca265610e8 [ 42.334553][ C3] RDX: 0000000000080000 RSI: 00007fff0fec7fb0 RDI: 00000000ffffff9c [ 42.334774][ C3] RBP: 00007fff0fec7fa0 R08: 0000000000080000 R09: 00007fff0fec7fb0 [ 42.335094][ C3] R10: 0000000000000000 R11: 0000000000000287 R12: 00007fff0fec7fb7 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage