======================================
| [ 44.972050][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
| [ 44.972266][ C2]
| [ 44.972349][ C2]
| [ 44.972349][ C2] stack backtrace:
[ 44.972802][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 44.973284][ C2] Call Trace:
[ 44.973434][ C2]
[ 44.973535][ C2] dump_stack_lvl (lib/dump_stack.c:117)
[ 44.973795][ C2] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024)
[ 44.974309][ C2] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94)
[ 44.974579][ C2] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024)
[ 44.974905][ C2] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264)
[ 44.975169][ C2] ? __pfx_usage_match (kernel/locking/lockdep.c:2256)
[ 44.975785][ C2] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26)
[ 44.976049][ C2] mark_lock_irq (kernel/locking/lockdep.c:4244)
[ 44.976310][ C2] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207)
[ 44.976571][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114)
[ 44.977032][ C2] ? save_trace (kernel/locking/lockdep.c:586)
[ 44.977293][ C2] mark_lock (kernel/locking/lockdep.c:4678)
[ 44.977487][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114)
[ 44.977759][ C2] mark_usage (kernel/locking/lockdep.c:4567)
[ 44.977960][ C2] __lock_acquire (kernel/locking/lockdep.c:5091)
[ 44.978227][ C2] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825)
[ 44.978490][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016)
[ 44.978745][ C2] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756)
[ 44.978999][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023)
[ 44.979268][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 44.979538][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52))
[ 44.979803][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023)
[ 44.980064][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727)
[ 44.980329][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023)
[ 44.980777][ C2] _raw_write_lock (./include/linux/rwlock_api_smp.h:210 kernel/locking/spinlock.c:300)
[ 44.981037][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023)
[ 44.981197][ C2] addrconf_rs_timer (net/ipv6/addrconf.c:4023)
[ 44.981363][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 44.981771][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016)
[ 44.981997][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783)
[ 44.982258][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727)
[ 44.982522][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783)
[ 44.982866][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016)
[ 44.983066][ C2] call_timer_fn (kernel/time/timer.c:1793)
[ 44.983328][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783)
[ 44.983596][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783)
[ 44.984048][ C2] ? __pfx_call_timer_fn (kernel/time/timer.c:1770)
[ 44.984304][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3))
[ 44.984509][ C2] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418)
[ 44.984774][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016)
[ 44.985038][ C2] ? __pfx___run_timers (kernel/time/timer.c:2389)
[ 44.985295][ C2] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 44.985556][ 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)
[ 44.985813][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114)
[ 44.986068][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727)
[ 44.986321][ C2] ? timer_expire_remote (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2181)
[ 44.986581][ C2] timer_expire_remote (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2181)
[ 44.986842][ C2] tmigr_handle_remote_cpu (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:67 ./arch/x86/include/asm/irqflags.h:127 kernel/time/timer_migration.c:925)
[ 44.987101][ C2] ? __pfx_tmigr_handle_remote_cpu (kernel/time/timer_migration.c:869)
[ 44.987617][ C2] tmigr_handle_remote_up (kernel/time/timer_migration.c:1003)
[ 44.987882][ C2] tmigr_handle_remote (kernel/time/timer_migration.c:488 kernel/time/timer_migration.c:1061)
[ 44.988136][ 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)
[ 44.988393][ C2] ? __pfx_tmigr_handle_remote (kernel/time/timer_migration.c:1026)
[ 44.988841][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114)
[ 44.989110][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4292 kernel/locking/lockdep.c:4359)
[ 44.989439][ C2] __do_softirq (kernel/softirq.c:554)
[ 44.989702][ C2] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645)
[ 44.989906][ C2] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043)
[ 44.990116][ C2]
[ 44.990211][ C2]
[ 44.990293][ C2] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702)
[ 44.990499][ C2] RIP: 0010:stack_depot_save_flags (./include/linux/bitops.h:129 ./include/linux/jhash.h:129 lib/stackdepot.c:514 lib/stackdepot.c:614)
[ 44.990718][ C2] Code: f5 75 83 f8 03 0f 86 1c 03 00 00 41 89 fc 89 f8 48 89 e9 44 8b 01 44 03 61 08 83 ee 03 48 83 c1 0c 03 41 f8 45 29 e0 41 01 f8 <44> 89 e7 41 01 c4 c1 c7 04 44 31 c7 29 f8 41 89 c0 89 f8 44 01 e7
All code
========
0: f5 cmc
1: 75 83 jne 0xffffffffffffff86
3: f8 clc
4: 03 0f add (%rdi),%ecx
6: 86 1c 03 xchg %bl,(%rbx,%rax,1)
9: 00 00 add %al,(%rax)
b: 41 89 fc mov %edi,%r12d
e: 89 f8 mov %edi,%eax
10: 48 89 e9 mov %rbp,%rcx
13: 44 8b 01 mov (%rcx),%r8d
16: 44 03 61 08 add 0x8(%rcx),%r12d
1a: 83 ee 03 sub $0x3,%esi
1d: 48 83 c1 0c add $0xc,%rcx
21: 03 41 f8 add -0x8(%rcx),%eax
24: 45 29 e0 sub %r12d,%r8d
27: 41 01 f8 add %edi,%r8d
2a:* 44 89 e7 mov %r12d,%edi <-- trapping instruction
2d: 41 01 c4 add %eax,%r12d
30: c1 c7 04 rol $0x4,%edi
33: 44 31 c7 xor %r8d,%edi
36: 29 f8 sub %edi,%eax
38: 41 89 c0 mov %eax,%r8d
3b: 89 f8 mov %edi,%eax
3d: 44 01 e7 add %r12d,%edi
Code starting with the faulting instruction
===========================================
0: 44 89 e7 mov %r12d,%edi
3: 41 01 c4 add %eax,%r12d
6: c1 c7 04 rol $0x4,%edi
9: 44 31 c7 xor %r8d,%edi
c: 29 f8 sub %edi,%eax
e: 41 89 c0 mov %eax,%r8d
11: 89 f8 mov %edi,%eax
13: 44 01 e7 add %r12d,%edi
[ 44.991303][ C2] RSP: 0018:ffffc9000098f370 EFLAGS: 00000207
[ 44.991624][ C2] RAX: 0000000003de9154 RBX: 0000000000002800 RCX: ffffc9000098f430
[ 44.991867][ C2] RDX: 0000000000000010 RSI: 0000000000000008 RDI: 000000007d21f348
[ 44.992128][ C2] RBP: ffffc9000098f3d0 R08: 000000004f26b08e R09: fffff52000131e3c
[ 44.992486][ C2] R10: ffffc9000098f298 R11: ffffc9000098f2d9 R12: 000000002dfb42b9
[ 44.992730][ C2] R13: 0000000000000000 R14: 0000000000000010 R15: 0000000000000001
[ 44.992978][ C2] set_track_prepare (mm/slub.c:889)
[ 44.993379][ C2] ? p9_fcall_init (net/9p/client.c:232)
[ 44.993582][ C2] ? p9_tag_alloc (net/9p/client.c:295)
[ 44.993749][ C2] ? p9_client_prepare_req (net/9p/client.c:641)
[ 44.993908][ C2] ? p9_client_rpc (net/9p/client.c:688 (discriminator 4))
[ 44.994178][ C2] ? p9_client_clunk (net/9p/client.c:1438 (discriminator 3))
[ 44.994336][ C2] ? v9fs_dentry_release (fs/9p/vfs_dentry.c:54)
[ 44.994498][ C2] ? __dentry_kill (fs/dcache.c:608)
[ 44.994657][ C2] ? dput.part.0 (fs/dcache.c:845)
[ 44.994937][ C2] ? walk_component (fs/namei.c:562 fs/namei.c:1027 fs/namei.c:2009)
[ 44.995104][ C2] ? link_path_walk.part.0.constprop.0 (fs/namei.c:2328)
[ 44.995309][ C2] ? path_lookupat (fs/namei.c:2254 (discriminator 2) fs/namei.c:2484 (discriminator 2))
[ 44.995491][ C2] ? filename_lookup (fs/namei.c:2514)
[ 44.995655][ C2] ? vfs_statx (fs/stat.c:244)
[ 44.995780][ C2] ? vfs_fstatat (fs/stat.c:305)
[ 44.995940][ C2] ? __do_sys_newfstatat (fs/stat.c:469)
[ 44.996106][ C2] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 44.996266][ C2] ___slab_alloc (mm/slub.c:917 mm/slub.c:3515)
[ 44.996425][ C2] ? fs_reclaim_acquire (mm/page_alloc.c:3715 mm/page_alloc.c:3706)
[ 44.996591][ C2] ? p9_fcall_init (net/9p/client.c:232)
[ 44.996758][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406)
[ 44.996923][ C2] ? p9_fcall_init (net/9p/client.c:232)
[ 44.997192][ C2] ? __kmalloc (mm/slub.c:3610 mm/slub.c:3663 mm/slub.c:3835 mm/slub.c:3965 mm/slub.c:3979)
[ 44.997350][ C2] __kmalloc (mm/slub.c:3610 mm/slub.c:3663 mm/slub.c:3835 mm/slub.c:3965 mm/slub.c:3979)
[ 44.997470][ C2] p9_fcall_init (net/9p/client.c:232)
[ 44.997631][ C2] p9_tag_alloc (net/9p/client.c:295)
[ 44.997791][ C2] ? __pfx_p9_tag_alloc (net/9p/client.c:277)
[ 44.998071][ C2] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837)
[ 44.998236][ 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)
[ 44.998402][ C2] p9_client_prepare_req (net/9p/client.c:641)
[ 44.998564][ 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)
[ 44.998725][ C2] ? __pfx_p9_client_prepare_req (net/9p/client.c:625)
[ 44.998926][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5137)
[ 44.999088][ C2] p9_client_rpc (net/9p/client.c:688 (discriminator 4))
[ 44.999250][ C2] ? __pfx_p9_client_rpc (net/9p/client.c:672)
[ 44.999412][ C2] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 44.999571][ C2] ? list_lru_add (mm/list_lru.c:106)
[ 44.999743][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406)
[ 44.999902][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 45.000178][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244)
[ 45.000337][ C2] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 45.000497][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406)
[ 45.000659][ C2] p9_client_clunk (net/9p/client.c:1438 (discriminator 3))
[ 45.000933][ C2] v9fs_dentry_release (fs/9p/vfs_dentry.c:54)
[ 45.001103][ C2] __dentry_kill (fs/dcache.c:608)
[ 45.001285][ C2] ? __pfx_kfree_link (fs/libfs.c:1573)
[ 45.001477][ C2] dput.part.0 (fs/dcache.c:845)
[ 45.001727][ C2] walk_component (fs/namei.c:562 fs/namei.c:1027 fs/namei.c:2009)
[ 45.001990][ C2] link_path_walk.part.0.constprop.0 (fs/namei.c:2328)
[ 45.002317][ C2] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249)
[ 45.002637][ C2] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837)
[ 45.002899][ 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)
[ 45.003160][ C2] path_lookupat (fs/namei.c:2254 (discriminator 2) fs/namei.c:2484 (discriminator 2))
[ 45.003422][ C2] filename_lookup (fs/namei.c:2514)
[ 45.003692][ C2] ? __pfx_filename_lookup (fs/namei.c:2508)
[ 45.003956][ C2] ? __pfx_kfree_link (fs/libfs.c:1573)
[ 45.004403][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244)
[ 45.004663][ C2] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 45.004921][ C2] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209)
[ 45.005175][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406)
[ 45.005616][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52))
[ 45.005878][ C2] vfs_statx (fs/stat.c:244)
[ 45.006085][ C2] ? __pfx_vfs_statx (fs/stat.c:234)
[ 45.006349][ 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)
[ 45.006792][ C2] vfs_fstatat (fs/stat.c:305)
[ 45.006988][ C2] __do_sys_newfstatat (fs/stat.c:469)
[ 45.007251][ C2] ? __pfx___do_sys_newfstatat (fs/stat.c:464)
[ 45.007514][ C2] ? __x64_sys_openat (fs/open.c:1432)
[ 45.007773][ C2] ? __pfx___x64_sys_openat (fs/open.c:1432)
[ 45.008228][ C2] ? __pfx_do_faccessat (fs/open.c:465)
[ 45.008497][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 45.008820][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 45.009079][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 45.009497][ C2] RIP: 0033:0x7f0e8462ceae
[ 45.009668][ 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
[ 45.010450][ C2] RSP: 002b:00007ffe38b6c2a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106
[ 45.010819][ C2] RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007f0e8462ceae
[ 45.011240][ C2] RDX: 00007ffe38b6c380 RSI: 00007ffe38b6c2b0 RDI: 00000000ffffff9c
[ 45.011688][ C2] RBP: 00007ffe38b6c440 R08: 00000000ffffffff R09: 00007ffe38b6c2b0
[ 45.012075][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe38b6c2b7
Finger prints:
dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage