====================================== | [ 149.641595][ C0] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 149.641775][ C0] | [ 149.641848][ C0] | [ 149.641848][ C0] stack backtrace: [ 149.642245][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 149.642565][ C0] Call Trace: [ 149.642681][ C0] [ 149.642761][ C0] dump_stack_lvl (lib/dump_stack.c:117) [ 149.642913][ C0] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 149.643096][ C0] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 149.643244][ C0] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 149.643423][ C0] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 149.643569][ C0] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 149.643712][ C0] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 149.643858][ C0] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 149.644004][ C0] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 149.644148][ C0] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 149.644298][ C0] ? save_trace (kernel/locking/lockdep.c:586) [ 149.644449][ C0] mark_lock (kernel/locking/lockdep.c:4678) [ 149.644559][ C0] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 149.644703][ C0] mark_usage (kernel/locking/lockdep.c:4567) [ 149.644814][ C0] __lock_acquire (kernel/locking/lockdep.c:5091) [ 149.644961][ C0] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 149.645107][ C0] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 149.645251][ C0] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 149.645399][ C0] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 149.645545][ C0] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 149.645690][ C0] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 149.645835][ C0] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 149.645979][ C0] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 149.646124][ C0] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 149.646268][ C0] _raw_write_lock (./include/linux/rwlock_api_smp.h:210 kernel/locking/spinlock.c:300) [ 149.646412][ C0] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 149.646555][ C0] addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 149.646702][ C0] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 149.646847][ C0] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 149.646991][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 149.647133][ C0] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 149.647279][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 149.647512][ C0] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 149.647656][ C0] call_timer_fn (kernel/time/timer.c:1793) [ 149.647801][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 149.647947][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 149.648179][ C0] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 149.648323][ 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) [ 149.648470][ C0] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 149.648615][ C0] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 149.648846][ C0] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 149.648991][ C0] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 149.649135][ C0] ? __lock_release (kernel/locking/lockdep.c:5430) [ 149.649280][ 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) [ 149.649514][ C0] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 149.649658][ C0] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 149.649802][ C0] ? timer_expire_remote (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 149.649948][ C0] timer_expire_remote (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 149.650092][ C0] 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) [ 149.650331][ C0] ? __pfx_tmigr_handle_remote_cpu (kernel/time/timer_migration.c:869) [ 149.650509][ 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) [ 149.650652][ C0] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 149.650765][ C0] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 149.651003][ C0] tmigr_handle_remote_up (kernel/time/timer_migration.c:1003) [ 149.651148][ C0] tmigr_handle_remote (kernel/time/timer_migration.c:488 kernel/time/timer_migration.c:1061) [ 149.651292][ C0] ? __pfx_tmigr_handle_remote (kernel/time/timer_migration.c:1026) [ 149.651438][ C0] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 149.651584][ C0] __do_softirq (kernel/softirq.c:554) [ 149.651729][ C0] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 149.651839][ C0] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 149.651993][ C0] [ 149.652068][ C0] [ 149.652142][ C0] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 149.652321][ C0] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 149.652509][ C0] Code: 10 e8 41 ea 91 fd 48 89 ef e8 79 5a 92 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 e5 61 c6 50 <74> 0e 5b 5d c3 cc cc cc cc e8 6f 54 b5 fd eb dc 0f 1f 44 00 00 5b All code ======== 0: 10 e8 adc %ch,%al 2: 41 ea rex.B (bad) 4: 91 xchg %eax,%ecx 5: fd std 6: 48 89 ef mov %rbp,%rdi 9: e8 79 5a 92 fd call 0xfffffffffd925a87 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 e5 61 c6 50 decl %gs:0x50c661e5(%rip) # 0x50c6620f 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 6f 54 b5 fd call 0xfffffffffdb554a7 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 6f 54 b5 fd call 0xfffffffffdb5547d e: eb dc jmp 0xffffffffffffffec 10: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 15: 5b pop %rbx [ 149.653115][ C0] RSP: 0018:ffffc9000268fb38 EFLAGS: 00000286 [ 149.653302][ C0] RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff64b3d55 [ 149.653610][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffaf3d67f1 [ 149.653825][ C0] RBP: ffff888001041080 R08: 0000000000000001 R09: fffffbfff64b1ca9 [ 149.654042][ C0] R10: ffffffffb258e54f R11: 0000000000001000 R12: ffff88800dd13a28 [ 149.654349][ C0] R13: 0000000000000000 R14: ffffc9000268fb88 R15: ffff888008024000 [ 149.654578][ C0] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 149.654759][ C0] qlist_free_all (mm/kasan/quarantine.c:174) [ 149.654904][ C0] kasan_quarantine_reduce (./include/linux/srcu.h:285 mm/kasan/quarantine.c:287) [ 149.655139][ C0] __kasan_slab_alloc (mm/kasan/common.c:322) [ 149.655283][ C0] kmem_cache_alloc (./include/linux/kasan.h:201 mm/slub.c:3798 mm/slub.c:3845 mm/slub.c:3852) [ 149.655428][ C0] vm_area_alloc (kernel/fork.c:467) [ 149.655572][ C0] mmap_region (mm/mmap.c:2807) [ 149.655719][ C0] ? __pfx_arch_get_unmapped_area_topdown (arch/x86/kernel/sys_x86_64.c:157) [ 149.655899][ C0] ? __pfx_mmap_region (mm/mmap.c:2718) [ 149.656045][ C0] ? get_unmapped_area (mm/mmap.c:1854) [ 149.656190][ C0] do_mmap (mm/mmap.c:1385) [ 149.656299][ C0] ? __lock_release (kernel/locking/lockdep.c:5430) [ 149.656443][ C0] ? __fget_files (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 fs/file.c:1037) [ 149.656588][ C0] vm_mmap_pgoff (mm/util.c:573) [ 149.656734][ C0] ? __pfx_vm_mmap_pgoff (mm/util.c:563) [ 149.656988][ C0] ? __fget_files (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 fs/file.c:1037) [ 149.657133][ C0] ? __fget_files (fs/file.c:1040) [ 149.657278][ C0] ksys_mmap_pgoff (mm/mmap.c:1431) [ 149.657429][ C0] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 149.657575][ C0] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 149.657755][ C0] RIP: 0033:0x7fe3a52ad287 [ 149.657903][ 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 [ 149.658506][ C0] RSP: 002b:00007fffb1ee99c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 [ 149.658726][ C0] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fe3a52ad287 [ 149.659033][ C0] RDX: 0000000000000001 RSI: 0000000000009018 RDI: 0000000000000000 [ 149.659249][ C0] RBP: 00007fffb1ee9d30 R08: 0000000000000005 R09: 0000000000000000 [ 149.659466][ C0] R10: 0000000000000802 R11: 0000000000000246 R12: 0000000000000fff Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage