====================================== | [ 43.354538][ C1] asm_exc_page_fault (./arch/x86/include/asm/idtentry.h:623) | [ 43.354690][ C1] | [ 43.354767][ C1] | [ 43.354767][ C1] stack backtrace: [ 43.355192][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 43.355580][ C1] Call Trace: [ 43.355771][ C1] [ 43.355856][ C1] dump_stack_lvl (lib/dump_stack.c:117) [ 43.356098][ C1] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 43.356290][ C1] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 43.356482][ C1] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 43.356760][ C1] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 43.356924][ C1] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 43.357081][ C1] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 43.357237][ C1] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 43.357396][ C1] ? stack_trace_save (kernel/stacktrace.c:123) [ 43.357632][ C1] ? add_chain_cache (kernel/locking/lockdep.c:3730) [ 43.357787][ C1] ? save_trace (kernel/locking/lockdep.c:586) [ 43.357943][ C1] mark_lock (kernel/locking/lockdep.c:4678) [ 43.358061][ C1] mark_usage (kernel/locking/lockdep.c:4567) [ 43.358262][ C1] __lock_acquire (kernel/locking/lockdep.c:5091) [ 43.358416][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 43.358571][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 43.358843][ C1] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 43.359082][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 43.359309][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 43.359464][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 43.359616][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 43.359944][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 43.360096][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 43.360331][ C1] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 43.360486][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 43.360725][ C1] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 43.360951][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 43.361214][ C1] call_timer_fn (kernel/time/timer.c:1793) [ 43.361451][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 43.361604][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 43.361765][ C1] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 43.361914][ C1] ? 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) [ 43.362154][ C1] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 43.362312][ C1] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 43.362466][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 43.362735][ C1] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 43.362973][ C1] ? 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.363129][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 43.363287][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 43.363442][ C1] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 43.363687][ C1] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 43.363845][ C1] __do_softirq (kernel/softirq.c:554) [ 43.364001][ C1] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 43.364119][ C1] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 43.364273][ C1] [ 43.364441][ C1] [ 43.364522][ C1] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 43.364712][ C1] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 43.364913][ C1] Code: 10 e8 21 49 9b fd 48 89 ef e8 59 b9 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 05 bf 6f 44 <74> 0e 5b 5d c3 cc cc cc cc e8 4f b3 be fd eb dc 0f 1f 44 00 00 5b All code ======== 0: 10 e8 adc %ch,%al 2: 21 49 9b and %ecx,-0x65(%rcx) 5: fd std 6: 48 89 ef mov %rbp,%rdi 9: e8 59 b9 9b fd call 0xfffffffffd9bb967 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 05 bf 6f 44 decl %gs:0x446fbf05(%rip) # 0x446fbf2f 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 4f b3 be fd call 0xfffffffffdbeb387 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 4f b3 be fd call 0xfffffffffdbeb35d e: eb dc jmp 0xffffffffffffffec 10: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 15: 5b pop %rbx [ 43.365562][ C1] RSP: 0000:ffffc9000052fb30 EFLAGS: 00000286 [ 43.365761][ C1] RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff7d65eb4 [ 43.366082][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffbb940911 [ 43.366317][ C1] RBP: ffffffffbcd2a240 R08: 0000000000000001 R09: fffffbfff7d638aa [ 43.366550][ C1] R10: ffffffffbeb1c557 R11: ffffc9000052f921 R12: ffff888004539608 [ 43.366867][ C1] R13: 0000000000000050 R14: 0000000000000001 R15: 0000000000000282 [ 43.367100][ C1] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 43.367291][ C1] __create_object (mm/kmemleak.c:756) [ 43.367541][ C1] kmem_cache_alloc (./include/linux/kmemleak.h:42 mm/slub.c:3802 mm/slub.c:3845 mm/slub.c:3852) [ 43.367700][ C1] __anon_vma_prepare (mm/rmap.c:142 mm/rmap.c:196) [ 43.367855][ C1] wp_page_copy (mm/memory.c:3219 mm/memory.c:3258) [ 43.368011][ C1] ? __pfx_wp_page_copy (mm/memory.c:3242) [ 43.368248][ C1] ? __pfx_vm_normal_page (mm/memory.c:584) [ 43.368403][ C1] ? rcu_read_unlock (./include/linux/rcupdate.h:339 (discriminator 9) ./include/linux/rcupdate.h:814 (discriminator 9)) [ 43.368570][ C1] ? do_wp_page (mm/memory.c:3660) [ 43.368733][ C1] __handle_mm_fault (mm/memory.c:5441) [ 43.368972][ C1] ? __pfx___handle_mm_fault (mm/memory.c:5352) [ 43.369140][ C1] handle_mm_fault (mm/memory.c:5610) [ 43.369292][ C1] ? __pfx_find_vma (mm/mmap.c:1889) [ 43.369450][ C1] ? __pfx_handle_mm_fault (mm/memory.c:5576) [ 43.369607][ C1] do_user_addr_fault (arch/x86/mm/fault.c:1415) [ 43.369845][ C1] ? irqentry_enter_from_user_mode (./include/linux/entry-common.h:117 kernel/entry/common.c:225) [ 43.370035][ C1] exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:67 ./arch/x86/include/asm/irqflags.h:127 arch/x86/mm/fault.c:1513 arch/x86/mm/fault.c:1563) [ 43.370192][ C1] asm_exc_page_fault (./arch/x86/include/asm/idtentry.h:623) [ 43.370344][ C1] RIP: 0033:0x7f0def56a0ec [ 43.370597][ C1] Code: 1e fa 80 3d 35 ef 02 00 00 75 2b 55 48 83 3d 0a ef 02 00 00 48 89 e5 74 0c 48 8d 3d fe e8 02 00 e8 59 ff ff ff e8 64 ff ff ff 05 0d ef 02 00 01 5d c3 0f 1f 00 c3 0f 1f 80 00 00 00 00 f3 0f All code ======== 0: 1e (bad) 1: fa cli 2: 80 3d 35 ef 02 00 00 cmpb $0x0,0x2ef35(%rip) # 0x2ef3e 9: 75 2b jne 0x36 b: 55 push %rbp c: 48 83 3d 0a ef 02 00 cmpq $0x0,0x2ef0a(%rip) # 0x2ef1e 13: 00 14: 48 89 e5 mov %rsp,%rbp 17: 74 0c je 0x25 19: 48 8d 3d fe e8 02 00 lea 0x2e8fe(%rip),%rdi # 0x2e91e 20: e8 59 ff ff ff call 0xffffffffffffff7e 25: e8 64 ff ff ff call 0xffffffffffffff8e 2a:* c6 05 0d ef 02 00 01 movb $0x1,0x2ef0d(%rip) # 0x2ef3e <-- trapping instruction 31: 5d pop %rbp 32: c3 ret 33: 0f 1f 00 nopl (%rax) 36: c3 ret 37: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 3e: f3 repz 3f: 0f .byte 0xf Code starting with the faulting instruction =========================================== 0: c6 05 0d ef 02 00 01 movb $0x1,0x2ef0d(%rip) # 0x2ef14 7: 5d pop %rbp 8: c3 ret 9: 0f 1f 00 nopl (%rax) c: c3 ret d: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 14: f3 repz 15: 0f .byte 0xf [ 43.371228][ C1] RSP: 002b:00007ffda950a2b0 EFLAGS: 00010246 [ 43.371424][ C1] RAX: 00007f0def599000 RBX: 00007f0def94b000 RCX: 0000000000000000 [ 43.371656][ C1] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 00007f0def599000 [ 43.371980][ C1] RBP: 00007ffda950a2b0 R08: 0000000000000000 R09: 0000000000000068 [ 43.372211][ C1] R10: 00007f0def5a7fa8 R11: 00007f0def5f98d0 R12: 0000000000000000 Finger prints: asm_exc_page_fault:dump_stack_lvl:mark_lock_irq:mark_lock