====================================== | [ 62.808841][ C0] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 62.809123][ C0] | [ 62.809197][ C0] | [ 62.809197][ C0] stack backtrace: [ 62.809605][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 62.809936][ C0] Call Trace: [ 62.810050][ C0] [ 62.810128][ C0] dump_stack_lvl (lib/dump_stack.c:117) [ 62.810281][ C0] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 62.810558][ C0] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 62.810743][ C0] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 62.810891][ C0] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 62.811137][ C0] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 62.811289][ C0] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 62.811437][ C0] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 62.811586][ C0] ? stack_trace_save (kernel/stacktrace.c:123) [ 62.811736][ C0] ? add_chain_cache (kernel/locking/lockdep.c:3730) [ 62.812071][ C0] ? save_trace (kernel/locking/lockdep.c:586) [ 62.812221][ C0] mark_lock (kernel/locking/lockdep.c:4678) [ 62.812333][ C0] mark_usage (kernel/locking/lockdep.c:4567) [ 62.812444][ C0] __lock_acquire (kernel/locking/lockdep.c:5091) [ 62.812594][ C0] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 62.812740][ C0] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 62.813002][ C0] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 62.813149][ C0] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 62.813466][ C0] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 62.813614][ C0] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 62.813761][ C0] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 62.813986][ C0] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 62.814226][ C0] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 62.814446][ C0] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 62.814592][ C0] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 62.814813][ C0] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 62.815127][ C0] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 62.815386][ C0] call_timer_fn (kernel/time/timer.c:1793) [ 62.815558][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 62.815709][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 62.815858][ C0] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 62.816005][ C0] ? 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) [ 62.816154][ C0] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 62.816305][ C0] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 62.816452][ C0] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 62.816710][ C0] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 62.816860][ 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) [ 62.817103][ C0] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 62.817252][ C0] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 62.817400][ C0] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 62.817549][ C0] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 62.817697][ C0] __do_softirq (kernel/softirq.c:554) [ 62.817847][ C0] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 62.817959][ C0] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 62.818113][ C0] [ 62.818198][ C0] [ 62.818275][ C0] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 62.818553][ C0] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 62.818747][ C0] 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 cf 53 <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 cf 53 decl %gs:0x53cfbf05(%rip) # 0x53cfbf2f 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 [ 62.819365][ C0] RSP: 0018:ffffc9000059f6f0 EFLAGS: 00000282 [ 62.819558][ C0] RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff5ea5eb4 [ 62.819782][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffac340911 [ 62.820096][ C0] RBP: ffff88800104f440 R08: 0000000000000001 R09: fffffbfff5ea38aa [ 62.820319][ C0] R10: ffffffffaf51c557 R11: 0000000000000008 R12: ffff88800104f440 [ 62.820639][ C0] R13: ffffea00001f1380 R14: ffff88800104de40 R15: ffff888007c4fe08 [ 62.820870][ C0] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 62.821057][ C0] get_partial_node.part.0 (mm/slub.c:2623) [ 62.821207][ C0] ___slab_alloc (mm/slub.c:2583 mm/slub.c:2701 mm/slub.c:3505) [ 62.821446][ C0] ? kmem_cache_alloc (./include/linux/sched/mm.h:315 mm/slub.c:3746 mm/slub.c:3827 mm/slub.c:3852) [ 62.821594][ C0] ? __alloc_object (mm/kmemleak.c:466 mm/kmemleak.c:645) [ 62.821741][ C0] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 62.821891][ C0] ? __alloc_object (mm/kmemleak.c:466 mm/kmemleak.c:645) [ 62.822134][ C0] ? kmem_cache_alloc (mm/slub.c:3610 mm/slub.c:3663 mm/slub.c:3835 mm/slub.c:3852) [ 62.822282][ C0] kmem_cache_alloc (mm/slub.c:3610 mm/slub.c:3663 mm/slub.c:3835 mm/slub.c:3852) [ 62.822431][ C0] __alloc_object (mm/kmemleak.c:466 mm/kmemleak.c:645) [ 62.822583][ C0] __create_object (mm/kmemleak.c:750) [ 62.822731][ C0] kmem_cache_alloc (./include/linux/kmemleak.h:42 mm/slub.c:3802 mm/slub.c:3845 mm/slub.c:3852) [ 62.822881][ C0] vm_area_dup (kernel/fork.c:441 kernel/fork.c:494) [ 62.822993][ C0] __split_vma (mm/mmap.c:2339) [ 62.823141][ C0] ? 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) [ 62.823287][ C0] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 62.823582][ C0] ? __pfx___split_vma (mm/mmap.c:2325) [ 62.823733][ C0] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 62.823880][ C0] ? __lock_acquire (kernel/locking/lockdep.c:5134 (discriminator 9)) [ 62.824027][ C0] do_vmi_align_munmap.constprop.0 (mm/mmap.c:2550) [ 62.824311][ C0] ? __pfx_do_vmi_align_munmap.constprop.0 (mm/mmap.c:2505) [ 62.824493][ C0] ? mtree_range_walk (lib/maple_tree.c:788 lib/maple_tree.c:2792) [ 62.824644][ C0] ? mas_walk (lib/maple_tree.c:3678 lib/maple_tree.c:4909) [ 62.824759][ C0] ? mas_find (lib/maple_tree.c:6025 lib/maple_tree.c:6064) [ 62.824871][ C0] mmap_region (mm/mmap.c:2747) [ 62.825121][ C0] ? __pfx_arch_get_unmapped_area_topdown (arch/x86/kernel/sys_x86_64.c:157) [ 62.825315][ C0] ? __pfx_mmap_region (mm/mmap.c:2718) [ 62.825473][ C0] ? get_unmapped_area (mm/mmap.c:1854) [ 62.825623][ C0] do_mmap (mm/mmap.c:1385) [ 62.825736][ C0] ? __lock_release (kernel/locking/lockdep.c:5430) [ 62.825884][ C0] ? __fget_files (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 fs/file.c:1037) [ 62.826033][ C0] vm_mmap_pgoff (mm/util.c:573) [ 62.826182][ C0] ? __pfx_vm_mmap_pgoff (mm/util.c:563) [ 62.826424][ C0] ? __fget_files (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 fs/file.c:1037) [ 62.826571][ C0] ? __fget_files (fs/file.c:1040) [ 62.826718][ C0] ksys_mmap_pgoff (mm/mmap.c:1431) [ 62.826867][ C0] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 62.827107][ C0] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 62.827294][ C0] RIP: 0033:0x7f0b50911287 [ 62.827448][ C0] Code: c3 66 90 48 89 2b 48 c7 43 08 00 04 00 00 5b 5d 41 5c c3 f3 0f 1e fa 41 89 ca 41 f7 c1 ff 0f 00 00 75 10 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 19 c3 c7 05 46 ef 00 00 16 00 00 00 48 c7 c0 All code ======== 0: c3 ret 1: 66 90 xchg %ax,%ax 3: 48 89 2b mov %rbp,(%rbx) 6: 48 c7 43 08 00 04 00 movq $0x400,0x8(%rbx) d: 00 e: 5b pop %rbx f: 5d pop %rbp 10: 41 5c pop %r12 12: c3 ret 13: f3 0f 1e fa endbr64 17: 41 89 ca mov %ecx,%r10d 1a: 41 f7 c1 ff 0f 00 00 test $0xfff,%r9d 21: 75 10 jne 0x33 23: b8 09 00 00 00 mov $0x9,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 19 ja 0x4b 32: c3 ret 33: c7 05 46 ef 00 00 16 movl $0x16,0xef46(%rip) # 0xef83 3a: 00 00 00 3d: 48 rex.W 3e: c7 .byte 0xc7 3f: c0 .byte 0xc0 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 19 ja 0x21 8: c3 ret 9: c7 05 46 ef 00 00 16 movl $0x16,0xef46(%rip) # 0xef59 10: 00 00 00 13: 48 rex.W 14: c7 .byte 0xc7 15: c0 .byte 0xc0 [ 62.827973][ C0] RSP: 002b:00007fffbefed418 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 [ 62.828195][ C0] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f0b50911287 [ 62.828508][ C0] RDX: 0000000000000001 RSI: 0000000000002000 RDI: 00007f0b5088a000 [ 62.828727][ C0] RBP: 00007fffbefed780 R08: 0000000000000005 R09: 0000000000006000 [ 62.828946][ C0] R10: 0000000000000812 R11: 0000000000000246 R12: 00007fffbefed480 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage