====================================== | [ 44.908884][ C0] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 44.909180][ C0] | [ 44.909297][ C0] | [ 44.909297][ C0] stack backtrace: [ 44.910133][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 44.910838][ C0] Call Trace: [ 44.911023][ C0] [ 44.911147][ C0] dump_stack_lvl (lib/dump_stack.c:117) [ 44.911560][ C0] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 44.911865][ C0] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 44.912166][ C0] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 44.912401][ C0] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 44.912816][ C0] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 44.913053][ C0] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 44.913300][ C0] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 44.913542][ C0] ? stack_trace_save (kernel/stacktrace.c:123) [ 44.913958][ C0] ? add_chain_cache (kernel/locking/lockdep.c:3730) [ 44.914196][ C0] ? save_trace (kernel/locking/lockdep.c:586) [ 44.914437][ C0] mark_lock (kernel/locking/lockdep.c:4678) [ 44.914624][ C0] mark_usage (kernel/locking/lockdep.c:4567) [ 44.914806][ C0] __lock_acquire (kernel/locking/lockdep.c:5091) [ 44.915202][ C0] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 44.915432][ C0] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 44.915834][ C0] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 44.916064][ C0] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 44.916415][ C0] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 44.916650][ C0] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 44.916880][ C0] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 44.917235][ C0] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 44.917464][ C0] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 44.917818][ C0] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 44.918048][ C0] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 44.918556][ C0] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 44.918924][ C0] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 44.919343][ C0] call_timer_fn (kernel/time/timer.c:1793) [ 44.919749][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 44.919979][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 44.920208][ C0] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 44.920436][ C0] ? 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) [ 44.920669][ C0] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 44.921061][ C0] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 44.921295][ C0] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 44.921886][ C0] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 44.922126][ C0] ? __lock_release (kernel/locking/lockdep.c:5430) [ 44.922532][ C0] ? 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) [ 44.922773][ C0] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 44.923008][ C0] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 44.923259][ C0] ? timer_expire_remote (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 44.923658][ C0] timer_expire_remote (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 44.923899][ C0] 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) [ 44.924138][ C0] ? __pfx_tmigr_handle_remote_cpu (kernel/time/timer_migration.c:869) [ 44.924444][ C0] ? 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) [ 44.924848][ C0] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 44.925027][ C0] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 44.925268][ C0] tmigr_handle_remote_up (kernel/time/timer_migration.c:1003) [ 44.925515][ C0] tmigr_handle_remote (kernel/time/timer_migration.c:488 kernel/time/timer_migration.c:1061) [ 44.926096][ C0] ? 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) [ 44.926332][ C0] ? __pfx_tmigr_handle_remote (kernel/time/timer_migration.c:1026) [ 44.926582][ C0] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4292 kernel/locking/lockdep.c:4359) [ 44.926884][ C0] __do_softirq (kernel/softirq.c:554) [ 44.927122][ C0] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 44.927302][ C0] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 44.927538][ C0] [ 44.927824][ C0] [ 44.927948][ C0] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 44.928248][ C0] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 44.928731][ C0] 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 2f 4c <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 2f 4c decl %gs:0x4c2fbf05(%rip) # 0x4c2fbf2f 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 [ 44.929569][ C0] RSP: 0018:ffffc9000093fc38 EFLAGS: 00000246 [ 44.930048][ C0] RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff6de5955 [ 44.930407][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffb3d40911 [ 44.930941][ C0] RBP: ffff8880010411c0 R08: 0000000000000001 R09: fffffbfff6de38a9 [ 44.931298][ C0] R10: ffffffffb6f1c54f R11: 0000000000002000 R12: ffff888001043540 [ 44.931662][ C0] R13: ffff88800441a000 R14: 0000000000000286 R15: ffff8880010411c0 [ 44.932201][ C0] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 44.932500][ C0] free_to_partial_list (mm/slub.c:4071) [ 44.932735][ C0] ? qlist_free_all (mm/kasan/quarantine.c:163 mm/kasan/quarantine.c:179) [ 44.932981][ C0] qlist_free_all (mm/kasan/quarantine.c:174) [ 44.933386][ C0] kasan_quarantine_reduce (./include/linux/srcu.h:285 mm/kasan/quarantine.c:287) [ 44.933627][ C0] __kasan_slab_alloc (mm/kasan/common.c:322) [ 44.933862][ C0] kmem_cache_alloc (./include/linux/kasan.h:201 mm/slub.c:3798 mm/slub.c:3845 mm/slub.c:3852) [ 44.934105][ C0] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 44.934365][ C0] getname_flags (fs/namei.c:139) [ 44.934601][ C0] vfs_fstatat (fs/stat.c:304) [ 44.934960][ C0] __do_sys_newfstatat (fs/stat.c:469) [ 44.935198][ C0] ? __pfx___do_sys_newfstatat (fs/stat.c:464) [ 44.935427][ C0] ? __rseq_handle_notify_resume (kernel/rseq.c:316) [ 44.935896][ C0] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:316) [ 44.936199][ C0] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 44.936502][ C0] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 44.936745][ C0] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 44.937205][ C0] RIP: 0033:0x7fc7dd5f7eee [ 44.937461][ C0] 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 48 8b 15 d9 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: 48 rex.W 3d: 8b .byte 0x8b 3e: 15 .byte 0x15 3f: d9 .byte 0xd9 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: 48 rex.W 13: 8b .byte 0x8b 14: 15 .byte 0x15 15: d9 .byte 0xd9 [ 44.938489][ C0] RSP: 002b:00007ffc1bb979b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 [ 44.938850][ C0] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fc7dd5f7eee [ 44.939377][ C0] RDX: 00007ffc1bb979c0 RSI: 000055aca51d10a0 RDI: 00000000ffffff9c [ 44.939747][ C0] RBP: 000055aca51d10a0 R08: 00007ffc1bb97bc8 R09: 000055aca51c1502 [ 44.940099][ C0] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage