====================================== | [ 31.520281][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 31.520550][ C2] | [ 31.520623][ C2] | [ 31.520623][ C2] stack backtrace: [ 31.521118][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 31.521440][ C2] Call Trace: [ 31.521554][ C2] [ 31.521631][ C2] dump_stack_lvl (lib/dump_stack.c:117) [ 31.521870][ C2] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 31.522051][ C2] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 31.522203][ C2] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 31.522385][ C2] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 31.522621][ C2] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 31.522771][ C2] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 31.522919][ C2] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 31.523066][ C2] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 31.523301][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 31.523449][ C2] ? save_trace (kernel/locking/lockdep.c:586) [ 31.523599][ C2] mark_lock (kernel/locking/lockdep.c:4678) [ 31.523709][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 31.523854][ C2] mark_usage (kernel/locking/lockdep.c:4567) [ 31.524054][ C2] __lock_acquire (kernel/locking/lockdep.c:5091) [ 31.524202][ C2] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 31.524347][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 31.524492][ C2] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 31.524815][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 31.524966][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 31.525112][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 31.525259][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 31.525491][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 31.525636][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 31.525781][ C2] _raw_write_lock (./include/linux/rwlock_api_smp.h:210 kernel/locking/spinlock.c:300) [ 31.525927][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 31.526072][ C2] addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 31.526306][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 31.526453][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 31.526597][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 31.526750][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 31.526987][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 31.527134][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 31.527279][ C2] call_timer_fn (kernel/time/timer.c:1793) [ 31.527424][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 31.527663][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 31.527813][ C2] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 31.527962][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 31.528077][ C2] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 31.528228][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 31.528467][ C2] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 31.528613][ 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) [ 31.528759][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 31.528904][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 31.529137][ C2] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 31.529287][ C2] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 31.529433][ C2] __do_softirq (kernel/softirq.c:554) [ 31.529586][ C2] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 31.529786][ C2] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 31.529933][ C2] [ 31.530009][ C2] [ 31.530083][ C2] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 31.530265][ C2] RIP: 0010:ftrace_graph_ret_addr (kernel/trace/fgraph.c:334) [ 31.530550][ C2] Code: 57 48 89 d0 48 ba 00 00 00 00 00 fc ff df 41 56 41 55 41 54 49 89 cc 55 53 48 89 fb 48 81 c7 ac 14 00 00 48 89 f9 48 c1 e9 03 <48> 83 ec 08 0f b6 0c 11 48 89 fa 83 e2 07 83 c2 03 38 ca 7c 08 84 All code ======== 0: 57 push %rdi 1: 48 89 d0 mov %rdx,%rax 4: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx b: fc ff df e: 41 56 push %r14 10: 41 55 push %r13 12: 41 54 push %r12 14: 49 89 cc mov %rcx,%r12 17: 55 push %rbp 18: 53 push %rbx 19: 48 89 fb mov %rdi,%rbx 1c: 48 81 c7 ac 14 00 00 add $0x14ac,%rdi 23: 48 89 f9 mov %rdi,%rcx 26: 48 c1 e9 03 shr $0x3,%rcx 2a:* 48 83 ec 08 sub $0x8,%rsp <-- trapping instruction 2e: 0f b6 0c 11 movzbl (%rcx,%rdx,1),%ecx 32: 48 89 fa mov %rdi,%rdx 35: 83 e2 07 and $0x7,%edx 38: 83 c2 03 add $0x3,%edx 3b: 38 ca cmp %cl,%dl 3d: 7c 08 jl 0x47 3f: 84 .byte 0x84 Code starting with the faulting instruction =========================================== 0: 48 83 ec 08 sub $0x8,%rsp 4: 0f b6 0c 11 movzbl (%rcx,%rdx,1),%ecx 8: 48 89 fa mov %rdi,%rdx b: 83 e2 07 and $0x7,%edx e: 83 c2 03 add $0x3,%edx 11: 38 ca cmp %cl,%dl 13: 7c 08 jl 0x1d 15: 84 .byte 0x84 [ 31.531079][ C2] RSP: 0018:ffffc90000caf590 EFLAGS: 00000a07 [ 31.531355][ C2] RAX: ffffffff8979660e RBX: ffff888005b8c5c0 RCX: 1ffff11000b71b4d [ 31.531581][ C2] RDX: dffffc0000000000 RSI: ffffc90000caf6f8 RDI: ffff888005b8da6c [ 31.531802][ C2] RBP: ffffc90000caf720 R08: ffffc90000caf708 R09: 1ffff92000195ec2 [ 31.532116][ C2] R10: ffffc90000caf6c8 R11: ffffc90000caf709 R12: ffffc90000cafa30 [ 31.532332][ C2] R13: ffffc90000caf6c8 R14: ffffffff8dde6d08 R15: ffffc90000cafa30 [ 31.532549][ C2] ? __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) [ 31.532819][ C2] unwind_next_frame (./arch/x86/include/asm/unwind.h:111 ./arch/x86/include/asm/unwind.h:127 arch/x86/kernel/unwind_orc.c:588) [ 31.532967][ C2] ? __kasan_record_aux_stack (mm/kasan/generic.c:541) [ 31.533121][ C2] ? __pfx_unwind_next_frame (arch/x86/kernel/unwind_orc.c:469) [ 31.533267][ C2] ? __kasan_record_aux_stack (mm/kasan/generic.c:541) [ 31.533500][ C2] ? kernel_text_address (kernel/extable.c:99) [ 31.533648][ C2] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 31.533829][ C2] arch_stack_walk (arch/x86/kernel/stacktrace.c:24) [ 31.533976][ C2] ? __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) [ 31.534243][ C2] stack_trace_save (kernel/stacktrace.c:123) [ 31.534392][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 31.534536][ C2] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 31.534681][ 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) [ 31.534918][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 31.535028][ C2] kasan_save_stack (mm/kasan/common.c:48) [ 31.535173][ C2] ? kasan_save_stack (mm/kasan/common.c:48) [ 31.535316][ C2] ? __kasan_record_aux_stack (mm/kasan/generic.c:541) [ 31.535552][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 31.535698][ C2] ? debug_object_active_state (lib/debugobjects.c:950) [ 31.535885][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 31.536030][ C2] ? __lock_release (kernel/locking/lockdep.c:5430) [ 31.536350][ C2] ? __virt_addr_valid (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:894 ./include/linux/mmzone.h:2029 arch/x86/mm/physaddr.c:65) [ 31.536496][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 31.536640][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 31.536813][ C2] ? __virt_addr_valid (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:894 ./include/linux/mmzone.h:2029 arch/x86/mm/physaddr.c:65) [ 31.537059][ C2] ? __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) [ 31.537208][ C2] ? __pfx_free_object_rcu (mm/kmemleak.c:508) [ 31.537354][ C2] ? 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) [ 31.537500][ C2] __kasan_record_aux_stack (mm/kasan/generic.c:541) [ 31.537646][ C2] ? __pfx_free_object_rcu (mm/kmemleak.c:508) [ 31.537791][ C2] __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) [ 31.537972][ C2] kfree (./include/linux/kmemleak.h:48 mm/slub.c:2072 mm/slub.c:4280 mm/slub.c:4390) [ 31.538082][ C2] ? open_last_lookups (./include/linux/delayed_call.h:28 fs/namei.c:1025 fs/namei.c:3588) [ 31.538226][ C2] ? lookup_fast (fs/namei.c:1650) [ 31.538463][ C2] ? __pfx_kfree_link (fs/libfs.c:1573) [ 31.538613][ C2] open_last_lookups (./include/linux/delayed_call.h:28 fs/namei.c:1025 fs/namei.c:3588) [ 31.538759][ C2] path_openat (fs/namei.c:3796 (discriminator 1)) [ 31.538911][ C2] ? __pfx_path_openat (fs/namei.c:3781) [ 31.539157][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 31.539319][ C2] do_filp_open (fs/namei.c:3826) [ 31.539478][ C2] ? __pfx_do_filp_open (fs/namei.c:3820) [ 31.539638][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 31.539886][ C2] ? __pfx_kfree_link (fs/libfs.c:1573) [ 31.540050][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 31.540209][ C2] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 31.540330][ C2] ? _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 31.540491][ C2] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 31.540704][ C2] do_sys_openat2 (fs/open.c:1406) [ 31.540864][ C2] ? __pfx_do_sys_openat2 (fs/open.c:1392) [ 31.541024][ C2] ? __pfx___debug_check_no_obj_freed (lib/debugobjects.c:960) [ 31.541218][ C2] ? __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) [ 31.541455][ C2] __x64_sys_openat (fs/open.c:1432) [ 31.541601][ C2] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 31.541749][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 31.541896][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 31.542166][ C2] RIP: 0033:0x7fbf193880e8 [ 31.542316][ C2] Code: f9 41 89 f0 41 83 e2 40 75 30 89 f0 25 00 00 41 00 3d 00 00 41 00 74 22 44 89 c2 4c 89 ce bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 30 c3 0f 1f 80 00 00 00 00 48 8d 44 24 08 c7 All code ======== 0: f9 stc 1: 41 89 f0 mov %esi,%r8d 4: 41 83 e2 40 and $0x40,%r10d 8: 75 30 jne 0x3a a: 89 f0 mov %esi,%eax c: 25 00 00 41 00 and $0x410000,%eax 11: 3d 00 00 41 00 cmp $0x410000,%eax 16: 74 22 je 0x3a 18: 44 89 c2 mov %r8d,%edx 1b: 4c 89 ce mov %r9,%rsi 1e: bf 9c ff ff ff mov $0xffffff9c,%edi 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: 77 30 ja 0x62 32: c3 ret 33: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 3a: 48 8d 44 24 08 lea 0x8(%rsp),%rax 3f: c7 .byte 0xc7 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 30 ja 0x38 8: c3 ret 9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 10: 48 8d 44 24 08 lea 0x8(%rsp),%rax 15: c7 .byte 0xc7 [ 31.542923][ C2] RSP: 002b:00007ffc7dd8ed78 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 [ 31.543141][ C2] RAX: ffffffffffffffda RBX: 00007ffc7dd8efff RCX: 00007fbf193880e8 [ 31.543357][ C2] RDX: 0000000000080000 RSI: 00007ffc7dd8edf0 RDI: 00000000ffffff9c [ 31.543663][ C2] RBP: 00007ffc7dd8ede0 R08: 0000000000080000 R09: 00007ffc7dd8edf0 [ 31.543882][ C2] R10: 0000000000000000 R11: 0000000000000287 R12: 00007ffc7dd8edf7 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage