====================================== | [ 42.714610][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 42.714968][ C1] | [ 42.715309][ C1] | [ 42.715309][ C1] stack backtrace: [ 42.716102][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 42.716948][ C1] Call Trace: [ 42.717177][ C1] [ 42.717326][ C1] dump_stack_lvl (lib/dump_stack.c:117) [ 42.717618][ C1] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 42.717979][ C1] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 42.718270][ C1] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 42.718575][ C1] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 42.718754][ C1] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 42.719030][ C1] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 42.719212][ C1] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 42.719388][ C1] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 42.719561][ C1] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 42.719736][ C1] ? save_trace (kernel/locking/lockdep.c:586) [ 42.720012][ C1] mark_lock (kernel/locking/lockdep.c:4678) [ 42.720142][ C1] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 42.720313][ C1] mark_usage (kernel/locking/lockdep.c:4567) [ 42.720445][ C1] __lock_acquire (kernel/locking/lockdep.c:5091) [ 42.720728][ C1] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 42.720900][ C1] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 42.721074][ C1] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 42.721244][ C1] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 42.721424][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 42.721712][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 42.721883][ C1] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 42.722052][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 42.722230][ C1] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 42.722402][ C1] _raw_write_lock (./include/linux/rwlock_api_smp.h:210 kernel/locking/spinlock.c:300) [ 42.722580][ C1] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 42.722757][ C1] addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 42.722929][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 42.723205][ C1] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 42.723377][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 42.723548][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 42.723718][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 42.723998][ C1] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 42.724169][ C1] call_timer_fn (kernel/time/timer.c:1793) [ 42.724340][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 42.724510][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 42.724681][ C1] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 42.724957][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 42.725135][ C1] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 42.725305][ C1] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 42.725491][ C1] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 42.725768][ C1] ? 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) [ 42.725939][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 42.726110][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 42.726284][ C1] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 42.726563][ C1] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 42.726734][ C1] __do_softirq (kernel/softirq.c:554) [ 42.726909][ C1] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 42.727037][ C1] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 42.727210][ C1] [ 42.727405][ C1] [ 42.727495][ C1] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 42.727706][ C1] RIP: 0010:__rcu_read_lock (kernel/rcu/tree_plugin.h:379 kernel/rcu/tree_plugin.h:402) [ 42.727890][ C1] Code: 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 a6 00 00 00 65 48 8b 2d f4 6c 6c 73 48 8d bd fc 03 00 00 8b 9b fc 03 00 00 <48> b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 83 c3 01 0f b6 All code ======== 0: 48 89 f8 mov %rdi,%rax 3: 83 e0 07 and $0x7,%eax 6: 83 c0 03 add $0x3,%eax 9: 38 d0 cmp %dl,%al b: 7c 08 jl 0x15 d: 84 d2 test %dl,%dl f: 0f 85 a6 00 00 00 jne 0xbb 15: 65 48 8b 2d f4 6c 6c mov %gs:0x736c6cf4(%rip),%rbp # 0x736c6d11 1c: 73 1d: 48 8d bd fc 03 00 00 lea 0x3fc(%rbp),%rdi 24: 8b 9b fc 03 00 00 mov 0x3fc(%rbx),%ebx 2a:* 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax <-- trapping instruction 31: fc ff df 34: 48 89 fa mov %rdi,%rdx 37: 48 c1 ea 03 shr $0x3,%rdx 3b: 83 c3 01 add $0x1,%ebx 3e: 0f .byte 0xf 3f: b6 .byte 0xb6 Code starting with the faulting instruction =========================================== 0: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 7: fc ff df a: 48 89 fa mov %rdi,%rdx d: 48 c1 ea 03 shr $0x3,%rdx 11: 83 c3 01 add $0x1,%ebx 14: 0f .byte 0xf 15: b6 .byte 0xb6 [ 42.728734][ C1] RSP: 0018:ffffc90000a3f420 EFLAGS: 00000246 [ 42.728954][ C1] RAX: 0000000000000007 RBX: 0000000000000000 RCX: 1ffff11000b4514c [ 42.729319][ C1] RDX: 0000000000000000 RSI: 00007f240dd95eae RDI: ffff888005a2843c [ 42.729591][ C1] RBP: ffff888005a28040 R08: ffffffff8caa9518 R09: fffffbfff21649fa [ 42.729848][ C1] R10: ffffffff90b24fd7 R11: ffffc90000a3f4e9 R12: 00007f240dd95eae [ 42.730216][ C1] R13: 0000000000000000 R14: ffff888005a28040 R15: 0000000000000000 [ 42.730477][ C1] ? __is_insn_slot_addr (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 kernel/kprobes.c:309) [ 42.730652][ C1] __is_insn_slot_addr (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 kernel/kprobes.c:301) [ 42.730929][ C1] kernel_text_address (kernel/extable.c:123 kernel/extable.c:94) [ 42.731104][ C1] __kernel_text_address (kernel/extable.c:79) [ 42.731278][ C1] unwind_get_return_address (arch/x86/kernel/unwind_orc.c:369 arch/x86/kernel/unwind_orc.c:364) [ 42.731451][ C1] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 42.731779][ C1] arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 42.731955][ C1] stack_trace_save (kernel/stacktrace.c:123) [ 42.732126][ C1] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 42.732296][ C1] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 42.732576][ C1] ? 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) [ 42.732749][ C1] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 42.732880][ C1] kasan_save_stack (mm/kasan/common.c:48) [ 42.733055][ C1] ? kasan_save_stack (mm/kasan/common.c:48) [ 42.733226][ C1] ? __kasan_record_aux_stack (mm/kasan/generic.c:541) [ 42.733410][ C1] ? __call_rcu_common.constprop.0 (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:67 ./arch/x86/include/asm/irqflags.h:103 kernel/rcu/tree.c:2735) [ 42.733639][ C1] ? kmem_cache_free (./include/linux/kmemleak.h:48 mm/slub.c:2072 mm/slub.c:4280 mm/slub.c:4344) [ 42.733815][ C1] ? p9_req_put (net/9p/client.c:410) [ 42.733989][ C1] ? p9_client_clunk (net/9p/client.c:1452) [ 42.734271][ C1] ? v9fs_dentry_release (fs/9p/vfs_dentry.c:54) [ 42.734445][ C1] ? __dentry_kill (fs/dcache.c:608) [ 42.734620][ C1] ? dput.part.0 (fs/dcache.c:845) [ 42.734792][ C1] ? walk_component (fs/namei.c:562 fs/namei.c:1027 fs/namei.c:2009) [ 42.735070][ C1] ? link_path_walk.part.0.constprop.0 (fs/namei.c:2328) [ 42.735285][ C1] ? path_lookupat (fs/namei.c:2254 (discriminator 2) fs/namei.c:2484 (discriminator 2)) [ 42.735458][ C1] ? filename_lookup (fs/namei.c:2514) [ 42.735629][ C1] ? vfs_statx (fs/stat.c:244) [ 42.735862][ C1] ? vfs_fstatat (fs/stat.c:305) [ 42.736033][ C1] ? __do_sys_newfstatat (fs/stat.c:469) [ 42.736204][ C1] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 42.736376][ C1] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 42.736697][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 42.736870][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 42.737043][ C1] ? __virt_addr_valid (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:894 ./include/linux/mmzone.h:2029 arch/x86/mm/physaddr.c:65) [ 42.737216][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 42.737388][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 42.737677][ C1] ? __virt_addr_valid (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:894 ./include/linux/mmzone.h:2029 arch/x86/mm/physaddr.c:65) [ 42.737849][ C1] ? __virt_addr_valid (./arch/x86/include/asm/preempt.h:94 ./include/linux/rcupdate.h:896 ./include/linux/mmzone.h:2029 arch/x86/mm/physaddr.c:65) [ 42.738022][ C1] ? __pfx_free_object_rcu (mm/kmemleak.c:508) [ 42.738186][ C1] ? kasan_addr_to_slab (./arch/x86/include/asm/bitops.h:206 ./arch/x86/include/asm/bitops.h:238 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 ./include/linux/page-flags.h:507 mm/kasan/../slab.h:206 mm/kasan/common.c:38) [ 42.738357][ C1] __kasan_record_aux_stack (mm/kasan/generic.c:541) [ 42.738526][ C1] ? __pfx_free_object_rcu (mm/kmemleak.c:508) [ 42.738698][ C1] __call_rcu_common.constprop.0 (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:67 ./arch/x86/include/asm/irqflags.h:103 kernel/rcu/tree.c:2735) [ 42.738911][ C1] kmem_cache_free (./include/linux/kmemleak.h:48 mm/slub.c:2072 mm/slub.c:4280 mm/slub.c:4344) [ 42.739180][ C1] ? p9_req_put (net/9p/client.c:410) [ 42.739339][ C1] p9_req_put (net/9p/client.c:410) [ 42.739463][ C1] p9_client_clunk (net/9p/client.c:1452) [ 42.739625][ C1] v9fs_dentry_release (fs/9p/vfs_dentry.c:54) [ 42.739888][ C1] __dentry_kill (fs/dcache.c:608) [ 42.740054][ C1] ? __pfx_kfree_link (fs/libfs.c:1573) [ 42.740300][ C1] dput.part.0 (fs/dcache.c:845) [ 42.740552][ C1] walk_component (fs/namei.c:562 fs/namei.c:1027 fs/namei.c:2009) [ 42.740807][ C1] link_path_walk.part.0.constprop.0 (fs/namei.c:2328) [ 42.741238][ C1] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249) [ 42.741529][ C1] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837) [ 42.741788][ C1] ? 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) [ 42.742407][ C1] path_lookupat (fs/namei.c:2254 (discriminator 2) fs/namei.c:2484 (discriminator 2)) [ 42.742681][ C1] filename_lookup (fs/namei.c:2514) [ 42.742942][ C1] ? __pfx_filename_lookup (fs/namei.c:2508) [ 42.743170][ C1] ? __pfx_kfree_link (fs/libfs.c:1573) [ 42.743433][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 42.743889][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 42.744155][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 42.744416][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 42.744690][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 42.744948][ C1] vfs_statx (fs/stat.c:244) [ 42.745149][ C1] ? __pfx_vfs_statx (fs/stat.c:234) [ 42.745407][ C1] ? getname_flags (./arch/x86/include/asm/atomic.h:28 ./include/linux/atomic/atomic-arch-fallback.h:503 ./include/linux/atomic/atomic-instrumented.h:68 fs/namei.c:190) [ 42.745673][ C1] vfs_fstatat (fs/stat.c:305) [ 42.745874][ C1] __do_sys_newfstatat (fs/stat.c:469) [ 42.746319][ C1] ? __pfx___do_sys_newfstatat (fs/stat.c:464) [ 42.746596][ C1] ? __x64_sys_openat (fs/open.c:1432) [ 42.746870][ C1] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 42.747156][ C1] ? __pfx_do_faccessat (fs/open.c:465) [ 42.747612][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 42.747937][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 42.748176][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 42.748511][ C1] RIP: 0033:0x7f240dd95eae [ 42.748785][ C1] 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 [ 42.749929][ C1] RSP: 002b:00007ffee7a24718 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 [ 42.750182][ C1] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007f240dd95eae [ 42.750435][ C1] RDX: 00007ffee7a247f0 RSI: 00007ffee7a24720 RDI: 00000000ffffff9c [ 42.750928][ C1] RBP: 00007ffee7a248b0 R08: 00000000ffffffff R09: 00007ffee7a24720 [ 42.751168][ C1] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffee7a24727 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage