====================================== | [ 44.921884][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 44.922089][ C2] | [ 44.922178][ C2] | [ 44.922178][ C2] stack backtrace: [ 44.922828][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 44.923196][ C2] Call Trace: [ 44.923321][ C2] [ 44.923409][ C2] dump_stack_lvl (lib/dump_stack.c:117) [ 44.923580][ C2] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 44.923789][ C2] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 44.923964][ C2] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 44.924169][ C2] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 44.924426][ C2] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 44.924591][ C2] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 44.924756][ C2] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 44.924922][ C2] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 44.925182][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 44.925357][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 44.925520][ C2] ? save_trace (kernel/locking/lockdep.c:586) [ 44.925684][ C2] mark_lock (kernel/locking/lockdep.c:4678) [ 44.925905][ C2] mark_usage (kernel/locking/lockdep.c:4567) [ 44.926039][ C2] __lock_acquire (kernel/locking/lockdep.c:5091) [ 44.926204][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 44.926327][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 44.926492][ C2] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 44.926758][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 44.926919][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4292 kernel/locking/lockdep.c:4359) [ 44.927120][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 44.927284][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 44.927446][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 44.927609][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 44.927771][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 44.927937][ C2] _raw_write_lock (./include/linux/rwlock_api_smp.h:210 kernel/locking/spinlock.c:300) [ 44.928202][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 44.928364][ C2] addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 44.928528][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 44.928690][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 44.928852][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 44.929128][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 44.929298][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 44.929460][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 44.929628][ C2] call_timer_fn (kernel/time/timer.c:1793) [ 44.929901][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 44.930068][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 44.930231][ C2] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 44.930394][ 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.930556][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 44.930722][ C2] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 44.930888][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 44.931050][ C2] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 44.931317][ C2] ? __lock_release (kernel/locking/lockdep.c:5430) [ 44.931484][ 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.931646][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 44.931810][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 44.931975][ C2] ? timer_expire_remote (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 44.932238][ C2] timer_expire_remote (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 44.932403][ 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.932566][ C2] ? __pfx_tmigr_handle_remote_cpu (kernel/time/timer_migration.c:869) [ 44.932772][ 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.933031][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 44.933152][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 44.933321][ C2] tmigr_handle_remote_up (kernel/time/timer_migration.c:1003) [ 44.933484][ C2] tmigr_handle_remote (kernel/time/timer_migration.c:488 kernel/time/timer_migration.c:1061) [ 44.933744][ 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.933907][ C2] ? __pfx_tmigr_handle_remote (kernel/time/timer_migration.c:1026) [ 44.934069][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4292 kernel/locking/lockdep.c:4359) [ 44.934276][ C2] __do_softirq (kernel/softirq.c:554) [ 44.934445][ C2] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 44.934569][ C2] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 44.934730][ C2] [ 44.934815][ C2] [ 44.934896][ C2] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 44.935287][ C2] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 44.935499][ C2] Code: 10 e8 11 39 9b fd 48 89 ef e8 49 a9 9b 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 ae 8f 63 <74> 0e 5b 5d c3 cc cc cc cc e8 3f a3 be fd eb dc 0f 1f 44 00 00 5b All code ======== 0: 10 e8 adc %ch,%al 2: 11 39 adc %edi,(%rcx) 4: 9b fwait 5: fd std 6: 48 89 ef mov %rbp,%rdi 9: e8 49 a9 9b fd call 0xfffffffffd9ba957 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 ae 8f 63 decl %gs:0x638faef5(%rip) # 0x638faf1f 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 3f a3 be fd call 0xfffffffffdbea377 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 3f a3 be fd call 0xfffffffffdbea34d e: eb dc jmp 0xffffffffffffffec 10: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 15: 5b pop %rbx [ 44.936180][ C2] RSP: 0018:ffffc9000068f3a0 EFLAGS: 00000286 [ 44.936387][ C2] RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff3f28271 [ 44.936626][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff9c741921 [ 44.936964][ C2] RBP: ffff88800552a008 R08: 0000000000000001 R09: fffffbfff3f23caf [ 44.937208][ C2] R10: ffffffff9f91e57f R11: 0000000000000000 R12: dffffc0000000000 [ 44.937449][ C2] R13: 0000000000000001 R14: 0000000000000286 R15: ffff88800552a078 [ 44.937794][ C2] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 44.937994][ C2] p9_virtio_request (net/9p/trans_virtio.c:305) [ 44.938161][ C2] ? trace_9p_client_req (./include/trace/events/9p.h:124 (discriminator 52)) [ 44.938323][ C2] ? __pfx_p9_virtio_request (net/9p/trans_virtio.c:256) [ 44.938586][ C2] ? p9_client_prepare_req (net/9p/client.c:625) [ 44.938746][ 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.938920][ C2] ? __pfx_p9_client_prepare_req (net/9p/client.c:625) [ 44.939119][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 44.939377][ C2] p9_client_rpc (net/9p/client.c:703) [ 44.939540][ C2] ? __pfx_p9_client_rpc (net/9p/client.c:672) [ 44.939700][ C2] ? __lock_release (kernel/locking/lockdep.c:5430) [ 44.939865][ C2] ? p9_fid_create (./include/linux/local_lock_internal.h:38 ./include/linux/idr.h:174 net/9p/client.c:867) [ 44.940124][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 44.940284][ 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.940446][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 44.940615][ C2] ? p9_fid_create (./include/linux/local_lock_internal.h:38 ./include/linux/idr.h:174 net/9p/client.c:867) [ 44.940873][ C2] p9_client_walk (net/9p/client.c:1169) [ 44.941041][ C2] ? __pfx_p9_client_walk (net/9p/client.c:1143) [ 44.941200][ 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) [ 44.941363][ C2] ? v9fs_fid_lookup_with_uid (fs/9p/fid.c:181) [ 44.941627][ C2] ? v9fs_vfs_lookup.part.0 (fs/9p/vfs_inode.c:676) [ 44.941791][ C2] v9fs_vfs_lookup.part.0 (fs/9p/vfs_inode.c:676) [ 44.941949][ C2] ? __pfx_v9fs_vfs_lookup.part.0 (fs/9p/vfs_inode.c:649) [ 44.942154][ C2] ? lockdep_init_map_type (kernel/locking/lockdep.c:4892) [ 44.942408][ C2] __lookup_slow (fs/namei.c:1692) [ 44.942574][ C2] ? __pfx___lookup_slow (fs/namei.c:1668) [ 44.942738][ C2] ? walk_component (fs/namei.c:1709 fs/namei.c:2004) [ 44.942902][ C2] walk_component (./include/linux/fs.h:808 fs/namei.c:1710 fs/namei.c:2004) [ 44.943072][ C2] link_path_walk.part.0.constprop.0 (fs/namei.c:2331) [ 44.943368][ C2] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249) [ 44.943569][ C2] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837) [ 44.943732][ 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.943992][ C2] path_lookupat (fs/namei.c:2254 (discriminator 2) fs/namei.c:2484 (discriminator 2)) [ 44.944156][ C2] filename_lookup (fs/namei.c:2514) [ 44.944319][ C2] ? __pfx_filename_lookup (fs/namei.c:2508) [ 44.944493][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 44.944657][ C2] ? __lock_release (kernel/locking/lockdep.c:5430) [ 44.944923][ C2] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 44.945084][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 44.945245][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 44.945413][ C2] vfs_statx (fs/stat.c:244) [ 44.945540][ C2] ? __pfx_vfs_statx (fs/stat.c:234) [ 44.945704][ 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) [ 44.945867][ C2] vfs_fstatat (fs/stat.c:305) [ 44.945999][ C2] __do_sys_newfstatat (fs/stat.c:469) [ 44.946163][ C2] ? __pfx___do_sys_newfstatat (fs/stat.c:464) [ 44.946427][ C2] ? __x64_sys_openat (fs/open.c:1432) [ 44.946591][ C2] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 44.946749][ C2] ? __pfx_do_faccessat (fs/open.c:465) [ 44.946915][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 44.947211][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 44.947375][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 44.947586][ C2] RIP: 0033:0x7f1654d08eae [ 44.947759][ 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 [ 44.948542][ C2] RSP: 002b:00007fffd96906b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 [ 44.948905][ C2] RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007f1654d08eae [ 44.949153][ C2] RDX: 00007fffd9690780 RSI: 00007fffd96906c0 RDI: 00000000ffffff9c [ 44.949403][ C2] RBP: 00007fffd9690840 R08: 00000000ffffffff R09: 00007fffd96906c0 [ 44.949645][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffd96906c7 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage