====================================== | [ 43.582537][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 43.582740][ C2] | [ 43.582818][ C2] | [ 43.582818][ C2] stack backtrace: [ 43.583339][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 43.583681][ C2] Call Trace: [ 43.583798][ C2] [ 43.583987][ C2] dump_stack_lvl (lib/dump_stack.c:117) [ 43.584147][ C2] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 43.584337][ C2] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 43.584529][ C2] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 43.584685][ C2] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 43.584837][ C2] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 43.584992][ C2] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 43.585146][ C2] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 43.585303][ C2] ? stack_trace_save (kernel/stacktrace.c:123) [ 43.585458][ C2] ? save_trace (kernel/locking/lockdep.c:586) [ 43.585611][ C2] mark_lock (kernel/locking/lockdep.c:4678) [ 43.585727][ C2] mark_usage (kernel/locking/lockdep.c:4567) [ 43.585844][ C2] __lock_acquire (kernel/locking/lockdep.c:5091) [ 43.586004][ C2] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 43.586160][ C2] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 43.586314][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 43.586468][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 43.586714][ C2] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 43.586866][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 43.587018][ C2] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 43.587169][ C2] _raw_read_lock_bh (./include/linux/rwlock_api_smp.h:177 kernel/locking/spinlock.c:252) [ 43.587326][ C2] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 43.587566][ C2] ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 43.587722][ C2] ndisc_send_ns (net/ipv6/ndisc.c:658) [ 43.587883][ C2] ? __pfx_ndisc_send_ns (net/ipv6/ndisc.c:653) [ 43.588048][ C2] ? __ipv6_chk_addr_and_flags (net/ipv6/addrconf.c:2009) [ 43.588340][ C2] ndisc_solicit (net/ipv6/ndisc.c:736) [ 43.588496][ C2] ? __pfx_ndisc_solicit (net/ipv6/ndisc.c:736) [ 43.588649][ C2] ? neigh_probe (net/core/neighbour.c:1074) [ 43.588803][ C2] neigh_probe (net/core/neighbour.c:1075) [ 43.589023][ C2] neigh_timer_handler (net/core/neighbour.c:1163) [ 43.589181][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 43.589350][ C2] ? __pfx_neigh_timer_handler (net/core/neighbour.c:1083) [ 43.589506][ C2] call_timer_fn (kernel/time/timer.c:1793) [ 43.589661][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 43.589812][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 43.589965][ C2] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 43.590118][ C2] ? 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.590273][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 43.590427][ C2] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 43.590584][ C2] ? __pfx_neigh_timer_handler (net/core/neighbour.c:1083) [ 43.590741][ C2] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 43.590896][ C2] ? 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.591150][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 43.591303][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 43.591460][ C2] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 43.591616][ C2] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 43.591857][ C2] __do_softirq (kernel/softirq.c:554) [ 43.592012][ C2] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 43.592127][ C2] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 43.592287][ C2] [ 43.592368][ C2] [ 43.592449][ C2] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 43.592737][ C2] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 43.592937][ C2] 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 ef 43 <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 ef 43 decl %gs:0x43efbf05(%rip) # 0x43efbf2f 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.593585][ C2] RSP: 0018:ffffc900005ffa18 EFLAGS: 00000286 [ 43.593783][ C2] RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff7e6596e [ 43.594104][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffbc140911 [ 43.594327][ C2] RBP: ffff888001041080 R08: 0000000000000001 R09: fffffbfff7e638a9 [ 43.594556][ C2] R10: ffffffffbf31c54f R11: 0000000000001000 R12: ffff8880063bc000 [ 43.594881][ C2] R13: 0000000000000000 R14: ffffc900005ffa68 R15: ffff888002ad1000 [ 43.595130][ C2] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 43.595338][ C2] qlist_free_all (mm/kasan/quarantine.c:174) [ 43.595507][ C2] kasan_quarantine_reduce (./include/linux/srcu.h:285 mm/kasan/quarantine.c:287) [ 43.595766][ C2] __kasan_slab_alloc (mm/kasan/common.c:322) [ 43.595934][ C2] kmem_cache_alloc (./include/linux/kasan.h:201 mm/slub.c:3798 mm/slub.c:3845 mm/slub.c:3852) [ 43.596099][ C2] ? 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.596253][ C2] alloc_empty_file (./include/linux/slab.h:739 fs/file_table.c:202) [ 43.596494][ C2] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 43.596649][ C2] path_openat (fs/namei.c:3785) [ 43.596762][ C2] ? __pfx_path_openat (fs/namei.c:3781) [ 43.596918][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 43.597160][ C2] do_filp_open (fs/namei.c:3826) [ 43.597309][ C2] ? __pfx_do_filp_open (fs/namei.c:3820) [ 43.597457][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 43.597605][ C2] ? __lock_release (kernel/locking/lockdep.c:5430) [ 43.597752][ C2] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 43.597977][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 43.598131][ C2] ? 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.598279][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 43.598426][ C2] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 43.598539][ C2] ? do_raw_spin_unlock (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/asm-generic/qspinlock.h:57 kernel/locking/spinlock_debug.c:101 kernel/locking/spinlock_debug.c:141) [ 43.598686][ C2] ? _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 43.598834][ C2] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 43.598950][ C2] do_sys_openat2 (fs/open.c:1406) [ 43.599097][ C2] ? __pfx_do_sys_openat2 (fs/open.c:1392) [ 43.599245][ C2] ? trace_rseq_update (./include/trace/events/rseq.h:11 (discriminator 52)) [ 43.599398][ C2] ? __rseq_handle_notify_resume (kernel/rseq.c:316) [ 43.599598][ C2] __x64_sys_openat (fs/open.c:1432) [ 43.599747][ C2] ? __pfx_task_work_run (kernel/task_work.c:148) [ 43.599901][ C2] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 43.600050][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 43.600199][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 43.600382][ C2] RIP: 0033:0x7fb22fad6786 [ 43.600642][ C2] Code: c0 f6 c2 40 75 4e 89 d0 45 31 d2 25 00 00 41 00 3d 00 00 41 00 74 3d 64 8b 04 25 18 00 00 00 85 c0 75 61 b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 9e 00 00 00 48 8b 54 24 38 64 48 2b 14 25 All code ======== 0: c0 f6 c2 shl $0xc2,%dh 3: 40 75 4e rex jne 0x54 6: 89 d0 mov %edx,%eax 8: 45 31 d2 xor %r10d,%r10d b: 25 00 00 41 00 and $0x410000,%eax 10: 3d 00 00 41 00 cmp $0x410000,%eax 15: 74 3d je 0x54 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 61 jne 0x84 23: b8 01 01 00 00 mov $0x101,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 0f 87 9e 00 00 00 ja 0xd4 36: 48 8b 54 24 38 mov 0x38(%rsp),%rdx 3b: 64 fs 3c: 48 rex.W 3d: 2b .byte 0x2b 3e: 14 25 adc $0x25,%al Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 0f 87 9e 00 00 00 ja 0xaa c: 48 8b 54 24 38 mov 0x38(%rsp),%rdx 11: 64 fs 12: 48 rex.W 13: 2b .byte 0x2b 14: 14 25 adc $0x25,%al [ 43.601226][ C2] RSP: 002b:00007fffa8636d30 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 43.601547][ C2] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb22fad6786 [ 43.601767][ C2] RDX: 00000000002a0000 RSI: 000056414721c060 RDI: 000000000000000d [ 43.602175][ C2] RBP: 00007fffa8636f90 R08: 00000000ffffffff R09: 0000000000000000 [ 43.602396][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage