====================================== | [ 31.569913][ C0] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 31.570194][ C0] | [ 31.570275][ C0] | [ 31.570275][ C0] stack backtrace: [ 31.570718][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 31.571162][ C0] Call Trace: [ 31.571292][ C0] [ 31.571378][ C0] dump_stack_lvl (lib/dump_stack.c:117) [ 31.571637][ C0] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 31.571836][ C0] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 31.572026][ C0] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 31.572224][ C0] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 31.572546][ C0] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 31.572709][ C0] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 31.572886][ C0] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 31.573050][ C0] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 31.573303][ C0] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 31.573468][ C0] ? save_trace (kernel/locking/lockdep.c:586) [ 31.573629][ C0] mark_lock (kernel/locking/lockdep.c:4678) [ 31.573750][ C0] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 31.573908][ C0] mark_usage (kernel/locking/lockdep.c:4567) [ 31.574035][ C0] __lock_acquire (kernel/locking/lockdep.c:5091) [ 31.574201][ C0] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 31.574380][ C0] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 31.574543][ C0] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 31.574794][ C0] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 31.574961][ C0] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 31.575125][ C0] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 31.575289][ C0] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 31.575464][ C0] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 31.575705][ C0] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 31.575863][ C0] _raw_write_lock (./include/linux/rwlock_api_smp.h:210 kernel/locking/spinlock.c:300) [ 31.576024][ C0] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 31.576181][ C0] addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 31.576451][ C0] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 31.576618][ C0] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 31.576780][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 31.576944][ C0] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 31.577115][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 31.577276][ C0] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 31.577432][ C0] call_timer_fn (kernel/time/timer.c:1793) [ 31.577605][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 31.577841][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 31.578010][ C0] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 31.578162][ C0] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 31.578297][ C0] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 31.578475][ C0] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 31.578718][ C0] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 31.578882][ C0] ? 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) [ 31.579043][ C0] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 31.579204][ C0] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 31.579456][ C0] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 31.579618][ C0] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 31.579780][ C0] __do_softirq (kernel/softirq.c:554) [ 31.579945][ C0] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 31.580072][ C0] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 31.580233][ C0] [ 31.580328][ C0] [ 31.580410][ C0] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 31.580608][ C0] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 31.580927][ C0] Code: 10 e8 81 31 79 fd 48 89 ef e8 b9 a1 79 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 8b cd 45 <74> 0e 5b 5d c3 cc cc cc cc e8 0f 00 9d fd eb dc 0f 1f 44 00 00 5b All code ======== 0: 10 e8 adc %ch,%al 2: 81 31 79 fd 48 89 xorl $0x8948fd79,(%rcx) 8: ef out %eax,(%dx) 9: e8 b9 a1 79 fd call 0xfffffffffd79a1c7 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 8b cd 45 decl %gs:0x45cd8bf5(%rip) # 0x45cd8c1f 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 0f 00 9d fd call 0xfffffffffd9d0047 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 0f 00 9d fd call 0xfffffffffd9d001d e: eb dc jmp 0xffffffffffffffec 10: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 15: 5b pop %rbx [ 31.581529][ C0] RSP: 0018:ffffc90000cafbe0 EFLAGS: 00000282 [ 31.581821][ C0] RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff77f2609 [ 31.582062][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffba363de1 [ 31.582312][ C0] RBP: ffff88800196e180 R08: 0000000000000001 R09: fffffbfff77f2e8a [ 31.582663][ C0] R10: ffffffffbbf97457 R11: 0000000000000040 R12: ffff88800196e180 [ 31.582915][ C0] R13: ffffea0000246000 R14: ffff88800196b3c0 R15: ffff888009184640 [ 31.583147][ C0] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 31.583448][ C0] get_partial_node.part.0 (mm/slub.c:2623) [ 31.583609][ C0] ___slab_alloc (mm/slub.c:2583 mm/slub.c:2701 mm/slub.c:3505) [ 31.583770][ C0] ? kmem_cache_alloc (./include/linux/sched/mm.h:315 mm/slub.c:3746 mm/slub.c:3827 mm/slub.c:3852) [ 31.583922][ C0] ? getname_flags (fs/namei.c:139) [ 31.584079][ C0] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 31.584255][ C0] ? getname_flags (fs/namei.c:139) [ 31.584424][ C0] ? kmem_cache_alloc (mm/slub.c:3610 mm/slub.c:3663 mm/slub.c:3835 mm/slub.c:3852) [ 31.584591][ C0] kmem_cache_alloc (mm/slub.c:3610 mm/slub.c:3663 mm/slub.c:3835 mm/slub.c:3852) [ 31.584914][ C0] getname_flags (fs/namei.c:139) [ 31.585076][ C0] vfs_fstatat (fs/stat.c:304) [ 31.585199][ C0] __do_sys_newfstatat (fs/stat.c:469) [ 31.585362][ C0] ? __pfx___do_sys_newfstatat (fs/stat.c:464) [ 31.585532][ C0] ? __x64_sys_openat (fs/open.c:1432) [ 31.585764][ C0] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 31.585923][ C0] ? __pfx_do_faccessat (fs/open.c:465) [ 31.586078][ C0] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 31.586273][ C0] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 31.586537][ C0] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 31.586734][ C0] RIP: 0033:0x7f6560d1aeae [ 31.586905][ C0] 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 [ 31.587486][ C0] RSP: 002b:00007fff8b288008 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 [ 31.587729][ C0] RAX: ffffffffffffffda RBX: 000000000000000f RCX: 00007f6560d1aeae [ 31.588045][ C0] RDX: 00007fff8b2880e0 RSI: 00007fff8b288010 RDI: 00000000ffffff9c [ 31.588291][ C0] RBP: 00007fff8b2881a0 R08: 00000000ffffffff R09: 00007fff8b288010 [ 31.588545][ C0] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff8b288017 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage