====================================== | [ 47.452359][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 47.452569][ C1] | [ 47.452652][ C1] | [ 47.452652][ C1] stack backtrace: [ 47.453211][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 47.453585][ C1] Call Trace: [ 47.453833][ C1] [ 47.453921][ C1] dump_stack_lvl (lib/dump_stack.c:117) [ 47.454089][ C1] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 47.454298][ C1] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 47.454510][ C1] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 47.454680][ C1] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 47.454846][ C1] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 47.455014][ C1] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 47.455179][ C1] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 47.455349][ C1] ? stack_trace_save (kernel/stacktrace.c:123) [ 47.455519][ C1] ? add_chain_cache (kernel/locking/lockdep.c:3730) [ 47.455701][ C1] ? save_trace (kernel/locking/lockdep.c:586) [ 47.455869][ C1] mark_lock (kernel/locking/lockdep.c:4678) [ 47.455996][ C1] mark_usage (kernel/locking/lockdep.c:4567) [ 47.456121][ C1] __lock_acquire (kernel/locking/lockdep.c:5091) [ 47.456288][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 47.456453][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 47.456842][ C1] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 47.457006][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 47.457249][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 47.457415][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 47.457585][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 47.457826][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 47.458000][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 47.458243][ C1] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 47.458512][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 47.458752][ C1] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 47.458989][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 47.459378][ C1] call_timer_fn (kernel/time/timer.c:1793) [ 47.459648][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 47.459813][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 47.459974][ C1] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 47.460140][ 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.460306][ C1] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 47.460476][ C1] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 47.460761][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 47.461053][ C1] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 47.461228][ 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.461396][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 47.461562][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 47.461725][ 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.462013][ 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.462186][ C1] __do_softirq (kernel/softirq.c:554) [ 47.462361][ C1] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 47.462493][ C1] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 47.462670][ C1] [ 47.462760][ C1] [ 47.462846][ C1] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 47.463053][ C1] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 47.463273][ 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 8f 69 <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 8f 69 decl %gs:0x698fbf05(%rip) # 0x698fbf2f 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.463992][ C1] RSP: 0018:ffffc9000074f528 EFLAGS: 00000286 [ 47.464312][ C1] RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff3325955 [ 47.464564][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff96740911 [ 47.464813][ C1] RBP: ffff888001041080 R08: 0000000000000001 R09: fffffbfff33238a9 [ 47.465270][ C1] R10: ffffffff9991c54f R11: 0000000000001000 R12: ffff888003d0fd00 [ 47.465525][ C1] R13: 0000000000000000 R14: ffffc9000074f578 R15: ffff88800649c000 [ 47.465778][ C1] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 47.465990][ C1] qlist_free_all (mm/kasan/quarantine.c:174) [ 47.466160][ C1] kasan_quarantine_reduce (./include/linux/srcu.h:285 mm/kasan/quarantine.c:287) [ 47.466328][ C1] __kasan_slab_alloc (mm/kasan/common.c:322) [ 47.466604][ C1] kmem_cache_alloc (./include/linux/kasan.h:201 mm/slub.c:3798 mm/slub.c:3845 mm/slub.c:3852) [ 47.466775][ C1] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 47.466946][ C1] p9_tag_alloc (net/9p/client.c:285) [ 47.467115][ C1] ? __pfx_p9_tag_alloc (net/9p/client.c:277) [ 47.467294][ 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.467466][ C1] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837) [ 47.467838][ 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.468003][ C1] p9_client_prepare_req (net/9p/client.c:641) [ 47.468175][ 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.468342][ C1] ? __pfx_p9_client_prepare_req (net/9p/client.c:625) [ 47.468553][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 47.468829][ C1] p9_client_rpc (net/9p/client.c:688 (discriminator 4)) [ 47.468998][ C1] ? __pfx_p9_client_rpc (net/9p/client.c:672) [ 47.469164][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 47.469330][ C1] ? list_lru_add (mm/list_lru.c:106) [ 47.469499][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 47.469666][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 47.469835][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 47.470003][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 47.470171][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 47.470344][ C1] p9_client_clunk (net/9p/client.c:1438 (discriminator 3)) [ 47.470517][ C1] v9fs_dentry_release (fs/9p/vfs_dentry.c:54) [ 47.470796][ C1] __dentry_kill (fs/dcache.c:608) [ 47.470961][ C1] ? __pfx_kfree_link (fs/libfs.c:1573) [ 47.471118][ C1] dput.part.0 (fs/dcache.c:845) [ 47.471381][ C1] walk_component (fs/namei.c:562 fs/namei.c:1027 fs/namei.c:2009) [ 47.471549][ C1] link_path_walk.part.0.constprop.0 (fs/namei.c:2328) [ 47.471850][ C1] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249) [ 47.472043][ C1] path_openat (fs/namei.c:3795) [ 47.472301][ C1] ? __pfx_path_openat (fs/namei.c:3781) [ 47.472556][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 47.472715][ C1] do_filp_open (fs/namei.c:3826) [ 47.472973][ C1] ? __pfx_do_filp_open (fs/namei.c:3820) [ 47.473132][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 47.473397][ C1] ? __pfx_kfree_link (fs/libfs.c:1573) [ 47.473671][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 47.473836][ C1] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 47.473953][ 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.474107][ C1] ? _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 47.474260][ C1] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 47.474486][ C1] do_sys_openat2 (fs/open.c:1406) [ 47.474642][ C1] ? vfs_fstatat (fs/stat.c:308) [ 47.474802][ C1] ? __pfx_do_sys_openat2 (fs/open.c:1392) [ 47.474957][ C1] ? __pfx___do_sys_newfstatat (fs/stat.c:464) [ 47.475115][ C1] __x64_sys_openat (fs/open.c:1432) [ 47.475270][ C1] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 47.475427][ C1] ? __pfx_do_faccessat (fs/open.c:465) [ 47.475687][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 47.475843][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 47.476038][ C1] RIP: 0033:0x7f8bef4a30e8 [ 47.476201][ 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.476971][ C1] RSP: 002b:00007ffe49676ed8 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 [ 47.477213][ C1] RAX: ffffffffffffffda RBX: 00007ffe4967715f RCX: 00007f8bef4a30e8 [ 47.477564][ C1] RDX: 0000000000080000 RSI: 00007ffe49676f50 RDI: 00000000ffffff9c [ 47.477818][ C1] RBP: 00007ffe49676f40 R08: 0000000000080000 R09: 00007ffe49676f50 [ 47.478072][ C1] R10: 0000000000000000 R11: 0000000000000287 R12: 00007ffe49676f57 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage