======================================
| [ 43.909438][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
| [ 43.909744][ C2]
| [ 43.909841][ C2]
| [ 43.909841][ C2] stack backtrace:
[ 43.910297][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 43.910791][ C2] Call Trace:
[ 43.910920][ C2]
[ 43.911008][ C2] dump_stack_lvl (lib/dump_stack.c:117)
[ 43.911179][ C2] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024)
[ 43.911488][ C2] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94)
[ 43.911657][ C2] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024)
[ 43.911875][ C2] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264)
[ 43.912043][ C2] ? __pfx_usage_match (kernel/locking/lockdep.c:2256)
[ 43.912313][ C2] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26)
[ 43.912482][ C2] mark_lock_irq (kernel/locking/lockdep.c:4244)
[ 43.912651][ C2] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207)
[ 43.912819][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114)
[ 43.913087][ C2] ? save_trace (kernel/locking/lockdep.c:586)
[ 43.913255][ C2] mark_lock (kernel/locking/lockdep.c:4678)
[ 43.913380][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114)
[ 43.913552][ C2] mark_usage (kernel/locking/lockdep.c:4567)
[ 43.913677][ C2] __lock_acquire (kernel/locking/lockdep.c:5091)
[ 43.913943][ C2] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825)
[ 43.914110][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016)
[ 43.914277][ C2] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756)
[ 43.914444][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023)
[ 43.914733][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 43.914898][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52))
[ 43.915069][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023)
[ 43.915236][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727)
[ 43.915501][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023)
[ 43.915667][ C2] _raw_write_lock (./include/linux/rwlock_api_smp.h:210 kernel/locking/spinlock.c:300)
[ 43.915834][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023)
[ 43.915998][ C2] addrconf_rs_timer (net/ipv6/addrconf.c:4023)
[ 43.916163][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 43.916328][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016)
[ 43.916492][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783)
[ 43.916663][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727)
[ 43.916837][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783)
[ 43.917102][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016)
[ 43.917267][ C2] call_timer_fn (kernel/time/timer.c:1793)
[ 43.917431][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783)
[ 43.917596][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783)
[ 43.917863][ C2] ? __pfx_call_timer_fn (kernel/time/timer.c:1770)
[ 43.918026][ C2] ? 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)
[ 43.918191][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274)
[ 43.918364][ C2] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418)
[ 43.918638][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016)
[ 43.918812][ C2] ? __pfx___run_timers (kernel/time/timer.c:2389)
[ 43.918981][ C2] ? 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)
[ 43.919150][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114)
[ 43.919315][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727)
[ 43.919583][ C2] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448)
[ 43.919749][ C2] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448)
[ 43.919919][ C2] __do_softirq (kernel/softirq.c:554)
[ 43.920081][ C2] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645)
[ 43.920206][ C2] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043)
[ 43.920368][ C2]
[ 43.920453][ C2]
[ 43.920536][ C2] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702)
[ 43.920742][ C2] RIP: 0010:unwind_next_frame (./arch/x86/include/asm/stacktrace.h:59 arch/x86/kernel/unwind_orc.c:665)
[ 43.921161][ C2] Code: 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 d8 05 00 00 49 8b 45 10 48 39 dd 0f 87 f6 fd ff ff 48 39 d8 0f 86 ed fd ff ff 48 8d 53 08 <48> 39 ea 0f 97 c1 48 39 c2 0f 96 c0 84 c1 0f 84 d5 fd ff ff 48 39
All code
========
0: 89 fa mov %edi,%edx
2: 48 c1 ea 03 shr $0x3,%rdx
6: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
a: 0f 85 d8 05 00 00 jne 0x5e8
10: 49 8b 45 10 mov 0x10(%r13),%rax
14: 48 39 dd cmp %rbx,%rbp
17: 0f 87 f6 fd ff ff ja 0xfffffffffffffe13
1d: 48 39 d8 cmp %rbx,%rax
20: 0f 86 ed fd ff ff jbe 0xfffffffffffffe13
26: 48 8d 53 08 lea 0x8(%rbx),%rdx
2a:* 48 39 ea cmp %rbp,%rdx <-- trapping instruction
2d: 0f 97 c1 seta %cl
30: 48 39 c2 cmp %rax,%rdx
33: 0f 96 c0 setbe %al
36: 84 c1 test %al,%cl
38: 0f 84 d5 fd ff ff je 0xfffffffffffffe13
3e: 48 rex.W
3f: 39 .byte 0x39
Code starting with the faulting instruction
===========================================
0: 48 39 ea cmp %rbp,%rdx
3: 0f 97 c1 seta %cl
6: 48 39 c2 cmp %rax,%rdx
9: 0f 96 c0 setbe %al
c: 84 c1 test %al,%cl
e: 0f 84 d5 fd ff ff je 0xfffffffffffffde9
14: 48 rex.W
15: 39 .byte 0x39
[ 43.921759][ C2] RSP: 0018:ffffc90000baf1a8 EFLAGS: 00000202
[ 43.922065][ C2] RAX: ffffc90000bb0000 RBX: ffffc90000baf3e0 RCX: 1ffffffff681f601
[ 43.922306][ C2] RDX: ffffc90000baf3e8 RSI: 0000000000000004 RDI: ffffc90000baf2b8
[ 43.922566][ C2] RBP: ffffc90000ba8000 R08: ffffc90000baf2e8 R09: 1ffff92000175e3e
[ 43.922914][ C2] R10: ffffc90000baf2a8 R11: ffffc90000baf2e9 R12: 1ffff92000175e3e
[ 43.923160][ C2] R13: ffffc90000baf2a8 R14: ffffffffb40fb5de R15: ffffc90000baf3d8
[ 43.923509][ C2] ? unwind_next_frame (arch/x86/kernel/unwind_orc.c:643)
[ 43.923673][ C2] ? stack_trace_save (kernel/stacktrace.c:123)
[ 43.923838][ C2] ? __pfx_unwind_next_frame (arch/x86/kernel/unwind_orc.c:469)
[ 43.924002][ C2] ? stack_trace_save (kernel/stacktrace.c:123)
[ 43.924168][ C2] ? kernel_text_address (kernel/extable.c:99)
[ 43.924332][ C2] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83)
[ 43.924536][ C2] arch_stack_walk (arch/x86/kernel/stacktrace.c:24)
[ 43.924701][ C2] ? kasan_save_stack (mm/kasan/common.c:48)
[ 43.924865][ C2] stack_trace_save (kernel/stacktrace.c:123)
[ 43.925123][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114)
[ 43.925285][ C2] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825)
[ 43.925448][ C2] ? 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)
[ 43.925613][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3))
[ 43.925833][ C2] kasan_save_stack (mm/kasan/common.c:48)
[ 43.925995][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5137)
[ 43.926158][ C2] ? debug_object_active_state (lib/debugobjects.c:950)
[ 43.926359][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244)
[ 43.926637][ C2] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 43.926798][ C2] ? __virt_addr_valid (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:894 ./include/linux/mmzone.h:2029 arch/x86/mm/physaddr.c:65)
[ 43.926960][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406)
[ 43.927121][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 43.927389][ C2] ? __virt_addr_valid (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:894 ./include/linux/mmzone.h:2029 arch/x86/mm/physaddr.c:65)
[ 43.927552][ C2] ? __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)
[ 43.927712][ C2] ? __pfx_free_object_rcu (mm/kmemleak.c:508)
[ 43.927876][ C2] ? kasan_addr_to_slab (./arch/x86/include/asm/bitops.h:206 ./arch/x86/include/asm/bitops.h:238 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 ./include/linux/page-flags.h:507 mm/kasan/../slab.h:206 mm/kasan/common.c:38)
[ 43.928042][ C2] __kasan_record_aux_stack (mm/kasan/generic.c:541)
[ 43.928300][ C2] ? __pfx_free_object_rcu (mm/kmemleak.c:508)
[ 43.928462][ C2] __call_rcu_common.constprop.0 (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:67 ./arch/x86/include/asm/irqflags.h:103 kernel/rcu/tree.c:2735)
[ 43.928671][ C2] kfree (./include/linux/kmemleak.h:48 mm/slub.c:2072 mm/slub.c:4280 mm/slub.c:4390)
[ 43.928796][ C2] ? p9_client_walk (net/9p/client.c:1201)
[ 43.929058][ C2] ? p9_req_put (net/9p/client.c:410)
[ 43.929226][ C2] p9_client_walk (net/9p/client.c:1201)
[ 43.929391][ C2] ? __pfx_p9_client_walk (net/9p/client.c:1143)
[ 43.929555][ C2] ? d_alloc_parallel (./arch/x86/include/asm/bitops.h:94 ./arch/x86/include/asm/bitops.h:112 ./include/asm-generic/bitops/instrumented-lock.h:43 ./include/linux/bit_spinlock.h:80 ./include/linux/list_bl.h:153 fs/dcache.c:2556)
[ 43.929829][ C2] ? v9fs_fid_lookup_with_uid (fs/9p/fid.c:181)
[ 43.929999][ C2] ? v9fs_vfs_lookup.part.0 (fs/9p/vfs_inode.c:676)
[ 43.930172][ C2] v9fs_vfs_lookup.part.0 (fs/9p/vfs_inode.c:676)
[ 43.930338][ C2] ? __pfx_v9fs_vfs_lookup.part.0 (fs/9p/vfs_inode.c:649)
[ 43.930660][ C2] ? lockdep_init_map_type (kernel/locking/lockdep.c:4892)
[ 43.930830][ C2] __lookup_slow (fs/namei.c:1692)
[ 43.930994][ C2] ? __pfx___lookup_slow (fs/namei.c:1668)
[ 43.931161][ C2] ? walk_component (fs/namei.c:1709 fs/namei.c:2004)
[ 43.931425][ C2] walk_component (./include/linux/fs.h:808 fs/namei.c:1710 fs/namei.c:2004)
[ 43.931590][ C2] link_path_walk.part.0.constprop.0 (fs/namei.c:2331)
[ 43.931814][ C2] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249)
[ 43.932019][ C2] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837)
[ 43.932186][ C2] ? 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)
[ 43.932353][ C2] path_lookupat (fs/namei.c:2254 (discriminator 2) fs/namei.c:2484 (discriminator 2))
[ 43.932525][ C2] filename_lookup (fs/namei.c:2514)
[ 43.932695][ C2] ? __pfx_filename_lookup (fs/namei.c:2508)
[ 43.932963][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244)
[ 43.933128][ C2] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 43.933300][ C2] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209)
[ 43.933468][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406)
[ 43.933633][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52))
[ 43.933994][ C2] vfs_statx (fs/stat.c:244)
[ 43.934121][ C2] ? __pfx_vfs_statx (fs/stat.c:234)
[ 43.934286][ C2] ? 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)
[ 43.934451][ C2] vfs_fstatat (fs/stat.c:305)
[ 43.934682][ C2] __do_sys_newfstatat (fs/stat.c:469)
[ 43.934852][ C2] ? __pfx___do_sys_newfstatat (fs/stat.c:464)
[ 43.935025][ C2] ? __x64_sys_openat (fs/open.c:1432)
[ 43.935192][ C2] ? __pfx___x64_sys_openat (fs/open.c:1432)
[ 43.935356][ C2] ? __pfx_do_faccessat (fs/open.c:465)
[ 43.935625][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 43.935832][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 43.936000][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 43.936209][ C2] RIP: 0033:0x7f3813968eae
[ 43.936388][ C2] 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
[ 43.937079][ C2] RSP: 002b:00007ffd5a179de8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106
[ 43.937329][ C2] RAX: ffffffffffffffda RBX: 000000000000000d RCX: 00007f3813968eae
[ 43.937577][ C2] RDX: 00007ffd5a179ec0 RSI: 00007ffd5a179df0 RDI: 00000000ffffff9c
[ 43.937933][ C2] RBP: 00007ffd5a179f80 R08: 00000000ffffffff R09: 00007ffd5a179df0
[ 43.938177][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd5a179df7
Finger prints:
dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage