====================================== | [ 40.996291][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 40.996508][ C1] | [ 40.996604][ C1] | [ 40.996604][ C1] stack backtrace: [ 40.997216][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 40.997731][ C1] Call Trace: [ 40.997875][ C1] [ 40.997969][ C1] dump_stack_lvl (lib/dump_stack.c:117) [ 40.998157][ C1] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 40.998385][ C1] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 40.998709][ C1] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 40.998942][ C1] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 40.999125][ C1] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 40.999312][ C1] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 40.999497][ C1] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 40.999683][ C1] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 40.999879][ C1] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 41.000067][ C1] ? save_trace (kernel/locking/lockdep.c:586) [ 41.000358][ C1] mark_lock (kernel/locking/lockdep.c:4678) [ 41.000503][ C1] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 41.000677][ C1] mark_usage (kernel/locking/lockdep.c:4567) [ 41.000812][ C1] __lock_acquire (kernel/locking/lockdep.c:5091) [ 41.000988][ C1] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 41.001266][ C1] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 41.001443][ C1] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 41.001624][ C1] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 41.001828][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 41.002126][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 41.002311][ C1] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 41.002497][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 41.002684][ C1] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 41.002871][ C1] _raw_write_lock (./include/linux/rwlock_api_smp.h:210 kernel/locking/spinlock.c:300) [ 41.003156][ C1] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 41.003329][ C1] addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 41.003504][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 41.003681][ C1] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 41.003959][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 41.004137][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 41.004316][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 41.004492][ C1] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 41.004769][ C1] call_timer_fn (kernel/time/timer.c:1793) [ 41.004942][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 41.005119][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 41.005297][ C1] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 41.005576][ C1] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 41.005712][ C1] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 41.005887][ C1] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 41.006066][ C1] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 41.006240][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 41.006422][ 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) [ 41.006598][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 41.006773][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 41.006947][ C1] ? timer_expire_remote (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 41.007225][ C1] timer_expire_remote (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 41.007398][ C1] tmigr_handle_remote_cpu (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:67 ./arch/x86/include/asm/irqflags.h:127 kernel/time/timer_migration.c:925) [ 41.007577][ C1] ? __pfx_tmigr_handle_remote_cpu (kernel/time/timer_migration.c:869) [ 41.007797][ C1] tmigr_handle_remote_up (kernel/time/timer_migration.c:1003) [ 41.008075][ C1] tmigr_handle_remote (kernel/time/timer_migration.c:488 kernel/time/timer_migration.c:1061) [ 41.008250][ C1] ? __pfx_tmigr_handle_remote (kernel/time/timer_migration.c:1026) [ 41.008433][ C1] __do_softirq (kernel/softirq.c:554) [ 41.008612][ C1] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 41.008747][ C1] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 41.009131][ C1] [ 41.009221][ C1] [ 41.009311][ C1] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 41.009529][ C1] RIP: 0010:ftrace_ops_trampoline (./arch/x86/include/asm/preempt.h:79 kernel/trace/ftrace.c:1084) [ 41.009855][ C1] Code: e7 e8 17 9f 4b 00 e9 23 fe ff ff 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 41 55 41 54 55 48 89 fd 53 <65> ff 05 74 73 36 5a 4c 8b 25 2d 0a 2c 04 48 bb 00 00 00 00 00 fc All code ======== 0: e7 e8 out %eax,$0xe8 2: 17 (bad) 3: 9f lahf 4: 4b 00 e9 rex.WXB add %bpl,%r9b 7: 23 fe and %esi,%edi 9: ff (bad) a: ff 66 90 jmp *-0x70(%rsi) d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 66 0f 1f 00 nopw (%rax) 21: 41 55 push %r13 23: 41 54 push %r12 25: 55 push %rbp 26: 48 89 fd mov %rdi,%rbp 29: 53 push %rbx 2a:* 65 ff 05 74 73 36 5a incl %gs:0x5a367374(%rip) # 0x5a3673a5 <-- trapping instruction 31: 4c 8b 25 2d 0a 2c 04 mov 0x42c0a2d(%rip),%r12 # 0x42c0a65 38: 48 rex.W 39: bb 00 00 00 00 mov $0x0,%ebx 3e: 00 fc add %bh,%ah Code starting with the faulting instruction =========================================== 0: 65 ff 05 74 73 36 5a incl %gs:0x5a367374(%rip) # 0x5a36737b 7: 4c 8b 25 2d 0a 2c 04 mov 0x42c0a2d(%rip),%r12 # 0x42c0a3b e: 48 rex.W f: bb 00 00 00 00 mov $0x0,%ebx 14: 00 fc add %bh,%ah [ 41.010510][ C1] RSP: 0018:ffffc9000130f140 EFLAGS: 00000246 [ 41.010857][ C1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 41.011140][ C1] RDX: 0000000000000000 RSI: 1ffffffff53f22d8 RDI: 00007f08d4b00eae [ 41.011406][ C1] RBP: 00007f08d4b00eae R08: ffffc9000130f1f8 R09: fffff52000261e20 [ 41.011810][ C1] R10: ffffc9000130f1b8 R11: ffffc9000130f1f9 R12: ffffc9000130f280 [ 41.012088][ C1] R13: 0000000000000000 R14: ffff888008cdc5c0 R15: ffffffffa8166a9d [ 41.012369][ C1] ? p9_fcall_init (net/9p/client.c:232) [ 41.012558][ C1] is_ftrace_trampoline (kernel/trace/ftrace.c:1112) [ 41.012743][ C1] kernel_text_address (kernel/extable.c:121 kernel/extable.c:94) [ 41.012941][ C1] __kernel_text_address (kernel/extable.c:79) [ 41.013133][ C1] unwind_get_return_address (arch/x86/kernel/unwind_orc.c:369 arch/x86/kernel/unwind_orc.c:364) [ 41.013411][ C1] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 41.013628][ C1] arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 41.013810][ C1] stack_trace_save (kernel/stacktrace.c:123) [ 41.013985][ C1] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 41.014266][ C1] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:27 (discriminator 1)) [ 41.014441][ C1] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 41.014617][ C1] kasan_save_stack (mm/kasan/common.c:48) [ 41.014792][ C1] ? kasan_save_stack (mm/kasan/common.c:48) [ 41.015068][ C1] ? kasan_save_track (./arch/x86/include/asm/current.h:49 mm/kasan/common.c:60 mm/kasan/common.c:69) [ 41.015242][ C1] ? __kasan_kmalloc (mm/kasan/common.c:391) [ 41.015419][ C1] ? __kmalloc (mm/slub.c:3967 mm/slub.c:3979) [ 41.015596][ C1] ? p9_fcall_init (net/9p/client.c:232) [ 41.015778][ C1] ? p9_tag_alloc (net/9p/client.c:297) [ 41.016054][ C1] ? p9_client_prepare_req (net/9p/client.c:641) [ 41.016228][ C1] ? p9_client_rpc (net/9p/client.c:688 (discriminator 4)) [ 41.016399][ C1] ? p9_client_clunk (net/9p/client.c:1438 (discriminator 3)) [ 41.016575][ C1] ? v9fs_dentry_release (fs/9p/vfs_dentry.c:54) [ 41.016876][ C1] ? __dentry_kill (fs/dcache.c:608) [ 41.017057][ C1] ? dput.part.0 (fs/dcache.c:845) [ 41.017236][ C1] ? walk_component (fs/namei.c:562 fs/namei.c:1027 fs/namei.c:2009) [ 41.017418][ C1] ? link_path_walk.part.0.constprop.0 (fs/namei.c:2328) [ 41.017755][ C1] ? path_lookupat (fs/namei.c:2254 (discriminator 2) fs/namei.c:2484 (discriminator 2)) [ 41.017943][ C1] ? filename_lookup (fs/namei.c:2514) [ 41.018118][ C1] ? vfs_statx (fs/stat.c:244) [ 41.018250][ C1] ? vfs_fstatat (fs/stat.c:305) [ 41.018423][ C1] ? __do_sys_newfstatat (fs/stat.c:469) [ 41.018597][ C1] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 41.018770][ C1] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 41.018993][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 41.019275][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 41.019450][ C1] ? __create_object (mm/kmemleak.c:756) [ 41.019626][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 41.019821][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 41.020003][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 41.020336][ C1] kasan_save_track (./arch/x86/include/asm/current.h:49 mm/kasan/common.c:60 mm/kasan/common.c:69) [ 41.020521][ C1] __kasan_kmalloc (mm/kasan/common.c:391) [ 41.020704][ C1] __kmalloc (mm/slub.c:3967 mm/slub.c:3979) [ 41.020842][ C1] p9_fcall_init (net/9p/client.c:232) [ 41.021132][ C1] p9_tag_alloc (net/9p/client.c:297) [ 41.021307][ C1] ? __pfx_p9_tag_alloc (net/9p/client.c:277) [ 41.021482][ C1] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837) [ 41.021662][ 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) [ 41.021977][ C1] p9_client_prepare_req (net/9p/client.c:641) [ 41.022160][ 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) [ 41.022343][ C1] ? __pfx_p9_client_prepare_req (net/9p/client.c:625) [ 41.022575][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 41.022988][ C1] p9_client_rpc (net/9p/client.c:688 (discriminator 4)) [ 41.023182][ C1] ? __pfx_p9_client_rpc (net/9p/client.c:672) [ 41.023364][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 41.023544][ C1] ? list_lru_add (mm/list_lru.c:106) [ 41.023835][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 41.024016][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 41.024198][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 41.024394][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 41.024569][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 41.024848][ C1] p9_client_clunk (net/9p/client.c:1438 (discriminator 3)) [ 41.025038][ C1] v9fs_dentry_release (fs/9p/vfs_dentry.c:54) [ 41.025221][ C1] __dentry_kill (fs/dcache.c:608) [ 41.025399][ C1] ? __pfx_kfree_link (fs/libfs.c:1573) [ 41.025697][ C1] dput.part.0 (fs/dcache.c:845) [ 41.025878][ C1] walk_component (fs/namei.c:562 fs/namei.c:1027 fs/namei.c:2009) [ 41.026057][ C1] link_path_walk.part.0.constprop.0 (fs/namei.c:2328) [ 41.026292][ C1] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249) [ 41.026508][ C1] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837) [ 41.026682][ 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) [ 41.026857][ C1] path_lookupat (fs/namei.c:2254 (discriminator 2) fs/namei.c:2484 (discriminator 2)) [ 41.027052][ C1] filename_lookup (fs/namei.c:2514) [ 41.027344][ C1] ? __pfx_filename_lookup (fs/namei.c:2508) [ 41.027527][ C1] ? __pfx_kfree_link (fs/libfs.c:1573) [ 41.027709][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 41.027896][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 41.028186][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 41.028371][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 41.028563][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 41.028739][ C1] vfs_statx (fs/stat.c:244) [ 41.028873][ C1] ? __pfx_vfs_statx (fs/stat.c:234) [ 41.029151][ 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) [ 41.029327][ C1] vfs_fstatat (fs/stat.c:305) [ 41.029465][ C1] __do_sys_newfstatat (fs/stat.c:469) [ 41.029640][ C1] ? __pfx___do_sys_newfstatat (fs/stat.c:464) [ 41.029917][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 41.030110][ C1] ? __up_read (./arch/x86/include/asm/atomic64_64.h:79 ./include/linux/atomic/atomic-arch-fallback.h:2749 ./include/linux/atomic/atomic-long.h:184 ./include/linux/atomic/atomic-instrumented.h:3317 kernel/locking/rwsem.c:1347) [ 41.030298][ C1] ? __x64_sys_openat (fs/open.c:1432) [ 41.030480][ C1] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 41.030768][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 41.030998][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 41.031180][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 41.031407][ C1] RIP: 0033:0x7f08d4b00eae [ 41.031716][ 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 [ 41.032371][ C1] RSP: 002b:00007fffe45ab6c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 [ 41.032654][ C1] RAX: ffffffffffffffda RBX: 000000000000000d RCX: 00007f08d4b00eae [ 41.032938][ C1] RDX: 00007fffe45ab7a0 RSI: 00007fffe45ab6d0 RDI: 00000000ffffff9c [ 41.033200][ C1] RBP: 00007fffe45ab860 R08: 00000000ffffffff R09: 00007fffe45ab6d0 [ 41.033566][ C1] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffe45ab6d7 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage