======================================
| [ 293.210168][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
| [ 293.210361][ C1]
| [ 293.210441][ C1]
| [ 293.210441][ C1] stack backtrace:
[ 293.210967][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 293.211308][ C1] Call Trace:
[ 293.211439][ C1]
[ 293.211521][ C1] dump_stack_lvl (lib/dump_stack.c:117)
[ 293.211777][ C1] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024)
[ 293.211974][ C1] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024)
[ 293.212182][ C1] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264)
[ 293.212336][ C1] ? __pfx_usage_match (kernel/locking/lockdep.c:2256)
[ 293.212586][ C1] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26)
[ 293.212743][ C1] mark_lock_irq (kernel/locking/lockdep.c:4244)
[ 293.212900][ C1] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207)
[ 293.213056][ C1] ? stack_trace_save (kernel/stacktrace.c:123)
[ 293.213310][ C1] ? add_chain_cache (kernel/locking/lockdep.c:3730)
[ 293.213465][ C1] ? save_trace (kernel/locking/lockdep.c:586)
[ 293.213622][ C1] mark_lock (kernel/locking/lockdep.c:4678)
[ 293.213745][ C1] mark_usage (kernel/locking/lockdep.c:4567)
[ 293.213864][ C1] __lock_acquire (kernel/locking/lockdep.c:5091)
[ 293.214120][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137)
[ 293.214282][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80)
[ 293.214474][ C1] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756)
[ 293.214628][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87)
[ 293.214920][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 293.215077][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52))
[ 293.215238][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87)
[ 293.215529][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727)
[ 293.215685][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87)
[ 293.215879][ C1] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154)
[ 293.216036][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87)
[ 293.216326][ C1] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87)
[ 293.216519][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80)
[ 293.216716][ C1] call_timer_fn (kernel/time/timer.c:1793)
[ 293.216872][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783)
[ 293.217123][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783)
[ 293.217282][ C1] ? __pfx_call_timer_fn (kernel/time/timer.c:1770)
[ 293.217437][ 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)
[ 293.217594][ C1] ? mark_held_locks (kernel/locking/lockdep.c:4274)
[ 293.217851][ C1] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418)
[ 293.218006][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80)
[ 293.218204][ C1] ? __pfx___run_timers (kernel/time/timer.c:2389)
[ 293.218370][ 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)
[ 293.218620][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114)
[ 293.218774][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727)
[ 293.218926][ C1] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448)
[ 293.219082][ C1] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448)
[ 293.219333][ C1] __do_softirq (kernel/softirq.c:554)
[ 293.219491][ C1] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645)
[ 293.219617][ C1] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043)
[ 293.219778][ C1]
[ 293.219861][ C1]
[ 293.219940][ C1] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702)
[ 293.220232][ C1] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194)
[ 293.220435][ C1] 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 66 <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 66 decl %gs:0x660d7bf5(%rip) # 0x660d7c1f
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
[ 293.221191][ C1] RSP: 0018:ffffc900005ef4c8 EFLAGS: 00000286
[ 293.221400][ C1] RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff3a45355
[ 293.221632][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff99f64de1
[ 293.221962][ C1] RBP: ffff88800104f440 R08: 0000000000000001 R09: fffffbfff3a432a9
[ 293.222198][ C1] R10: ffffffff9d21954f R11: 0000000000000008 R12: ffff888002030288
[ 293.222530][ C1] R13: 0000000000000000 R14: ffffc900005ef518 R15: ffff888002031548
[ 293.222773][ C1] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194)
[ 293.222969][ C1] qlist_free_all (mm/kasan/quarantine.c:174)
[ 293.223127][ C1] kasan_quarantine_reduce (./include/linux/srcu.h:285 mm/kasan/quarantine.c:287)
[ 293.223379][ C1] __kasan_slab_alloc (mm/kasan/common.c:322)
[ 293.223535][ C1] kmem_cache_alloc (./include/linux/kasan.h:201 mm/slub.c:3798 mm/slub.c:3845 mm/slub.c:3852)
[ 293.223691][ C1] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94)
[ 293.223852][ C1] p9_tag_alloc (net/9p/client.c:285)
[ 293.224114][ C1] ? __pfx_p9_tag_alloc (net/9p/client.c:277)
[ 293.224269][ 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)
[ 293.224425][ C1] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837)
[ 293.224580][ 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)
[ 293.224830][ C1] p9_client_prepare_req (net/9p/client.c:641)
[ 293.224985][ 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)
[ 293.225140][ C1] ? __pfx_p9_client_prepare_req (net/9p/client.c:625)
[ 293.225333][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137)
[ 293.225584][ C1] p9_client_rpc (net/9p/client.c:688 (discriminator 4))
[ 293.225744][ C1] ? __pfx_p9_client_rpc (net/9p/client.c:672)
[ 293.225900][ C1] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 293.226056][ C1] ? list_lru_add (mm/list_lru.c:106)
[ 293.226214][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406)
[ 293.226466][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 293.226623][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244)
[ 293.226784][ C1] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 293.226943][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406)
[ 293.227202][ C1] p9_client_clunk (net/9p/client.c:1438 (discriminator 3))
[ 293.227358][ C1] v9fs_dentry_release (fs/9p/vfs_dentry.c:54)
[ 293.227514][ C1] __dentry_kill (fs/dcache.c:608)
[ 293.227668][ C1] ? __pfx_kfree_link (fs/libfs.c:1573)
[ 293.227921][ C1] dput.part.0 (fs/dcache.c:845)
[ 293.228077][ C1] walk_component (fs/namei.c:562 fs/namei.c:1027 fs/namei.c:2009)
[ 293.228233][ C1] link_path_walk.part.0.constprop.0 (fs/namei.c:2328)
[ 293.228426][ C1] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249)
[ 293.228718][ C1] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837)
[ 293.228873][ 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)
[ 293.229028][ C1] path_lookupat (fs/namei.c:2254 (discriminator 2) fs/namei.c:2484 (discriminator 2))
[ 293.229184][ C1] filename_lookup (fs/namei.c:2514)
[ 293.229436][ C1] ? __pfx_filename_lookup (fs/namei.c:2508)
[ 293.229604][ C1] ? __pfx_kfree_link (fs/libfs.c:1573)
[ 293.229766][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244)
[ 293.229920][ C1] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 293.230171][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209)
[ 293.230334][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406)
[ 293.230491][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52))
[ 293.230647][ C1] vfs_statx (fs/stat.c:244)
[ 293.230766][ C1] ? __pfx_vfs_statx (fs/stat.c:234)
[ 293.231018][ C1] ? getname_flags (./arch/x86/include/asm/atomic.h:28 ./include/linux/atomic/atomic-arch-fallback.h:503 ./include/linux/atomic/atomic-instrumented.h:68 fs/namei.c:190)
[ 293.231174][ C1] vfs_fstatat (fs/stat.c:305)
[ 293.231290][ C1] __do_sys_newfstatat (fs/stat.c:469)
[ 293.231444][ C1] ? __pfx___do_sys_newfstatat (fs/stat.c:464)
[ 293.231696][ C1] ? __x64_sys_openat (fs/open.c:1432)
[ 293.231858][ C1] ? __pfx___x64_sys_openat (fs/open.c:1432)
[ 293.232013][ C1] ? __pfx_do_faccessat (fs/open.c:465)
[ 293.232175][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 293.232465][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 293.232621][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 293.232812][ C1] RIP: 0033:0x7fd0dd15aeae
[ 293.232976][ C1] Code: 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 07 00 00 00 0f 1f 80 00 00 00 00 f3 0f 1e fa 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 0b 31 c0 c3 0f 1f 84 00 00 00 00 00 f7 d8 89 05
All code
========
0: 48 89 f2 mov %rsi,%rdx
3: b9 00 01 00 00 mov $0x100,%ecx
8: 48 89 fe mov %rdi,%rsi
b: bf 9c ff ff ff mov $0xffffff9c,%edi
10: e9 07 00 00 00 jmp 0x1c
15: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
1c: f3 0f 1e fa endbr64
20: 41 89 ca mov %ecx,%r10d
23: b8 06 01 00 00 mov $0x106,%eax
28: 0f 05 syscall
2a:* 3d 00 f0 ff ff cmp $0xfffff000,%eax <-- trapping instruction
2f: 77 0b ja 0x3c
31: 31 c0 xor %eax,%eax
33: c3 ret
34: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1)
3b: 00
3c: f7 d8 neg %eax
3e: 89 .byte 0x89
3f: 05 .byte 0x5
Code starting with the faulting instruction
===========================================
0: 3d 00 f0 ff ff cmp $0xfffff000,%eax
5: 77 0b ja 0x12
7: 31 c0 xor %eax,%eax
9: c3 ret
a: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1)
11: 00
12: f7 d8 neg %eax
14: 89 .byte 0x89
15: 05 .byte 0x5
[ 293.233731][ C1] RSP: 002b:00007ffff5ffb598 EFLAGS: 00000246 ORIG_RAX: 0000000000000106
[ 293.233965][ C1] RAX: ffffffffffffffda RBX: 000000000000000d RCX: 00007fd0dd15aeae
[ 293.234293][ C1] RDX: 00007ffff5ffb670 RSI: 00007ffff5ffb5a0 RDI: 00000000ffffff9c
[ 293.234531][ C1] RBP: 00007ffff5ffb730 R08: 00000000ffffffff R09: 00007ffff5ffb5a0
[ 293.234864][ C1] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffff5ffb5a7
Finger prints:
dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage