====================================== | [ 179.468941][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 179.469114][ C2] | [ 179.469183][ C2] | [ 179.469183][ C2] stack backtrace: [ 179.469641][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 179.470034][ C2] Call Trace: [ 179.470148][ C2] [ 179.470220][ C2] dump_stack_lvl (lib/dump_stack.c:117) [ 179.470363][ C2] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 179.470535][ C2] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 179.470679][ C2] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 179.470857][ C2] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 179.470995][ C2] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 179.471132][ C2] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 179.471358][ C2] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 179.471498][ C2] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 179.471638][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 179.471780][ C2] ? save_trace (kernel/locking/lockdep.c:586) [ 179.472097][ C2] mark_lock (kernel/locking/lockdep.c:4678) [ 179.472204][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 179.472343][ C2] mark_usage (kernel/locking/lockdep.c:4567) [ 179.472449][ C2] __lock_acquire (kernel/locking/lockdep.c:5091) [ 179.472591][ C2] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 179.472730][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 179.472867][ C2] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 179.473006][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 179.473144][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 179.473283][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 179.473421][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 179.473558][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 179.473700][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 179.473838][ C2] _raw_write_lock (./include/linux/rwlock_api_smp.h:210 kernel/locking/spinlock.c:300) [ 179.474060][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 179.474196][ C2] addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 179.474334][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 179.474473][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 179.474693][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 179.474830][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 179.474970][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 179.475113][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 179.475331][ C2] call_timer_fn (kernel/time/timer.c:1793) [ 179.475472][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 179.475611][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 179.475751][ C2] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 179.475971][ 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) [ 179.476108][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 179.476248][ C2] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 179.476387][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 179.476529][ C2] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 179.476749][ 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) [ 179.476887][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 179.477025][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 179.477164][ C2] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 179.477385][ C2] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 179.477523][ C2] __do_softirq (kernel/softirq.c:554) [ 179.477663][ C2] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 179.477770][ C2] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 179.477990][ C2] [ 179.478062][ C2] [ 179.478133][ C2] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 179.478304][ C2] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 179.478484][ C2] 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 ed 6b <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 ed 6b decl %gs:0x6bed7bf5(%rip) # 0x6bed7c1f 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 [ 179.479072][ C2] RSP: 0018:ffffc900005cfc98 EFLAGS: 00000286 [ 179.479253][ C2] RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff2e85355 [ 179.479550][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff94164de1 [ 179.479759][ C2] RBP: ffff88800104f440 R08: 0000000000000001 R09: fffffbfff2e832a9 [ 179.480055][ C2] R10: ffffffff9741954f R11: 0000000000000008 R12: ffff8880032f0f08 [ 179.480267][ C2] R13: 0000000000000000 R14: ffffc900005cfce8 R15: ffff888002ecc3c8 [ 179.480480][ C2] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 179.480655][ C2] qlist_free_all (mm/kasan/quarantine.c:174) [ 179.480804][ C2] kasan_quarantine_reduce (./include/linux/srcu.h:285 mm/kasan/quarantine.c:287) [ 179.480946][ C2] __kasan_slab_alloc (mm/kasan/common.c:322) [ 179.481085][ C2] kmem_cache_alloc (./include/linux/kasan.h:201 mm/slub.c:3798 mm/slub.c:3845 mm/slub.c:3852) [ 179.481224][ C2] getname_flags (fs/namei.c:139) [ 179.481369][ C2] vfs_fstatat (fs/stat.c:304) [ 179.481474][ C2] __do_sys_newfstatat (fs/stat.c:469) [ 179.481614][ C2] ? __pfx___do_sys_newfstatat (fs/stat.c:464) [ 179.481754][ C2] ? __x64_sys_openat (fs/open.c:1432) [ 179.481975][ C2] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 179.482114][ C2] ? __pfx_do_faccessat (fs/open.c:465) [ 179.482254][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 179.482425][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 179.482726][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 179.482897][ C2] RIP: 0033:0x7ffb65d59eae [ 179.483038][ C2] Code: 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 07 00 00 00 0f 1f 80 00 00 00 00 f3 0f 1e fa 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 0b 31 c0 c3 0f 1f 84 00 00 00 00 00 f7 d8 89 05 All code ======== 0: 48 89 f2 mov %rsi,%rdx 3: b9 00 01 00 00 mov $0x100,%ecx 8: 48 89 fe mov %rdi,%rsi b: bf 9c ff ff ff mov $0xffffff9c,%edi 10: e9 07 00 00 00 jmp 0x1c 15: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 1c: f3 0f 1e fa endbr64 20: 41 89 ca mov %ecx,%r10d 23: b8 06 01 00 00 mov $0x106,%eax 28: 0f 05 syscall 2a:* 3d 00 f0 ff ff cmp $0xfffff000,%eax <-- trapping instruction 2f: 77 0b ja 0x3c 31: 31 c0 xor %eax,%eax 33: c3 ret 34: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 3b: 00 3c: f7 d8 neg %eax 3e: 89 .byte 0x89 3f: 05 .byte 0x5 Code starting with the faulting instruction =========================================== 0: 3d 00 f0 ff ff cmp $0xfffff000,%eax 5: 77 0b ja 0x12 7: 31 c0 xor %eax,%eax 9: c3 ret a: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 11: 00 12: f7 d8 neg %eax 14: 89 .byte 0x89 15: 05 .byte 0x5 [ 179.483621][ C2] RSP: 002b:00007ffda2affe18 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 [ 179.483831][ C2] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007ffb65d59eae [ 179.484135][ C2] RDX: 00007ffda2affef0 RSI: 00007ffda2affe20 RDI: 00000000ffffff9c [ 179.484342][ C2] RBP: 00007ffda2afffb0 R08: 00000000ffffffff R09: 00007ffda2affe20 [ 179.484549][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffda2affe27 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage