====================================== | [ 95.067293][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 95.067490][ C1] | [ 95.067576][ C1] | [ 95.067576][ C1] stack backtrace: [ 95.068011][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 95.068369][ C1] Call Trace: [ 95.068491][ C1] [ 95.068575][ C1] dump_stack_lvl (lib/dump_stack.c:117) [ 95.068742][ C1] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 95.068949][ C1] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 95.069249][ C1] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 95.069411][ C1] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 95.069571][ C1] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 95.069735][ C1] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 95.069996][ C1] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 95.070158][ C1] ? stack_trace_save (kernel/stacktrace.c:123) [ 95.070317][ C1] ? add_chain_cache (kernel/locking/lockdep.c:3730) [ 95.070483][ C1] ? save_trace (kernel/locking/lockdep.c:586) [ 95.070644][ C1] mark_lock (kernel/locking/lockdep.c:4678) [ 95.070762][ C1] mark_usage (kernel/locking/lockdep.c:4567) [ 95.070881][ C1] __lock_acquire (kernel/locking/lockdep.c:5091) [ 95.071042][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 95.071201][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 95.071581][ C1] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 95.071737][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 95.071979][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 95.072241][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 95.072400][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 95.072636][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 95.072795][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 95.073139][ C1] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 95.073296][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 95.073530][ C1] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 95.073763][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 95.074140][ C1] call_timer_fn (kernel/time/timer.c:1793) [ 95.074295][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 95.074450][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 95.074607][ C1] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 95.074779][ 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) [ 95.074953][ C1] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 95.075138][ C1] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 95.075302][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 95.075572][ C1] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 95.075730][ 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) [ 95.075886][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 95.076060][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 95.076315][ C1] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 95.076473][ C1] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 95.076639][ C1] __do_softirq (kernel/softirq.c:554) [ 95.076809][ C1] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 95.077043][ C1] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 95.077204][ C1] [ 95.077287][ C1] [ 95.077368][ C1] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 95.077576][ C1] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 95.077789][ 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 cf 79 <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 cf 79 decl %gs:0x79cfbf05(%rip) # 0x79cfbf2f 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 [ 95.078432][ C1] RSP: 0018:ffffc9000075f4c8 EFLAGS: 00000286 [ 95.078748][ C1] RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff12a5955 [ 95.079006][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff86340911 [ 95.079242][ C1] RBP: ffff8880010411c0 R08: 0000000000000001 R09: fffffbfff12a38a9 [ 95.079585][ C1] R10: ffffffff8951c54f R11: 0000000000002000 R12: ffff888001043540 [ 95.079823][ C1] R13: ffff888024d02000 R14: 0000000000000286 R15: ffff8880010411c0 [ 95.080157][ C1] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 95.080361][ C1] free_to_partial_list (mm/slub.c:4071) [ 95.080518][ C1] ? qlist_free_all (mm/kasan/quarantine.c:163 mm/kasan/quarantine.c:179) [ 95.080683][ C1] qlist_free_all (mm/kasan/quarantine.c:174) [ 95.080952][ C1] kasan_quarantine_reduce (./include/linux/srcu.h:285 mm/kasan/quarantine.c:287) [ 95.081116][ C1] __kasan_slab_alloc (mm/kasan/common.c:322) [ 95.081276][ C1] kmem_cache_alloc (./include/linux/kasan.h:201 mm/slub.c:3798 mm/slub.c:3845 mm/slub.c:3852) [ 95.081449][ C1] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 95.081613][ C1] p9_tag_alloc (net/9p/client.c:285) [ 95.081777][ C1] ? __pfx_p9_tag_alloc (net/9p/client.c:277) [ 95.081943][ 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) [ 95.082103][ C1] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837) [ 95.082260][ 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) [ 95.082434][ C1] p9_client_prepare_req (net/9p/client.c:641) [ 95.082589][ 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) [ 95.082751][ C1] ? __pfx_p9_client_prepare_req (net/9p/client.c:625) [ 95.082952][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 95.083308][ C1] p9_client_rpc (net/9p/client.c:688 (discriminator 4)) [ 95.083480][ C1] ? __pfx_p9_client_rpc (net/9p/client.c:672) [ 95.083637][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 95.083793][ C1] ? list_lru_add (mm/list_lru.c:106) [ 95.084065][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 95.084227][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 95.084386][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 95.084546][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 95.084702][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 95.084863][ C1] p9_client_clunk (net/9p/client.c:1438 (discriminator 3)) [ 95.085021][ C1] v9fs_dentry_release (fs/9p/vfs_dentry.c:54) [ 95.085193][ C1] __dentry_kill (fs/dcache.c:608) [ 95.085357][ C1] ? __pfx_kfree_link (fs/libfs.c:1573) [ 95.085516][ C1] dput.part.0 (fs/dcache.c:845) [ 95.085677][ C1] walk_component (fs/namei.c:562 fs/namei.c:1027 fs/namei.c:2009) [ 95.085835][ C1] link_path_walk.part.0.constprop.0 (fs/namei.c:2328) [ 95.086034][ C1] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249) [ 95.086336][ C1] path_openat (fs/namei.c:3795) [ 95.086493][ C1] ? __pfx_path_openat (fs/namei.c:3781) [ 95.086654][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 95.086812][ C1] do_filp_open (fs/namei.c:3826) [ 95.087084][ C1] ? __pfx_do_filp_open (fs/namei.c:3820) [ 95.087242][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 95.087405][ C1] ? __pfx_kfree_link (fs/libfs.c:1573) [ 95.087571][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 95.087730][ C1] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 95.087853][ 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) [ 95.088009][ C1] ? _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 95.088173][ C1] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 95.088299][ C1] do_sys_openat2 (fs/open.c:1406) [ 95.088456][ C1] ? __pfx_do_sys_openat2 (fs/open.c:1392) [ 95.088612][ C1] ? __pfx___debug_check_no_obj_freed (lib/debugobjects.c:960) [ 95.088810][ C1] ? __virt_addr_valid (./arch/x86/include/asm/preempt.h:94 ./include/linux/rcupdate.h:896 ./include/linux/mmzone.h:2029 arch/x86/mm/physaddr.c:65) [ 95.088973][ C1] __x64_sys_openat (fs/open.c:1432) [ 95.089228][ C1] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 95.089386][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 95.089545][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 95.089747][ C1] RIP: 0033:0x7f48bbae90e8 [ 95.090012][ 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 [ 95.090666][ C1] RSP: 002b:00007ffc116a1988 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 [ 95.090917][ C1] RAX: ffffffffffffffda RBX: 00007ffc116a1c0f RCX: 00007f48bbae90e8 [ 95.091164][ C1] RDX: 0000000000080000 RSI: 00007ffc116a1a00 RDI: 00000000ffffff9c [ 95.091499][ C1] RBP: 00007ffc116a19f0 R08: 0000000000080000 R09: 00007ffc116a1a00 [ 95.091730][ C1] R10: 0000000000000000 R11: 0000000000000287 R12: 00007ffc116a1a07 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage