======================================
| [ 49.082243][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
| [ 49.082458][ C3]
| [ 49.082644][ C3]
| [ 49.082644][ C3] stack backtrace:
[ 49.083125][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 49.083611][ C3] Call Trace:
[ 49.083756][ C3]
[ 49.083846][ C3] dump_stack_lvl (lib/dump_stack.c:117)
[ 49.084037][ C3] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024)
[ 49.084391][ C3] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024)
[ 49.084613][ C3] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264)
[ 49.084787][ C3] ? __pfx_usage_match (kernel/locking/lockdep.c:2256)
[ 49.084960][ C3] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26)
[ 49.085144][ C3] mark_lock_irq (kernel/locking/lockdep.c:4244)
[ 49.085318][ C3] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207)
[ 49.085495][ C3] ? stack_trace_save (kernel/stacktrace.c:123)
[ 49.085680][ C3] ? add_chain_cache (kernel/locking/lockdep.c:3730)
[ 49.085860][ C3] ? save_trace (kernel/locking/lockdep.c:586)
[ 49.086143][ C3] mark_lock (kernel/locking/lockdep.c:4678)
[ 49.086288][ C3] mark_usage (kernel/locking/lockdep.c:4567)
[ 49.086425][ C3] __lock_acquire (kernel/locking/lockdep.c:5091)
[ 49.086600][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5137)
[ 49.086878][ C3] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80)
[ 49.087103][ C3] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756)
[ 49.087277][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87)
[ 49.087497][ C3] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 49.087775][ C3] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52))
[ 49.087948][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87)
[ 49.088191][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727)
[ 49.088369][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87)
[ 49.088691][ C3] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154)
[ 49.088864][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87)
[ 49.089108][ C3] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87)
[ 49.089365][ C3] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80)
[ 49.089747][ C3] call_timer_fn (kernel/time/timer.c:1793)
[ 49.090016][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783)
[ 49.090275][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783)
[ 49.090504][ C3] ? __pfx_call_timer_fn (kernel/time/timer.c:1770)
[ 49.090958][ C3] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3))
[ 49.091158][ C3] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418)
[ 49.091447][ C3] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80)
[ 49.091793][ C3] ? __pfx___run_timers (kernel/time/timer.c:2389)
[ 49.092445][ 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)
[ 49.092722][ C3] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114)
[ 49.093004][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727)
[ 49.093284][ C3] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448)
[ 49.093570][ C3] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448)
[ 49.093857][ C3] __do_softirq (kernel/softirq.c:554)
[ 49.094148][ C3] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645)
[ 49.094369][ C3] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043)
[ 49.094651][ C3]
[ 49.094978][ C3]
[ 49.095125][ C3] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702)
[ 49.095474][ C3] RIP: 0010:core_kernel_text (kernel/extable.c:67)
[ 49.095776][ C3] Code: cc 48 89 ef e8 31 4d 1a 00 48 85 c0 75 ed 48 89 ef 5d e9 d3 f2 3a 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <66> 0f 1f 00 53 48 89 fb 48 83 ec 08 48 81 ff 00 00 40 8b 72 09 48
All code
========
0: cc int3
1: 48 89 ef mov %rbp,%rdi
4: e8 31 4d 1a 00 call 0x1a4d3a
9: 48 85 c0 test %rax,%rax
c: 75 ed jne 0xfffffffffffffffb
e: 48 89 ef mov %rbp,%rdi
11: 5d pop %rbp
12: e9 d3 f2 3a 00 jmp 0x3af2ea
17: 0f 1f 00 nopl (%rax)
1a: 90 nop
1b: 90 nop
1c: 90 nop
1d: 90 nop
1e: 90 nop
1f: 90 nop
20: 90 nop
21: 90 nop
22: 90 nop
23: 90 nop
24: 90 nop
25: 90 nop
26: 90 nop
27: 90 nop
28: 90 nop
29: 90 nop
2a:* 66 0f 1f 00 nopw (%rax) <-- trapping instruction
2e: 53 push %rbx
2f: 48 89 fb mov %rdi,%rbx
32: 48 83 ec 08 sub $0x8,%rsp
36: 48 81 ff 00 00 40 8b cmp $0xffffffff8b400000,%rdi
3d: 72 09 jb 0x48
3f: 48 rex.W
Code starting with the faulting instruction
===========================================
0: 66 0f 1f 00 nopw (%rax)
4: 53 push %rbx
5: 48 89 fb mov %rdi,%rbx
8: 48 83 ec 08 sub $0x8,%rsp
c: 48 81 ff 00 00 40 8b cmp $0xffffffff8b400000,%rdi
13: 72 09 jb 0x1e
15: 48 rex.W
[ 49.096932][ C3] RSP: 0018:ffffc9000098f360 EFLAGS: 00000292
[ 49.097305][ C3] RAX: dffffc0000000000 RBX: ffffffff8bf8c2e4 RCX: 1ffffffff2044201
[ 49.097734][ C3] RDX: 1ffff92000131e81 RSI: 0000000000000004 RDI: ffffffff8bf8c2e4
[ 49.098155][ C3] RBP: ffffffff8bf8c2e4 R08: ffffc9000098f3f0 R09: fffff52000131e5f
[ 49.098555][ C3] R10: ffffc9000098f3b0 R11: ffffc9000098f3f1 R12: ffffc9000098f478
[ 49.099125][ C3] R13: 0000000000000000 R14: ffff888006198040 R15: 0000000000000000
[ 49.099484][ C3] ? __kasan_slab_free (mm/kasan/common.c:274)
[ 49.099708][ C3] ? __kasan_slab_free (mm/kasan/common.c:274)
[ 49.100127][ C3] ? __kasan_slab_free (mm/kasan/common.c:274)
[ 49.100388][ C3] kernel_text_address (kernel/extable.c:99)
[ 49.100567][ C3] ? __kasan_slab_free (mm/kasan/common.c:274)
[ 49.100742][ C3] __kernel_text_address (kernel/extable.c:79)
[ 49.101030][ C3] unwind_get_return_address (arch/x86/kernel/unwind_orc.c:369 arch/x86/kernel/unwind_orc.c:364)
[ 49.101207][ C3] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83)
[ 49.101424][ C3] arch_stack_walk (arch/x86/kernel/stacktrace.c:26)
[ 49.101599][ C3] ? __kasan_slab_free (mm/kasan/common.c:274)
[ 49.101875][ C3] stack_trace_save (kernel/stacktrace.c:123)
[ 49.102054][ C3] ? __pfx_stack_trace_save (kernel/stacktrace.c:114)
[ 49.102229][ C3] kasan_save_stack (mm/kasan/common.c:48)
[ 49.102405][ C3] ? kasan_save_stack (mm/kasan/common.c:48)
[ 49.102604][ C3] ? kasan_save_track (./arch/x86/include/asm/current.h:49 mm/kasan/common.c:60 mm/kasan/common.c:69)
[ 49.102880][ C3] ? kasan_save_free_info (mm/kasan/generic.c:582)
[ 49.103059][ C3] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 49.103234][ C3] ? __debug_check_no_obj_freed (lib/debugobjects.c:1000)
[ 49.103453][ C3] ? __pfx___lock_release (kernel/locking/lockdep.c:5406)
[ 49.103727][ C3] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114)
[ 49.103906][ C3] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 49.104182][ C3] ? __debug_check_no_obj_freed (lib/debugobjects.c:1000)
[ 49.104504][ C3] ? __pfx___debug_check_no_obj_freed (lib/debugobjects.c:960)
[ 49.104727][ C3] ? __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)
[ 49.104905][ C3] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 49.105131][ C3] ? p9_req_put (net/9p/client.c:252 net/9p/client.c:404 net/9p/client.c:399)
[ 49.105407][ C3] kasan_save_track (./arch/x86/include/asm/current.h:49 mm/kasan/common.c:60 mm/kasan/common.c:69)
[ 49.105580][ C3] kasan_save_free_info (mm/kasan/generic.c:582)
[ 49.105753][ C3] __kasan_slab_free (mm/kasan/common.c:274)
[ 49.105935][ C3] kfree (mm/slub.c:4280 mm/slub.c:4390)
[ 49.106083][ C3] ? p9_req_put (net/9p/client.c:252 net/9p/client.c:404 net/9p/client.c:399)
[ 49.106381][ C3] p9_req_put (net/9p/client.c:252 net/9p/client.c:404 net/9p/client.c:399)
[ 49.106516][ C3] p9_client_readlink (net/9p/client.c:2251)
[ 49.106693][ C3] v9fs_vfs_get_link_dotl (fs/9p/vfs_inode_dotl.c:822 fs/9p/vfs_inode_dotl.c:806)
[ 49.106878][ C3] ? __pfx_v9fs_vfs_get_link_dotl (fs/9p/vfs_inode_dotl.c:809)
[ 49.107104][ C3] ? __lookup_slow (fs/namei.c:1692)
[ 49.107313][ C3] pick_link (fs/namei.c:1808)
[ 49.107456][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244)
[ 49.107647][ C3] step_into (fs/namei.c:1874)
[ 49.107787][ C3] ? __up_read (./arch/x86/include/asm/atomic64_64.h:79 ./include/linux/atomic/atomic-arch-fallback.h:2749 ./include/linux/atomic/atomic-long.h:184 ./include/linux/atomic/atomic-instrumented.h:3317 kernel/locking/rwsem.c:1347)
[ 49.108085][ C3] ? __pfx_step_into (fs/namei.c:1839)
[ 49.108269][ C3] ? walk_component (fs/namei.c:2005)
[ 49.108469][ C3] link_path_walk.part.0.constprop.0 (fs/namei.c:2331)
[ 49.108696][ C3] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249)
[ 49.109125][ C3] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837)
[ 49.109303][ 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)
[ 49.109483][ C3] path_lookupat (fs/namei.c:2254 (discriminator 2) fs/namei.c:2484 (discriminator 2))
[ 49.109659][ C3] filename_lookup (fs/namei.c:2514)
[ 49.109937][ C3] ? __pfx_filename_lookup (fs/namei.c:2508)
[ 49.110120][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244)
[ 49.110291][ C3] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 49.110466][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209)
[ 49.110742][ C3] ? __pfx___lock_release (kernel/locking/lockdep.c:5406)
[ 49.110916][ C3] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52))
[ 49.111095][ C3] vfs_statx (fs/stat.c:244)
[ 49.111227][ C3] ? __pfx_vfs_statx (fs/stat.c:234)
[ 49.111503][ C3] ? 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)
[ 49.111678][ C3] vfs_fstatat (fs/stat.c:305)
[ 49.111811][ C3] __do_sys_newfstatat (fs/stat.c:469)
[ 49.111997][ C3] ? __pfx___do_sys_newfstatat (fs/stat.c:464)
[ 49.112174][ C3] ? __x64_sys_openat (fs/open.c:1432)
[ 49.112455][ C3] ? __pfx___x64_sys_openat (fs/open.c:1432)
[ 49.112630][ C3] ? __pfx_do_faccessat (fs/open.c:465)
[ 49.112807][ C3] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 49.113033][ C3] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 49.113208][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 49.113471][ C3] RIP: 0033:0x7fdc8f90eeae
[ 49.113672][ C3] 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
[ 49.114445][ C3] RSP: 002b:00007ffcc486ee08 EFLAGS: 00000246 ORIG_RAX: 0000000000000106
[ 49.114733][ C3] RAX: ffffffffffffffda RBX: 000000000000000e RCX: 00007fdc8f90eeae
[ 49.115110][ C3] RDX: 00007ffcc486eed0 RSI: 00007ffcc486ee10 RDI: 00000000ffffff9c
[ 49.115376][ C3] RBP: 00007ffcc486ef90 R08: 00000000ffffffff R09: 00007ffcc486ee10
[ 49.115639][ C3] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffcc486ee17
Finger prints:
dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage