====================================== | [ 37.364962][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 37.365182][ C2] | [ 37.365263][ C2] | [ 37.365263][ C2] stack backtrace: [ 37.365711][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 37.366077][ C2] Call Trace: [ 37.366313][ C2] [ 37.366400][ C2] dump_stack_lvl (lib/dump_stack.c:117) [ 37.366569][ C2] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 37.366767][ C2] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 37.366954][ C2] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 37.367261][ C2] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 37.367522][ C2] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 37.367770][ C2] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 37.368056][ C2] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 37.368525][ C2] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 37.368804][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 37.369070][ C2] ? save_trace (kernel/locking/lockdep.c:586) [ 37.369346][ C2] mark_lock (kernel/locking/lockdep.c:4678) [ 37.369711][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 37.369877][ C2] mark_usage (kernel/locking/lockdep.c:4567) [ 37.369999][ C2] __lock_acquire (kernel/locking/lockdep.c:5091) [ 37.370173][ C2] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 37.370337][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 37.370503][ C2] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 37.370667][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 37.370827][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 37.370988][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 37.371265][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 37.371425][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 37.371585][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 37.371749][ C2] _raw_write_lock (./include/linux/rwlock_api_smp.h:210 kernel/locking/spinlock.c:300) [ 37.371912][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 37.372082][ C2] addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 37.372243][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 37.372407][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 37.372569][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 37.372840][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 37.373003][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 37.373171][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 37.373330][ C2] call_timer_fn (kernel/time/timer.c:1793) [ 37.373503][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 37.373667][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 37.373829][ C2] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 37.373988][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 37.374226][ C2] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 37.374387][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 37.374553][ C2] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 37.374713][ C2] ? __lock_release (kernel/locking/lockdep.c:5430) [ 37.374875][ 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) [ 37.375047][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 37.375215][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 37.375374][ C2] ? timer_expire_remote (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 37.375537][ C2] timer_expire_remote (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 37.375810][ C2] 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) [ 37.375971][ C2] ? __pfx_tmigr_handle_remote_cpu (kernel/time/timer_migration.c:869) [ 37.376187][ C2] tmigr_handle_remote_up (kernel/time/timer_migration.c:1003) [ 37.376361][ C2] tmigr_handle_remote (kernel/time/timer_migration.c:488 kernel/time/timer_migration.c:1061) [ 37.376520][ C2] ? __pfx_tmigr_handle_remote (kernel/time/timer_migration.c:1026) [ 37.376683][ C2] __do_softirq (kernel/softirq.c:554) [ 37.376845][ C2] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 37.376968][ C2] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 37.377245][ C2] [ 37.377330][ C2] [ 37.377412][ C2] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 37.377612][ C2] RIP: 0010:memset_orig (arch/x86/lib/memset_64.S:68) [ 37.377792][ C2] Code: b8 01 01 01 01 01 01 01 01 48 0f af c1 41 89 f9 41 83 e1 07 75 70 48 89 d1 48 c1 e9 06 74 35 0f 1f 44 00 00 48 ff c9 48 89 07 <48> 89 47 08 48 89 47 10 48 89 47 18 48 89 47 20 48 89 47 28 48 89 All code ======== 0: b8 01 01 01 01 mov $0x1010101,%eax 5: 01 01 add %eax,(%rcx) 7: 01 01 add %eax,(%rcx) 9: 48 0f af c1 imul %rcx,%rax d: 41 89 f9 mov %edi,%r9d 10: 41 83 e1 07 and $0x7,%r9d 14: 75 70 jne 0x86 16: 48 89 d1 mov %rdx,%rcx 19: 48 c1 e9 06 shr $0x6,%rcx 1d: 74 35 je 0x54 1f: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 24: 48 ff c9 dec %rcx 27: 48 89 07 mov %rax,(%rdi) 2a:* 48 89 47 08 mov %rax,0x8(%rdi) <-- trapping instruction 2e: 48 89 47 10 mov %rax,0x10(%rdi) 32: 48 89 47 18 mov %rax,0x18(%rdi) 36: 48 89 47 20 mov %rax,0x20(%rdi) 3a: 48 89 47 28 mov %rax,0x28(%rdi) 3e: 48 rex.W 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 89 47 08 mov %rax,0x8(%rdi) 4: 48 89 47 10 mov %rax,0x10(%rdi) 8: 48 89 47 18 mov %rax,0x18(%rdi) c: 48 89 47 20 mov %rax,0x20(%rdi) 10: 48 89 47 28 mov %rax,0x28(%rdi) 14: 48 rex.W 15: 89 .byte 0x89 [ 37.378377][ C2] RSP: 0018:ffffc900006bf418 EFLAGS: 00000206 [ 37.378581][ C2] RAX: bbbbbbbbbbbbbbbb RBX: ffff8880010433c0 RCX: 000000000000002b [ 37.378929][ C2] RDX: 0000000000001000 RSI: 00000000000000bb RDI: ffff8880069a0500 [ 37.379185][ C2] RBP: 0000000000001000 R08: 0000000000000008 R09: 0000000000000000 [ 37.379442][ C2] R10: ffff8880069a0000 R11: ffff88803ffdb700 R12: 00000000000000bb [ 37.379684][ C2] R13: ffff8880069a1000 R14: 0000000000000003 R15: 00000000ffffffff [ 37.379928][ C2] init_object (./arch/x86/include/asm/jump_label.h:55 mm/slab.h:513 mm/slab.h:534 mm/slub.c:235 mm/slub.c:1140) [ 37.380052][ C2] setup_object (mm/slub.c:924 mm/slub.c:1519 mm/slub.c:2155) [ 37.380289][ C2] allocate_slab (mm/slub.c:2372) [ 37.380460][ C2] ? get_any_partial (./include/linux/gfp.h:151 ./include/linux/gfp.h:168 mm/slub.c:2663) [ 37.380628][ C2] ___slab_alloc (mm/slub.c:3525 (discriminator 3)) [ 37.380787][ C2] ? fs_reclaim_acquire (mm/page_alloc.c:3715 mm/page_alloc.c:3706) [ 37.380951][ C2] ? p9_fcall_init (net/9p/client.c:232) [ 37.381119][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 37.381283][ C2] ? p9_fcall_init (net/9p/client.c:232) [ 37.381442][ C2] ? __kmalloc (mm/slub.c:3610 mm/slub.c:3663 mm/slub.c:3835 mm/slub.c:3965 mm/slub.c:3979) [ 37.381608][ C2] __kmalloc (mm/slub.c:3610 mm/slub.c:3663 mm/slub.c:3835 mm/slub.c:3965 mm/slub.c:3979) [ 37.381860][ C2] p9_fcall_init (net/9p/client.c:232) [ 37.382024][ C2] p9_tag_alloc (net/9p/client.c:295) [ 37.382212][ C2] ? __pfx_p9_tag_alloc (net/9p/client.c:277) [ 37.382376][ C2] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837) [ 37.382540][ 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) [ 37.382699][ C2] p9_client_prepare_req (net/9p/client.c:641) [ 37.382862][ 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) [ 37.383022][ C2] ? __pfx_p9_client_prepare_req (net/9p/client.c:625) [ 37.383344][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 37.383514][ C2] p9_client_rpc (net/9p/client.c:688 (discriminator 4)) [ 37.383680][ C2] ? __pfx_p9_client_rpc (net/9p/client.c:672) [ 37.383839][ C2] ? __lock_release (kernel/locking/lockdep.c:5430) [ 37.384002][ C2] ? list_lru_add (mm/list_lru.c:106) [ 37.384175][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 37.384336][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 37.384499][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 37.384661][ C2] ? __lock_release (kernel/locking/lockdep.c:5430) [ 37.384934][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 37.385129][ C2] p9_client_clunk (net/9p/client.c:1438 (discriminator 3)) [ 37.385391][ C2] v9fs_dentry_release (fs/9p/vfs_dentry.c:54) [ 37.385659][ C2] __dentry_kill (fs/dcache.c:608) [ 37.385920][ C2] ? __pfx_kfree_link (fs/libfs.c:1573) [ 37.386100][ C2] dput.part.0 (fs/dcache.c:845) [ 37.386260][ C2] walk_component (fs/namei.c:562 fs/namei.c:1027 fs/namei.c:2009) [ 37.386426][ C2] link_path_walk.part.0.constprop.0 (fs/namei.c:2328) [ 37.386732][ C2] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249) [ 37.386940][ C2] path_openat (fs/namei.c:3795) [ 37.387109][ C2] ? __pfx_path_openat (fs/namei.c:3781) [ 37.387270][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 37.387432][ C2] do_filp_open (fs/namei.c:3826) [ 37.387594][ C2] ? __pfx_do_filp_open (fs/namei.c:3820) [ 37.387753][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 37.387938][ C2] ? __pfx_kfree_link (fs/libfs.c:1573) [ 37.388212][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 37.388375][ C2] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 37.388498][ C2] ? do_raw_spin_unlock (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/asm-generic/qspinlock.h:57 kernel/locking/spinlock_debug.c:101 kernel/locking/spinlock_debug.c:141) [ 37.388658][ C2] ? _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 37.388820][ C2] ? alloc_fd (fs/file.c:555 (discriminator 10)) [ 37.388943][ C2] do_sys_openat2 (fs/open.c:1406) [ 37.389111][ C2] ? __pfx_do_sys_openat2 (fs/open.c:1392) [ 37.389345][ C2] ? __pfx___debug_check_no_obj_freed (lib/debugobjects.c:960) [ 37.389658][ 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) [ 37.390119][ C2] __x64_sys_openat (fs/open.c:1432) [ 37.390398][ C2] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 37.390668][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 37.390933][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 37.391261][ C2] RIP: 0033:0x7f6da4d2060b [ 37.391539][ C2] Code: 25 00 00 41 00 3d 00 00 41 00 74 4b 64 8b 04 25 18 00 00 00 85 c0 75 67 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 91 00 00 00 48 8b 54 24 28 64 48 2b 14 25 All code ======== 0: 25 00 00 41 00 and $0x410000,%eax 5: 3d 00 00 41 00 cmp $0x410000,%eax a: 74 4b je 0x57 c: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 13: 00 14: 85 c0 test %eax,%eax 16: 75 67 jne 0x7f 18: 44 89 e2 mov %r12d,%edx 1b: 48 89 ee mov %rbp,%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: 0f 87 91 00 00 00 ja 0xc7 36: 48 8b 54 24 28 mov 0x28(%rsp),%rdx 3b: 64 fs 3c: 48 rex.W 3d: 2b .byte 0x2b 3e: 14 25 adc $0x25,%al Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 0f 87 91 00 00 00 ja 0x9d c: 48 8b 54 24 28 mov 0x28(%rsp),%rdx 11: 64 fs 12: 48 rex.W 13: 2b .byte 0x2b 14: 14 25 adc $0x25,%al [ 37.392357][ C2] RSP: 002b:00007ffeb0c8cf80 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 37.392601][ C2] RAX: ffffffffffffffda RBX: 00007ffeb0c8e110 RCX: 00007f6da4d2060b [ 37.392839][ C2] RDX: 0000000000080000 RSI: 00007ffeb0c8e110 RDI: 00000000ffffff9c [ 37.393086][ C2] RBP: 00007ffeb0c8e110 R08: 0000000000000000 R09: 00007ffeb0c8ce80 [ 37.393324][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage