====================================== | [ 33.632375][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 33.632588][ C1] | [ 33.632777][ C1] | [ 33.632777][ C1] stack backtrace: [ 33.633242][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 33.633725][ C1] Call Trace: [ 33.633860][ C1] [ 33.633949][ C1] dump_stack_lvl (lib/dump_stack.c:117) [ 33.634126][ C1] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 33.634454][ C1] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 33.634627][ C1] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 33.634841][ C1] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 33.635012][ C1] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 33.635182][ C1] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 33.635353][ C1] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 33.635523][ C1] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 33.635696][ C1] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 33.635981][ C1] ? save_trace (kernel/locking/lockdep.c:586) [ 33.636154][ C1] mark_lock (kernel/locking/lockdep.c:4678) [ 33.636283][ C1] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 33.636455][ C1] mark_usage (kernel/locking/lockdep.c:4567) [ 33.636586][ C1] __lock_acquire (kernel/locking/lockdep.c:5091) [ 33.636862][ C1] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 33.637032][ C1] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 33.637204][ C1] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 33.637377][ C1] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 33.637649][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 33.637817][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 33.637986][ C1] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 33.638156][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 33.638325][ C1] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 33.638598][ C1] _raw_write_lock (./include/linux/rwlock_api_smp.h:210 kernel/locking/spinlock.c:300) [ 33.638766][ C1] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 33.638935][ C1] addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 33.639107][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 33.639278][ C1] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 33.639450][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 33.639622][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 33.639792][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 33.640067][ C1] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 33.640238][ C1] call_timer_fn (kernel/time/timer.c:1793) [ 33.640408][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 33.640585][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 33.640858][ C1] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 33.641029][ 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) [ 33.641199][ C1] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 33.641373][ C1] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 33.641543][ C1] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 33.641817][ C1] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 33.641994][ 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) [ 33.642163][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 33.642338][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 33.642613][ C1] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 33.642784][ C1] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 33.642953][ C1] __do_softirq (kernel/softirq.c:554) [ 33.643124][ C1] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 33.643358][ C1] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 33.643531][ C1] [ 33.643618][ C1] [ 33.643717][ C1] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 33.643932][ C1] RIP: 0010:__kernel_text_address (kernel/extable.c:79) [ 33.644153][ C1] Code: 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 0f 1f 44 00 00 53 48 89 fb e8 fe fe ff ff <85> c0 75 1b 48 81 fb 00 10 42 92 72 0c 31 c0 48 81 fb 65 ae 54 92 All code ======== 0: 84 00 test %al,(%rax) 2: 00 00 add %al,(%rax) 4: 00 00 add %al,(%rax) 6: 66 90 xchg %ax,%ax 8: 90 nop 9: 90 nop a: 90 nop b: 90 nop c: 90 nop 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: 66 0f 1f 00 nopw (%rax) 1c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 21: 53 push %rbx 22: 48 89 fb mov %rdi,%rbx 25: e8 fe fe ff ff call 0xffffffffffffff28 2a:* 85 c0 test %eax,%eax <-- trapping instruction 2c: 75 1b jne 0x49 2e: 48 81 fb 00 10 42 92 cmp $0xffffffff92421000,%rbx 35: 72 0c jb 0x43 37: 31 c0 xor %eax,%eax 39: 48 81 fb 65 ae 54 92 cmp $0xffffffff9254ae65,%rbx Code starting with the faulting instruction =========================================== 0: 85 c0 test %eax,%eax 2: 75 1b jne 0x1f 4: 48 81 fb 00 10 42 92 cmp $0xffffffff92421000,%rbx b: 72 0c jb 0x19 d: 31 c0 xor %eax,%eax f: 48 81 fb 65 ae 54 92 cmp $0xffffffff9254ae65,%rbx [ 33.644764][ C1] RSP: 0018:ffffc90000f9ee28 EFLAGS: 00000292 [ 33.645095][ C1] RAX: 0000000000000001 RBX: ffffffff8fde8aa3 RCX: ffffc90000fa0001 [ 33.645355][ C1] RDX: 1ffff920001f3dd5 RSI: 0000000000000001 RDI: ffffffff8fde8aa3 [ 33.645612][ C1] RBP: ffffc90000f9eea8 R08: ffffc90000f9ee90 R09: fffff520001f3db3 [ 33.645992][ C1] R10: ffffc90000f9ee50 R11: ffffc90000f9ee91 R12: ffffc90000f9ef18 [ 33.646249][ C1] R13: 0000000000000000 R14: ffff88800597c5c0 R15: 0000000000000001 [ 33.646508][ C1] ? p9_client_walk (net/9p/client.c:1154) [ 33.646789][ C1] ? p9_client_walk (net/9p/client.c:1154) [ 33.646962][ C1] ? __kernel_text_address (kernel/extable.c:79) [ 33.647133][ C1] unwind_get_return_address (arch/x86/kernel/unwind_orc.c:369 arch/x86/kernel/unwind_orc.c:364) [ 33.647304][ C1] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 33.647619][ C1] arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 33.647792][ C1] ? p9_client_walk (net/9p/client.c:1154) [ 33.647964][ C1] stack_trace_save (kernel/stacktrace.c:123) [ 33.648135][ C1] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 33.648518][ C1] ? ___slab_alloc (mm/slub.c:2583 mm/slub.c:2701 mm/slub.c:3505) [ 33.648700][ C1] ? kmem_cache_alloc (./include/linux/sched/mm.h:315 mm/slub.c:3746 mm/slub.c:3827 mm/slub.c:3852) [ 33.648871][ C1] ? __alloc_object (mm/kmemleak.c:466 mm/kmemleak.c:645) [ 33.649043][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 33.649215][ C1] set_track_prepare (mm/slub.c:889) [ 33.649384][ C1] ? __pfx_set_track_prepare (mm/slub.c:880) [ 33.649555][ C1] ? kmalloc_trace (./include/linux/kmemleak.h:42 mm/slub.c:3802 mm/slub.c:3845 mm/slub.c:3992) [ 33.649727][ C1] ? p9_fid_create (./include/linux/slab.h:628 ./include/linux/slab.h:749 net/9p/client.c:853) [ 33.650001][ C1] ? kasan_save_track (./arch/x86/include/asm/current.h:49 mm/kasan/common.c:60 mm/kasan/common.c:69) [ 33.650176][ C1] ? lockdep_init_map_type (kernel/locking/lockdep.c:4892) [ 33.650351][ C1] ? __raw_spin_lock_init (kernel/locking/spinlock_debug.c:27) [ 33.650522][ C1] __alloc_object (mm/kmemleak.c:681) [ 33.650694][ C1] __create_object (mm/kmemleak.c:750) [ 33.650973][ C1] kmalloc_trace (./include/linux/kmemleak.h:42 mm/slub.c:3802 mm/slub.c:3845 mm/slub.c:3992) [ 33.651155][ C1] p9_fid_create (./include/linux/slab.h:628 ./include/linux/slab.h:749 net/9p/client.c:853) [ 33.651327][ C1] p9_client_walk (net/9p/client.c:1154) [ 33.651499][ C1] ? __pfx_v9fs_fid_find (fs/9p/fid.c:114) [ 33.651776][ C1] ? __pfx_p9_client_walk (net/9p/client.c:1143) [ 33.651949][ C1] ? d_alloc_parallel (./arch/x86/include/asm/bitops.h:94 ./arch/x86/include/asm/bitops.h:112 ./include/asm-generic/bitops/instrumented-lock.h:43 ./include/linux/bit_spinlock.h:80 ./include/linux/list_bl.h:153 fs/dcache.c:2556) [ 33.652120][ C1] ? v9fs_fid_lookup_with_uid (fs/9p/fid.c:181) [ 33.652291][ C1] ? v9fs_vfs_lookup.part.0 (fs/9p/vfs_inode.c:676) [ 33.652564][ C1] v9fs_vfs_lookup.part.0 (fs/9p/vfs_inode.c:676) [ 33.652734][ C1] ? __pfx_v9fs_vfs_lookup.part.0 (fs/9p/vfs_inode.c:649) [ 33.652946][ C1] ? lockdep_init_map_type (kernel/locking/lockdep.c:4892) [ 33.653123][ C1] __lookup_slow (fs/namei.c:1692) [ 33.653399][ C1] ? __pfx___lookup_slow (fs/namei.c:1668) [ 33.653571][ C1] ? lookup_one_unlocked (fs/namei.c:1709 fs/namei.c:2817) [ 33.653744][ C1] ? d_lookup (fs/dcache.c:2255) [ 33.653875][ C1] lookup_one_unlocked (./include/linux/fs.h:808 fs/namei.c:1710 fs/namei.c:2817) [ 33.654047][ C1] ? do_execveat_common.isra.0 (fs/exec.c:1930) [ 33.654258][ C1] ? __pfx_lookup_one_unlocked (fs/namei.c:2806) [ 33.654428][ C1] ovl_lookup_single (fs/overlayfs/namei.c:210 fs/overlayfs/namei.c:240) [ 33.654603][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 33.654775][ C1] ? __pfx_ovl_lookup_single (fs/overlayfs/namei.c:231) [ 33.655050][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 33.655222][ 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) [ 33.655392][ C1] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 33.655524][ C1] ovl_lookup_layer (fs/overlayfs/namei.c:333) [ 33.655799][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 33.656034][ C1] ? __pfx_ovl_lookup_layer (fs/overlayfs/namei.c:326) [ 33.656209][ C1] ? __kasan_kmalloc (mm/kasan/common.c:391) [ 33.656381][ C1] ? trace_kmalloc (./include/trace/events/kmem.h:54 (discriminator 52)) [ 33.656655][ C1] ? __kmalloc (mm/slub.c:3980) [ 33.656828][ C1] ovl_lookup (fs/overlayfs/namei.c:1125) [ 33.656998][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 33.657173][ C1] ? d_alloc_parallel (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 fs/dcache.c:2551) [ 33.657451][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 33.657623][ C1] ? __pfx_ovl_lookup (fs/overlayfs/namei.c:1031) [ 33.657799][ C1] ? __pfx_d_alloc_parallel (fs/dcache.c:2458) [ 33.657973][ C1] ? __d_lookup (fs/dcache.c:2331) [ 33.658144][ C1] ? __pfx_ovl_lookup (fs/overlayfs/namei.c:1031) [ 33.658316][ C1] lookup_open.isra.0 (fs/namei.c:3475) [ 33.658486][ C1] ? lookup_one_unlocked (fs/namei.c:2806) [ 33.658657][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 33.658829][ C1] ? __pfx_lookup_open.isra.0 (fs/namei.c:3402) [ 33.659003][ C1] ? open_last_lookups (./include/linux/fs.h:803 fs/namei.c:3565) [ 33.659178][ C1] open_last_lookups (fs/namei.c:3566) [ 33.659360][ C1] path_openat (fs/namei.c:3796 (discriminator 1)) [ 33.659530][ C1] ? __pfx_path_openat (fs/namei.c:3781) [ 33.659802][ 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) [ 33.659990][ C1] do_filp_open (fs/namei.c:3826) [ 33.660162][ C1] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837) [ 33.660338][ C1] ? __pfx_do_filp_open (fs/namei.c:3820) [ 33.660613][ C1] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 33.660788][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 33.660961][ C1] do_open_execat (fs/exec.c:930) [ 33.661135][ C1] ? __pfx_do_open_execat (fs/exec.c:913) [ 33.661306][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 33.661586][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 33.661757][ C1] alloc_bprm (fs/exec.c:1541) [ 33.661887][ C1] do_execveat_common.isra.0 (fs/exec.c:1930) [ 33.662060][ 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) [ 33.662232][ C1] __x64_sys_execve (fs/exec.c:2124) [ 33.662406][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 33.662583][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 33.662796][ C1] RIP: 0033:0x7f7d294bd40b [ 33.662972][ C1] Code: c0 75 03 5f ff e7 c3 48 8b 0d f1 a9 1b 00 f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 80 00 00 00 00 f3 0f 1e fa b8 3b 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c5 a9 1b 00 f7 d8 64 89 01 48 All code ======== 0: c0 75 03 5f shlb $0x5f,0x3(%rbp) 4: ff e7 jmp *%rdi 6: c3 ret 7: 48 8b 0d f1 a9 1b 00 mov 0x1ba9f1(%rip),%rcx # 0x1ba9ff e: f7 d8 neg %eax 10: 64 89 01 mov %eax,%fs:(%rcx) 13: 48 83 c8 ff or $0xffffffffffffffff,%rax 17: c3 ret 18: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 1f: f3 0f 1e fa endbr64 23: b8 3b 00 00 00 mov $0x3b,%eax 28: 0f 05 syscall 2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 ret 33: 48 8b 0d c5 a9 1b 00 mov 0x1ba9c5(%rip),%rcx # 0x1ba9ff 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W Code starting with the faulting instruction =========================================== 0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax 6: 73 01 jae 0x9 8: c3 ret 9: 48 8b 0d c5 a9 1b 00 mov 0x1ba9c5(%rip),%rcx # 0x1ba9d5 10: f7 d8 neg %eax 12: 64 89 01 mov %eax,%fs:(%rcx) 15: 48 rex.W [ 33.663582][ C1] RSP: 002b:00007ffe6ecb93e8 EFLAGS: 00000202 ORIG_RAX: 000000000000003b [ 33.663945][ C1] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f7d294bd40b [ 33.664204][ C1] RDX: 00007ffe6ecb9868 RSI: 00007ffe6ecb9838 RDI: 00007ffe6ecb93f0 [ 33.664460][ C1] RBP: 00007ffe6ecb9500 R08: 0000000000000fff R09: 00007ffe6ecbbe96 [ 33.664819][ C1] R10: 00007f7d2948f700 R11: 0000000000000202 R12: 00007ffe6ecb9838 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage