====================================== | [ 32.340866][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 32.341060][ C3] | [ 32.341146][ C3] | [ 32.341146][ C3] stack backtrace: [ 32.341658][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 32.342006][ C3] Call Trace: [ 32.342299][ C3] [ 32.342381][ C3] dump_stack_lvl (lib/dump_stack.c:117) [ 32.342543][ C3] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 32.342741][ C3] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 32.342903][ C3] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 32.343179][ C3] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 32.343336][ C3] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 32.343491][ C3] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 32.343651][ C3] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 32.343897][ C3] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 32.344053][ C3] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 32.344215][ C3] ? save_trace (kernel/locking/lockdep.c:586) [ 32.344375][ C3] mark_lock (kernel/locking/lockdep.c:4678) [ 32.344495][ C3] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 32.344651][ C3] mark_usage (kernel/locking/lockdep.c:4567) [ 32.344772][ C3] __lock_acquire (kernel/locking/lockdep.c:5091) [ 32.344928][ C3] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 32.345097][ C3] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 32.345257][ C3] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 32.345420][ C3] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 32.345577][ C3] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 32.345735][ C3] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 32.345976][ C3] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 32.346132][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 32.346286][ C3] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 32.346442][ C3] _raw_write_lock (./include/linux/rwlock_api_smp.h:210 kernel/locking/spinlock.c:300) [ 32.346682][ C3] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 32.346843][ C3] addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 32.346997][ C3] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 32.347154][ C3] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 32.347309][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 32.347549][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 32.347706][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 32.347862][ C3] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 32.348021][ C3] call_timer_fn (kernel/time/timer.c:1793) [ 32.348262][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 32.348422][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 32.348579][ C3] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 32.348737][ C3] ? 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) [ 32.348986][ C3] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 32.349145][ C3] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 32.349302][ C3] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 32.349461][ C3] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 32.349703][ 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) [ 32.349867][ C3] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 32.350025][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 32.350183][ C3] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 32.350344][ C3] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 32.350585][ C3] __do_softirq (kernel/softirq.c:554) [ 32.350746][ C3] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 32.350871][ C3] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 32.351029][ C3] [ 32.351111][ C3] [ 32.351273][ C3] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 32.351471][ C3] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 32.351682][ C3] Code: 10 e8 81 21 79 fd 48 89 ef e8 b9 91 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 7b 2d 6f <74> 0e 5b 5d c3 cc cc cc cc e8 0f f0 9c fd eb dc 0f 1f 44 00 00 5b All code ======== 0: 10 e8 adc %ch,%al 2: 81 21 79 fd 48 89 andl $0x8948fd79,(%rcx) 8: ef out %eax,(%dx) 9: e8 b9 91 79 fd call 0xfffffffffd7991c7 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 7b 2d 6f decl %gs:0x6f2d7bf5(%rip) # 0x6f2d7c1f 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 f0 9c fd call 0xfffffffffd9cf047 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 f0 9c fd call 0xfffffffffd9cf01d e: eb dc jmp 0xffffffffffffffec 10: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 15: 5b pop %rbx [ 32.352326][ C3] RSP: 0018:ffffc90000b5fb38 EFLAGS: 00000286 [ 32.352528][ C3] RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff2805355 [ 32.352860][ C3] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff90d64de1 [ 32.353097][ C3] RBP: ffff88800104f440 R08: 0000000000000001 R09: fffffbfff28032a9 [ 32.353335][ C3] R10: ffffffff9401954f R11: 0000000000000008 R12: ffff888005eb0288 [ 32.353572][ C3] R13: 0000000000000000 R14: ffffc90000b5fb88 R15: ffff8880056ccdc8 [ 32.353810][ C3] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 32.354012][ C3] qlist_free_all (mm/kasan/quarantine.c:174) [ 32.354255][ C3] kasan_quarantine_reduce (./include/linux/srcu.h:285 mm/kasan/quarantine.c:287) [ 32.354414][ C3] __kasan_slab_alloc (mm/kasan/common.c:322) [ 32.354572][ C3] kmem_cache_alloc (./include/linux/kasan.h:201 mm/slub.c:3798 mm/slub.c:3845 mm/slub.c:3852) [ 32.354732][ C3] vm_area_alloc (kernel/fork.c:467) [ 32.354984][ C3] mmap_region (mm/mmap.c:2807) [ 32.355145][ C3] ? __pfx_arch_get_unmapped_area_topdown (arch/x86/kernel/sys_x86_64.c:157) [ 32.355341][ C3] ? __pfx_ovl_read_iter (fs/overlayfs/file.c:264) [ 32.355509][ C3] ? __pfx_mmap_region (mm/mmap.c:2718) [ 32.355666][ C3] ? get_unmapped_area (mm/mmap.c:1854) [ 32.355825][ C3] do_mmap (mm/mmap.c:1385) [ 32.355948][ C3] ? __lock_release (kernel/locking/lockdep.c:5430) [ 32.356105][ C3] ? __fget_files (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 fs/file.c:1037) [ 32.356264][ C3] vm_mmap_pgoff (mm/util.c:573) [ 32.356504][ C3] ? __pfx_vm_mmap_pgoff (mm/util.c:563) [ 32.356659][ C3] ? __fget_files (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 fs/file.c:1037) [ 32.356822][ C3] ? __fget_files (fs/file.c:1040) [ 32.356978][ C3] ksys_mmap_pgoff (mm/mmap.c:1431) [ 32.357216][ C3] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 32.357371][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 32.357565][ C3] RIP: 0033:0x7f6c2909a287 [ 32.357726][ C3] 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 [ 32.358372][ C3] RSP: 002b:00007ffcc319b2b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 [ 32.358701][ C3] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f6c2909a287 [ 32.358953][ C3] RDX: 0000000000000001 RSI: 0000000000207f90 RDI: 0000000000000000 [ 32.359187][ C3] RBP: 00007ffcc319b9d0 R08: 0000000000000000 R09: 0000000000000000 [ 32.359506][ C3] R10: 0000000000000802 R11: 0000000000000246 R12: 0000000000000fff Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage