====================================== | [ 43.397173][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 43.397356][ C3] | [ 43.397430][ C3] | [ 43.397430][ C3] stack backtrace: [ 43.397934][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 43.398362][ C3] Call Trace: [ 43.398476][ C3] <IRQ> [ 43.398560][ C3] dump_stack_lvl (lib/dump_stack.c:117) [ 43.398719][ C3] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 43.399019][ C3] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 43.399217][ C3] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 43.399366][ C3] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 43.399515][ C3] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 43.399784][ C3] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 43.399939][ C3] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 43.400093][ C3] ? stack_trace_save (kernel/stacktrace.c:123) [ 43.400246][ C3] ? add_chain_cache (kernel/locking/lockdep.c:3730) [ 43.400489][ C3] ? save_trace (kernel/locking/lockdep.c:586) [ 43.400643][ C3] mark_lock (kernel/locking/lockdep.c:4678) [ 43.400754][ C3] mark_usage (kernel/locking/lockdep.c:4567) [ 43.400878][ C3] __lock_acquire (kernel/locking/lockdep.c:5091) [ 43.401137][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 43.401291][ C3] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 43.401553][ C3] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 43.401707][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 43.401933][ C3] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 43.402175][ C3] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 43.402330][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 43.402645][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 43.402799][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 43.403022][ C3] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 43.403175][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 43.403486][ C3] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 43.403713][ C3] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 43.403970][ C3] call_timer_fn (kernel/time/timer.c:1793) [ 43.404119][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 43.404361][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 43.404509][ C3] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 43.404656][ C3] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 43.404770][ C3] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 43.405017][ C3] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 43.405275][ C3] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 43.405421][ C3] ? __lock_release (kernel/locking/lockdep.c:5430) [ 43.405570][ 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) [ 43.405724][ C3] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 43.405872][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 43.406020][ C3] ? timer_expire_remote (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 43.406168][ C3] timer_expire_remote (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 43.406406][ C3] 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) [ 43.406554][ C3] ? __pfx_tmigr_handle_remote_cpu (kernel/time/timer_migration.c:869) [ 43.406740][ C3] tmigr_handle_remote_up (kernel/time/timer_migration.c:1003) [ 43.406888][ C3] tmigr_handle_remote (kernel/time/timer_migration.c:488 kernel/time/timer_migration.c:1061) [ 43.407133][ 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) [ 43.407280][ C3] ? __pfx_tmigr_handle_remote (kernel/time/timer_migration.c:1026) [ 43.407432][ C3] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 43.407579][ C3] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4292 kernel/locking/lockdep.c:4359) [ 43.407852][ C3] __do_softirq (kernel/softirq.c:554) [ 43.408000][ C3] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 43.408110][ C3] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 43.408261][ C3] </IRQ> [ 43.408338][ C3] <TASK> [ 43.408414][ C3] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 43.408685][ C3] RIP: 0010:trace_lock_release (./include/trace/events/lock.h:69) [ 43.408845][ C3] Code: 3f 0f 87 28 01 00 00 89 db be 08 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 d0 68 12 b7 e8 2f 03 6a 00 48 0f a3 1d f7 f9 23 04 <0f> 82 bb 00 00 00 5b 5d 41 5c c3 cc cc cc cc 48 89 fd 49 89 f4 65 All code ======== 0: 3f (bad) 1: 0f 87 28 01 00 00 ja 0x12f 7: 89 db mov %ebx,%ebx 9: be 08 00 00 00 mov $0x8,%esi e: 48 89 d8 mov %rbx,%rax 11: 48 c1 e8 06 shr $0x6,%rax 15: 48 8d 3c c5 d0 68 12 lea -0x48ed9730(,%rax,8),%rdi 1c: b7 1d: e8 2f 03 6a 00 call 0x6a0351 22: 48 0f a3 1d f7 f9 23 bt %rbx,0x423f9f7(%rip) # 0x423fa21 29: 04 2a:* 0f 82 bb 00 00 00 jb 0xeb <-- trapping instruction 30: 5b pop %rbx 31: 5d pop %rbp 32: 41 5c pop %r12 34: c3 ret 35: cc int3 36: cc int3 37: cc int3 38: cc int3 39: 48 89 fd mov %rdi,%rbp 3c: 49 89 f4 mov %rsi,%r12 3f: 65 gs Code starting with the faulting instruction =========================================== 0: 0f 82 bb 00 00 00 jb 0xc1 6: 5b pop %rbx 7: 5d pop %rbp 8: 41 5c pop %r12 a: c3 ret b: cc int3 c: cc int3 d: cc int3 e: cc int3 f: 48 89 fd mov %rdi,%rbp 12: 49 89 f4 mov %rsi,%r12 15: 65 gs [ 43.409461][ C3] RSP: 0018:ffffc900007bf978 EFLAGS: 00000247 [ 43.409656][ C3] RAX: 0000000000000001 RBX: 0000000000000003 RCX: ffffffffb2ee6ed1 [ 43.409880][ C3] RDX: fffffbfff6e24d1b RSI: 0000000000000008 RDI: ffffffffb71268d0 [ 43.410193][ C3] RBP: ffffffffb67522e0 R08: 0000000000000000 R09: fffffbfff6e24d1a [ 43.410413][ C3] R10: ffffffffb71268d7 R11: ffffc900007bfba8 R12: ffffffffb36563e7 [ 43.410632][ C3] R13: 00000000ffffffff R14: 00000000fffffffe R15: ffffc900007bfb70 [ 43.410863][ C3] ? mntput_no_expire (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 fs/namespace.c:1305) [ 43.411013][ C3] ? trace_lock_release (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 ./include/linux/cpumask.h:505 ./include/linux/cpumask.h:1120 ./include/trace/events/lock.h:69) [ 43.411162][ C3] ? trace_lock_release (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 ./include/linux/cpumask.h:505 ./include/linux/cpumask.h:1120 ./include/trace/events/lock.h:69) [ 43.411488][ C3] ? mntput_no_expire (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 fs/namespace.c:1305) [ 43.411638][ C3] lock_release (kernel/locking/lockdep.c:116 kernel/locking/lockdep.c:5767) [ 43.411785][ C3] mntput_no_expire (fs/namespace.c:1289) [ 43.411931][ C3] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 43.412171][ C3] ? __pfx_mntput_no_expire (fs/namespace.c:1289) [ 43.412317][ C3] ? dput.part.0 (./include/linux/rcupdate.h:810 fs/dcache.c:840) [ 43.412465][ C3] ? dput.part.0 (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 fs/dcache.c:840) [ 43.412614][ C3] terminate_walk (fs/namei.c:686) [ 43.412762][ C3] path_lookupat (fs/namei.c:2504) [ 43.413001][ C3] filename_lookup (fs/namei.c:2514) [ 43.413149][ C3] ? __pfx_filename_lookup (fs/namei.c:2508) [ 43.413300][ C3] ? __pfx_kfree_link (fs/libfs.c:1573) [ 43.413449][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 43.413689][ C3] ? __lock_release (kernel/locking/lockdep.c:5430) [ 43.413836][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 43.413984][ C3] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 43.414132][ C3] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 43.414370][ C3] vfs_statx (fs/stat.c:244) [ 43.414483][ C3] ? __pfx_vfs_statx (fs/stat.c:234) [ 43.414631][ 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) [ 43.414780][ C3] vfs_fstatat (fs/stat.c:305) [ 43.414893][ C3] __do_sys_newfstatat (fs/stat.c:469) [ 43.415133][ C3] ? __pfx___do_sys_newfstatat (fs/stat.c:464) [ 43.415283][ C3] ? __x64_sys_openat (fs/open.c:1432) [ 43.415438][ C3] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 43.415583][ C3] ? __pfx_do_faccessat (fs/open.c:465) [ 43.415821][ C3] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 43.416005][ C3] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 43.416152][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 43.416338][ C3] RIP: 0033:0x7f097dae5eae [ 43.416583][ 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 [ 43.417111][ C3] RSP: 002b:00007ffca553fa88 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 [ 43.417433][ C3] RAX: ffffffffffffffda RBX: 000000000000000e RCX: 00007f097dae5eae [ 43.417659][ C3] RDX: 00007ffca553fb60 RSI: 00007ffca553fa90 RDI: 00000000ffffff9c [ 43.417975][ C3] RBP: 00007ffca553fc20 R08: 00000000ffffffff R09: 00007ffca553fa90 [ 43.418194][ C3] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffca553fa97 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage