====================================== | [ 45.103740][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 45.104046][ C2] | [ 45.104128][ C2] | [ 45.104128][ C2] stack backtrace: [ 45.104572][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 45.105073][ C2] Call Trace: [ 45.105195][ C2] [ 45.105280][ C2] dump_stack_lvl (lib/dump_stack.c:117) [ 45.105550][ C2] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 45.105772][ C2] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [ 45.105936][ C2] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 45.106134][ C2] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 45.106530][ C2] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 45.106703][ C2] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 45.106869][ C2] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 45.107035][ C2] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 45.107311][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 45.107478][ C2] ? save_trace (kernel/locking/lockdep.c:586) [ 45.107645][ C2] mark_lock (kernel/locking/lockdep.c:4678) [ 45.107764][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114) [ 45.107923][ C2] mark_usage (kernel/locking/lockdep.c:4567) [ 45.108158][ C2] __lock_acquire (kernel/locking/lockdep.c:5091) [ 45.108318][ C2] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 45.108478][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 45.108638][ C2] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 45.108902][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 45.109061][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 45.109224][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 45.109383][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 45.109547][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 45.109808][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 45.109968][ C2] _raw_write_lock (./include/linux/rwlock_api_smp.h:210 kernel/locking/spinlock.c:300) [ 45.110125][ C2] ? addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 45.110309][ C2] addrconf_rs_timer (net/ipv6/addrconf.c:4023) [ 45.110576][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 45.110735][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 45.110905][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 45.111095][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 45.111372][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 45.111534][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 45.111701][ C2] call_timer_fn (kernel/time/timer.c:1793) [ 45.111865][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 45.112132][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 45.112292][ C2] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 45.112454][ 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) [ 45.112625][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 45.112797][ C2] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 45.113067][ C2] ? __pfx_addrconf_rs_timer (net/ipv6/addrconf.c:4016) [ 45.113227][ C2] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 45.113385][ C2] ? __lock_release (kernel/locking/lockdep.c:5430) [ 45.113550][ 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) [ 45.113813][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 45.113973][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 45.114131][ C2] ? timer_expire_remote (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 45.114314][ C2] timer_expire_remote (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 45.114598][ 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) [ 45.114765][ C2] ? __pfx_tmigr_handle_remote_cpu (kernel/time/timer_migration.c:869) [ 45.114990][ 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) [ 45.115164][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 45.115390][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 45.115552][ C2] tmigr_handle_remote_up (kernel/time/timer_migration.c:1003) [ 45.115711][ C2] tmigr_handle_remote (kernel/time/timer_migration.c:488 kernel/time/timer_migration.c:1061) [ 45.115875][ C2] ? __pfx_tmigr_handle_remote (kernel/time/timer_migration.c:1026) [ 45.116059][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 45.116326][ C2] __do_softirq (kernel/softirq.c:554) [ 45.116486][ C2] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 45.116610][ C2] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 45.116912][ C2] [ 45.116999][ C2] [ 45.117187][ C2] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 45.117398][ C2] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 45.117623][ C2] Code: 10 e8 21 49 9b fd 48 89 ef e8 59 b9 9b fd 81 e3 00 02 00 00 75 1d 9c 58 f6 c4 02 75 29 48 85 db 74 01 fb 65 ff 0d 05 bf ef 63 <74> 0e 5b 5d c3 cc cc cc cc e8 4f b3 be fd eb dc 0f 1f 44 00 00 5b All code ======== 0: 10 e8 adc %ch,%al 2: 21 49 9b and %ecx,-0x65(%rcx) 5: fd std 6: 48 89 ef mov %rbp,%rdi 9: e8 59 b9 9b fd call 0xfffffffffd9bb967 e: 81 e3 00 02 00 00 and $0x200,%ebx 14: 75 1d jne 0x33 16: 9c pushf 17: 58 pop %rax 18: f6 c4 02 test $0x2,%ah 1b: 75 29 jne 0x46 1d: 48 85 db test %rbx,%rbx 20: 74 01 je 0x23 22: fb sti 23: 65 ff 0d 05 bf ef 63 decl %gs:0x63efbf05(%rip) # 0x63efbf2f 2a:* 74 0e je 0x3a <-- trapping instruction 2c: 5b pop %rbx 2d: 5d pop %rbp 2e: c3 ret 2f: cc int3 30: cc int3 31: cc int3 32: cc int3 33: e8 4f b3 be fd call 0xfffffffffdbeb387 38: eb dc jmp 0x16 3a: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 3f: 5b pop %rbx Code starting with the faulting instruction =========================================== 0: 74 0e je 0x10 2: 5b pop %rbx 3: 5d pop %rbp 4: c3 ret 5: cc int3 6: cc int3 7: cc int3 8: cc int3 9: e8 4f b3 be fd call 0xfffffffffdbeb35d e: eb dc jmp 0xffffffffffffffec 10: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 15: 5b pop %rbx [ 45.118344][ C2] RSP: 0018:ffffc9000062f4b8 EFLAGS: 00000286 [ 45.118554][ C2] RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff3e65955 [ 45.118801][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff9c140911 [ 45.119095][ C2] RBP: ffff888001041080 R08: 0000000000000001 R09: fffffbfff3e638a9 [ 45.119360][ C2] R10: ffffffff9f31c54f R11: 0000000000001000 R12: ffff8880010433c0 [ 45.119731][ C2] R13: ffff888009354000 R14: 0000000000000282 R15: ffff888001041080 [ 45.119993][ C2] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 45.120196][ C2] free_to_partial_list (mm/slub.c:4071) [ 45.120472][ C2] ? qlist_free_all (mm/kasan/quarantine.c:163 mm/kasan/quarantine.c:179) [ 45.120649][ C2] qlist_free_all (mm/kasan/quarantine.c:174) [ 45.120806][ C2] ? p9pdu_vreadf (./include/linux/slab.h:632 net/9p/protocol.c:313) [ 45.120969][ C2] kasan_quarantine_reduce (./include/linux/srcu.h:285 mm/kasan/quarantine.c:287) [ 45.121235][ C2] __kasan_slab_alloc (mm/kasan/common.c:322) [ 45.121394][ C2] __kmalloc (mm/slub.c:3799 mm/slub.c:3845 mm/slub.c:3965 mm/slub.c:3979) [ 45.121514][ C2] p9pdu_vreadf (./include/linux/slab.h:632 net/9p/protocol.c:313) [ 45.121672][ C2] ? trace_9p_client_res (./include/trace/events/9p.h:146 (discriminator 52)) [ 45.121840][ C2] ? p9_client_rpc (net/9p/client.c:755) [ 45.122126][ C2] ? __pfx_p9pdu_vreadf (net/9p/protocol.c:260) [ 45.122289][ C2] ? __pfx_p9_client_rpc (net/9p/client.c:672) [ 45.122457][ C2] p9pdu_readf (net/9p/protocol.c:696) [ 45.122578][ C2] ? __pfx_p9pdu_readf (net/9p/protocol.c:696) [ 45.122735][ C2] ? __pfx_v9fs_fid_find (fs/9p/fid.c:114) [ 45.122907][ C2] p9_client_readlink (net/9p/client.c:2242) [ 45.123065][ C2] v9fs_vfs_get_link_dotl (fs/9p/vfs_inode_dotl.c:822 fs/9p/vfs_inode_dotl.c:806) [ 45.123225][ C2] ? __pfx_v9fs_vfs_get_link_dotl (fs/9p/vfs_inode_dotl.c:809) [ 45.123433][ C2] ? try_to_unlazy (fs/namei.c:786) [ 45.123595][ C2] pick_link (fs/namei.c:1806) [ 45.123713][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 45.123935][ C2] ? __pfx_v9fs_vfs_get_link_dotl (fs/9p/vfs_inode_dotl.c:809) [ 45.124175][ C2] step_into (fs/namei.c:1874) [ 45.124415][ C2] ? read_word_at_a_time (./include/asm-generic/rwonce.h:86) [ 45.124576][ C2] ? __d_lookup_rcu (./arch/x86/include/asm/word-at-a-time.h:85 fs/dcache.c:226 fs/dcache.c:277 fs/dcache.c:2228) [ 45.124746][ C2] ? __pfx_step_into (fs/namei.c:1839) [ 45.124915][ C2] link_path_walk.part.0.constprop.0 (fs/namei.c:2331) [ 45.125287][ C2] ? __pfx_link_path_walk.part.0.constprop.0 (fs/namei.c:2249) [ 45.125484][ C2] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837) [ 45.125645][ 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) [ 45.125804][ C2] path_lookupat (fs/namei.c:2254 (discriminator 2) fs/namei.c:2484 (discriminator 2)) [ 45.126074][ C2] filename_lookup (fs/namei.c:2514) [ 45.126232][ C2] ? __pfx_filename_lookup (fs/namei.c:2508) [ 45.126394][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 45.126554][ C2] ? __lock_release (kernel/locking/lockdep.c:5430) [ 45.126725][ C2] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 45.126886][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 45.127047][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 45.127206][ C2] vfs_statx (fs/stat.c:244) [ 45.127348][ C2] ? __pfx_vfs_statx (fs/stat.c:234) [ 45.127507][ C2] ? 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) [ 45.127669][ C2] vfs_fstatat (fs/stat.c:305) [ 45.127789][ C2] __do_sys_newfstatat (fs/stat.c:469) [ 45.127952][ C2] ? __pfx___do_sys_newfstatat (fs/stat.c:464) [ 45.128217][ C2] ? __x64_sys_openat (fs/open.c:1432) [ 45.128535][ C2] ? __pfx___x64_sys_openat (fs/open.c:1432) [ 45.128696][ C2] ? __pfx_do_faccessat (fs/open.c:465) [ 45.128856][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 45.129165][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 45.129325][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 45.129520][ C2] RIP: 0033:0x7f5975643eae [ 45.129705][ C2] 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 [ 45.130412][ C2] RSP: 002b:00007ffca31e6118 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 [ 45.130768][ C2] RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007f5975643eae [ 45.131010][ C2] RDX: 00007ffca31e61f0 RSI: 00007ffca31e6120 RDI: 00000000ffffff9c [ 45.131248][ C2] RBP: 00007ffca31e62b0 R08: 00000000ffffffff R09: 00007ffca31e6120 [ 45.131617][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffca31e6127 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage