====================================== | [ 44.900254][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 44.900584][ C3] | [ 44.900673][ C3] | [ 44.900673][ C3] stack backtrace: [ 44.901301][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 44.901707][ C3] Call Trace: [ 44.901844][ C3] [ 44.901934][ C3] dump_stack_lvl (lib/dump_stack.c:117) [ 44.902116][ C3] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 44.902335][ C3] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 44.902560][ C3] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 44.902730][ C3] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 44.902892][ C3] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 44.903056][ C3] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 44.903219][ C3] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 44.903384][ C3] ? stack_trace_save (kernel/stacktrace.c:123) [ 44.903560][ C3] ? add_chain_cache (kernel/locking/lockdep.c:3730) [ 44.903740][ C3] ? save_trace (kernel/locking/lockdep.c:586) [ 44.904020][ C3] mark_lock (kernel/locking/lockdep.c:4678) [ 44.904151][ C3] mark_usage (kernel/locking/lockdep.c:4567) [ 44.904284][ C3] __lock_acquire (kernel/locking/lockdep.c:5091) [ 44.904460][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 44.904735][ C3] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 44.905032][ C3] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 44.905206][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 44.905464][ C3] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 44.905753][ C3] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 44.905929][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 44.906195][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 44.906366][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 44.906723][ C3] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 44.906901][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 44.907150][ C3] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 44.907514][ C3] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 44.907818][ C3] call_timer_fn (kernel/time/timer.c:1793) [ 44.907993][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 44.908320][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 44.908492][ C3] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 44.908667][ 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) [ 44.908842][ C3] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 44.909016][ C3] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 44.909190][ C3] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 44.909484][ C3] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 44.909657][ 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) [ 44.909830][ C3] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 44.910108][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 44.910285][ C3] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 44.910460][ C3] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 44.910637][ C3] __do_softirq (kernel/softirq.c:554) [ 44.911018][ C3] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 44.911153][ C3] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 44.911325][ C3] [ 44.911417][ C3] [ 44.911506][ C3] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 44.911724][ C3] RIP: 0010:kasan_report (mm/kasan/report.c:609) [ 44.912012][ C3] Code: 24 28 4c 89 6c 24 30 e8 5d f5 ff ff 48 8d 7c 24 10 e8 73 fa ff ff 0f b6 d3 48 89 ee 48 8d 7c 24 08 e8 e3 fc ff ff ff 34 24 9d <48> 83 c4 70 44 89 e0 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc All code ======== 0: 24 28 and $0x28,%al 2: 4c 89 6c 24 30 mov %r13,0x30(%rsp) 7: e8 5d f5 ff ff call 0xfffffffffffff569 c: 48 8d 7c 24 10 lea 0x10(%rsp),%rdi 11: e8 73 fa ff ff call 0xfffffffffffffa89 16: 0f b6 d3 movzbl %bl,%edx 19: 48 89 ee mov %rbp,%rsi 1c: 48 8d 7c 24 08 lea 0x8(%rsp),%rdi 21: e8 e3 fc ff ff call 0xfffffffffffffd09 26: ff 34 24 push (%rsp) 29: 9d popf 2a:* 48 83 c4 70 add $0x70,%rsp <-- trapping instruction 2e: 44 89 e0 mov %r12d,%eax 31: 5b pop %rbx 32: 5d pop %rbp 33: 41 5c pop %r12 35: 41 5d pop %r13 37: 41 5e pop %r14 39: 41 5f pop %r15 3b: c3 ret 3c: cc int3 3d: cc int3 3e: cc int3 3f: cc int3 Code starting with the faulting instruction =========================================== 0: 48 83 c4 70 add $0x70,%rsp 4: 44 89 e0 mov %r12d,%eax 7: 5b pop %rbx 8: 5d pop %rbp 9: 41 5c pop %r12 b: 41 5d pop %r13 d: 41 5e pop %r14 f: 41 5f pop %r15 11: c3 ret 12: cc int3 13: cc int3 14: cc int3 15: cc int3 [ 44.912739][ C3] RSP: 0018:ffffc9000060f3e8 EFLAGS: 00000286 [ 44.912967][ C3] RAX: 00000000ffffffff RBX: ffff8880074b7eb8 RCX: ffffffff9763b764 [ 44.913228][ C3] RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8880074b7eb8 [ 44.913593][ C3] RBP: 0000000000002000 R08: 0000000000000001 R09: fffffbfff35238a9 [ 44.913855][ C3] R10: ffffffff9a91c54f R11: 0000000000002000 R12: 0000000000000000 [ 44.914112][ C3] R13: 000000000000005a R14: dffffc0000000000 R15: ffff88800768c5c0 [ 44.914484][ C3] ? memchr_inv (lib/string.c:856) [ 44.914664][ C3] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 44.914834][ 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) [ 44.915009][ C3] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 44.915142][ C3] memchr_inv (lib/string.c:856) [ 44.915378][ C3] slab_pad_check.part.0 (mm/slub.c:1281) [ 44.915549][ C3] free_slab (mm/slub.c:242 mm/slub.c:2423) [ 44.915681][ C3] qlist_free_all (mm/kasan/quarantine.c:174) [ 44.915854][ C3] kasan_quarantine_reduce (./include/linux/srcu.h:285 mm/kasan/quarantine.c:287) [ 44.916137][ C3] __kasan_slab_alloc (mm/kasan/common.c:322) [ 44.916312][ C3] kmem_cache_alloc (./include/linux/kasan.h:201 mm/slub.c:3798 mm/slub.c:3845 mm/slub.c:3852) [ 44.916485][ C3] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 44.916663][ C3] p9_tag_alloc (net/9p/client.c:285) [ 44.916839][ C3] ? __pfx_p9_tag_alloc (net/9p/client.c:277) [ 44.917011][ 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) [ 44.917186][ C3] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837) [ 44.917357][ 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) [ 44.917527][ C3] p9_client_prepare_req (net/9p/client.c:641) [ 44.917701][ 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) [ 44.917873][ C3] ? __pfx_p9_client_prepare_req (net/9p/client.c:625) [ 44.918102][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 44.918278][ C3] p9_client_rpc (net/9p/client.c:688 (discriminator 4)) [ 44.918451][ C3] ? __pfx_p9_client_rpc (net/9p/client.c:672) [ 44.918622][ C3] ? __lock_release (kernel/locking/lockdep.c:5430) [ 44.918790][ C3] ? list_lru_add (mm/list_lru.c:106) [ 44.918961][ C3] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 44.919271][ C3] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 44.919442][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 44.919612][ C3] ? __lock_release (kernel/locking/lockdep.c:5430) [ 44.919788][ C3] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 44.919962][ C3] p9_client_clunk (net/9p/client.c:1438 (discriminator 3)) [ 44.920136][ C3] v9fs_dentry_release (fs/9p/vfs_dentry.c:54) [ 44.920316][ C3] __dentry_kill (fs/dcache.c:608) [ 44.920490][ C3] ? __pfx_kfree_link (fs/libfs.c:1573) [ 44.920664][ C3] dput.part.0 (fs/dcache.c:845) [ 44.920837][ C3] walk_component (fs/namei.c:562 fs/namei.c:1027 fs/namei.c:2009) [ 44.921008][ C3] link_path_walk.part.0.constprop.0 (fs/namei.c:2328) [ 44.921230][ C3] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249) [ 44.921452][ C3] path_openat (fs/namei.c:3795) [ 44.921629][ C3] ? __pfx_path_openat (fs/namei.c:3781) [ 44.921801][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 44.921976][ C3] do_filp_open (fs/namei.c:3826) [ 44.922151][ C3] ? __pfx_do_filp_open (fs/namei.c:3820) [ 44.922429][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 44.922603][ C3] ? __pfx_kfree_link (fs/libfs.c:1573) [ 44.922776][ C3] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 44.922951][ C3] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 44.923198][ 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) [ 44.923371][ C3] ? _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 44.923548][ C3] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 44.923683][ C3] do_sys_openat2 (fs/open.c:1406) [ 44.923857][ C3] ? vfs_fstatat (fs/stat.c:308) [ 44.924030][ C3] ? __pfx_do_sys_openat2 (fs/open.c:1392) [ 44.924204][ C3] ? __pfx___do_sys_newfstatat (fs/stat.c:464) [ 44.924384][ C3] __x64_sys_openat (fs/open.c:1432) [ 44.924558][ C3] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 44.924731][ C3] ? __pfx_do_faccessat (fs/open.c:465) [ 44.924906][ C3] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 44.925079][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 44.925292][ C3] RIP: 0033:0x7f0fea4600e8 [ 44.925577][ 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 [ 44.926189][ C3] RSP: 002b:00007ffe6dbefef8 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 [ 44.926559][ C3] RAX: ffffffffffffffda RBX: 00007ffe6dbf017f RCX: 00007f0fea4600e8 [ 44.926819][ C3] RDX: 0000000000080000 RSI: 00007ffe6dbeff70 RDI: 00000000ffffff9c [ 44.927215][ C3] RBP: 00007ffe6dbeff60 R08: 0000000000080000 R09: 00007ffe6dbeff70 [ 44.927476][ C3] R10: 0000000000000000 R11: 0000000000000287 R12: 00007ffe6dbeff77 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage