====================================== | [ 45.413361][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 45.413627][ C2] | [ 45.413698][ C2] | [ 45.413698][ C2] stack backtrace: [ 45.414086][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 45.414489][ C2] Call Trace: [ 45.414598][ C2] [ 45.414672][ C2] dump_stack_lvl (lib/dump_stack.c:117) [ 45.414831][ C2] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 45.415091][ C2] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 45.415271][ C2] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 45.415412][ C2] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 45.415740][ C2] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 45.415884][ C2] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 45.416028][ C2] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 45.416169][ C2] ? stack_trace_save (kernel/stacktrace.c:123) [ 45.416314][ C2] ? add_chain_cache (kernel/locking/lockdep.c:3730) [ 45.416456][ C2] ? save_trace (kernel/locking/lockdep.c:586) [ 45.416599][ C2] mark_lock (kernel/locking/lockdep.c:4678) [ 45.416706][ C2] mark_usage (kernel/locking/lockdep.c:4567) [ 45.416813][ C2] __lock_acquire (kernel/locking/lockdep.c:5091) [ 45.416962][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 45.417104][ C2] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 45.417350][ C2] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 45.417491][ C2] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 45.417796][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 45.417937][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 45.418078][ C2] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 45.418319][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 45.418465][ C2] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 45.418681][ C2] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 45.418823][ C2] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 45.419037][ C2] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 45.419249][ C2] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 45.419496][ C2] call_timer_fn (kernel/time/timer.c:1793) [ 45.419646][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 45.419874][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 45.420015][ C2] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 45.420157][ 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.420299][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 45.420525][ C2] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 45.420665][ C2] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 45.420913][ C2] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 45.421062][ 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.421297][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 45.421438][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 45.421582][ C2] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 45.421726][ C2] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 45.421950][ C2] __do_softirq (kernel/softirq.c:554) [ 45.422097][ C2] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 45.422204][ C2] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 45.422345][ C2] [ 45.422428][ C2] [ 45.422500][ C2] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 45.422767][ C2] RIP: 0010:kasan_check_range (mm/kasan/generic.c:87 mm/kasan/generic.c:104 mm/kasan/generic.c:129 mm/kasan/generic.c:161 mm/kasan/generic.c:180 mm/kasan/generic.c:189) [ 45.422917][ C2] Code: c2 48 85 c0 75 b0 48 89 da 4c 89 d8 4c 29 da e9 49 ff ff ff 48 85 d2 74 b3 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 a5 80 38 00 <74> f2 e9 74 ff ff ff b8 01 00 00 00 c3 cc cc cc cc 48 29 c3 48 89 All code ======== 0: c2 48 85 ret $0x8548 3: c0 75 b0 48 shlb $0x48,-0x50(%rbp) 7: 89 da mov %ebx,%edx 9: 4c 89 d8 mov %r11,%rax c: 4c 29 da sub %r11,%rdx f: e9 49 ff ff ff jmp 0xffffffffffffff5d 14: 48 85 d2 test %rdx,%rdx 17: 74 b3 je 0xffffffffffffffcc 19: 48 01 ea add %rbp,%rdx 1c: eb 09 jmp 0x27 1e: 48 83 c0 01 add $0x1,%rax 22: 48 39 d0 cmp %rdx,%rax 25: 74 a5 je 0xffffffffffffffcc 27: 80 38 00 cmpb $0x0,(%rax) 2a:* 74 f2 je 0x1e <-- trapping instruction 2c: e9 74 ff ff ff jmp 0xffffffffffffffa5 31: b8 01 00 00 00 mov $0x1,%eax 36: c3 ret 37: cc int3 38: cc int3 39: cc int3 3a: cc int3 3b: 48 29 c3 sub %rax,%rbx 3e: 48 rex.W 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 74 f2 je 0xfffffffffffffff4 2: e9 74 ff ff ff jmp 0xffffffffffffff7b 7: b8 01 00 00 00 mov $0x1,%eax c: c3 ret d: cc int3 e: cc int3 f: cc int3 10: cc int3 11: 48 29 c3 sub %rax,%rbx 14: 48 rex.W 15: 89 .byte 0x89 [ 45.423424][ C2] RSP: 0018:ffffc90000b0f9b8 EFLAGS: 00000246 [ 45.423611][ C2] RAX: fffffbfff32e49fa RBX: fffffbfff32e49fb RCX: ffffffff954e6ed1 [ 45.423825][ C2] RDX: fffffbfff32e49fb RSI: 0000000000000008 RDI: ffffffff99724fd0 [ 45.424041][ C2] RBP: fffffbfff32e49fa R08: 0000000000000000 R09: fffffbfff32e49fa [ 45.424252][ C2] R10: ffffffff99724fd7 R11: ffff8880035a0d08 R12: ffffffff9538b67e [ 45.424471][ C2] R13: ffff8880045f33e0 R14: ffff8880045f33e8 R15: dffffc0000000000 [ 45.424778][ C2] ? dup_mmap (kernel/fork.c:672) [ 45.424921][ C2] ? trace_lock_release (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 ./include/linux/cpumask.h:505 ./include/linux/cpumask.h:1120 ./include/trace/events/lock.h:69) [ 45.425065][ C2] ? __pfx_down_write (kernel/locking/rwsem.c:1577) [ 45.425291][ C2] ? dup_mmap (kernel/fork.c:672) [ 45.425432][ C2] trace_lock_release (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 ./include/linux/cpumask.h:505 ./include/linux/cpumask.h:1120 ./include/trace/events/lock.h:69) [ 45.425573][ C2] ? dup_mmap (kernel/fork.c:672) [ 45.425712][ C2] lock_release (kernel/locking/lockdep.c:116 kernel/locking/lockdep.c:5767) [ 45.425855][ C2] up_write (kernel/locking/rwsem.c:1632) [ 45.426055][ C2] dup_mmap (kernel/fork.c:672) [ 45.426164][ C2] ? __pfx_dup_mmap (kernel/fork.c:630) [ 45.426311][ C2] ? mm_init.constprop.0.isra.0 (kernel/fork.c:1303) [ 45.426488][ C2] ? __raw_spin_lock_init (kernel/locking/spinlock_debug.c:27) [ 45.426815][ C2] copy_mm (kernel/fork.c:1688 kernel/fork.c:1736) [ 45.426924][ C2] copy_process (kernel/fork.c:2389) [ 45.427067][ C2] ? __lock_release (kernel/locking/lockdep.c:5430) [ 45.427210][ C2] ? __pfx_copy_process (kernel/fork.c:2138) [ 45.427350][ 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.427500][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 45.427610][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 45.427751][ C2] ? usage_skip (kernel/locking/lockdep.c:2295 kernel/locking/lockdep.c:2263) [ 45.427894][ C2] kernel_clone (./include/linux/random.h:26 kernel/fork.c:2797) [ 45.428034][ C2] ? do_user_addr_fault (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 ./include/linux/mm.h:700 arch/x86/mm/fault.c:1364) [ 45.428180][ C2] ? __pfx_kernel_clone (kernel/fork.c:2756) [ 45.428335][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 45.428477][ C2] ? __lock_release (kernel/locking/lockdep.c:5430) [ 45.428715][ C2] __do_sys_clone (kernel/fork.c:2928) [ 45.428862][ C2] ? __pfx___do_sys_clone (kernel/fork.c:2928) [ 45.429004][ C2] ? __pfx___up_read (kernel/locking/rwsem.c:1339) [ 45.429146][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 45.429326][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 45.429468][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 45.429647][ C2] RIP: 0033:0x7f377f771a17 [ 45.429799][ C2] Code: 00 00 00 f3 0f 1e fa 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 39 41 89 c0 85 c0 75 2a 64 48 8b 04 25 10 00 All code ======== 0: 00 00 add %al,(%rax) 2: 00 f3 add %dh,%bl 4: 0f 1e fa nop %edx 7: 64 48 8b 04 25 10 00 mov %fs:0x10,%rax e: 00 00 10: 45 31 c0 xor %r8d,%r8d 13: 31 d2 xor %edx,%edx 15: 31 f6 xor %esi,%esi 17: bf 11 00 20 01 mov $0x1200011,%edi 1c: 4c 8d 90 d0 02 00 00 lea 0x2d0(%rax),%r10 23: b8 38 00 00 00 mov $0x38,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 39 ja 0x6b 32: 41 89 c0 mov %eax,%r8d 35: 85 c0 test %eax,%eax 37: 75 2a jne 0x63 39: 64 fs 3a: 48 rex.W 3b: 8b .byte 0x8b 3c: 04 25 add $0x25,%al 3e: 10 00 adc %al,(%rax) Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 39 ja 0x41 8: 41 89 c0 mov %eax,%r8d b: 85 c0 test %eax,%eax d: 75 2a jne 0x39 f: 64 fs 10: 48 rex.W 11: 8b .byte 0x8b 12: 04 25 add $0x25,%al 14: 10 00 adc %al,(%rax) [ 45.430303][ C2] RSP: 002b:00007ffea060aa28 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 [ 45.430522][ C2] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f377f771a17 [ 45.430820][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 [ 45.431029][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: 006e68617a657375 [ 45.431241][ C2] R10: 00007f377f656a10 R11: 0000000000000246 R12: 0000000000000000 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage