======================================
| [ 51.548756][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
| [ 51.548966][ C1]
| [ 51.549047][ C1]
| [ 51.549047][ C1] stack backtrace:
[ 51.549632][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 51.550015][ C1] Call Trace:
[ 51.550134][ C1]
[ 51.550216][ C1] dump_stack_lvl (lib/dump_stack.c:117)
[ 51.550391][ C1] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024)
[ 51.550595][ C1] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024)
[ 51.550814][ C1] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264)
[ 51.550981][ C1] ? __pfx_usage_match (kernel/locking/lockdep.c:2256)
[ 51.551249][ C1] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26)
[ 51.551429][ C1] mark_lock_irq (kernel/locking/lockdep.c:4244)
[ 51.551594][ C1] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207)
[ 51.551773][ C1] ? stack_trace_save (kernel/stacktrace.c:123)
[ 51.552037][ C1] ? add_chain_cache (kernel/locking/lockdep.c:3730)
[ 51.552200][ C1] ? save_trace (kernel/locking/lockdep.c:586)
[ 51.552356][ C1] mark_lock (kernel/locking/lockdep.c:4678)
[ 51.552470][ C1] mark_usage (kernel/locking/lockdep.c:4567)
[ 51.552585][ C1] __lock_acquire (kernel/locking/lockdep.c:5091)
[ 51.552843][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137)
[ 51.553010][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge
[ 51.553284][ C1] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756)
[ 51.553434][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge
[ 51.553754][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 51.553909][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52))
[ 51.554074][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge
[ 51.554395][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727)
[ 51.554550][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge
[ 51.554785][ C1] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154)
[ 51.554938][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge
[ 51.555262][ C1] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge
[ 51.555505][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge
[ 51.555764][ C1] call_timer_fn (kernel/time/timer.c:1793)
[ 51.555929][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783)
[ 51.556078][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783)
[ 51.556244][ C1] ? __pfx_call_timer_fn (kernel/time/timer.c:1770)
[ 51.556402][ C1] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3))
[ 51.556536][ C1] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418)
[ 51.556702][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge
[ 51.556988][ C1] ? __pfx___run_timers (kernel/time/timer.c:2389)
[ 51.557151][ 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)
[ 51.557317][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114)
[ 51.557569][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727)
[ 51.557735][ C1] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448)
[ 51.557897][ C1] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448)
[ 51.558068][ C1] __do_softirq (kernel/softirq.c:554)
[ 51.558359][ C1] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645)
[ 51.558487][ C1] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043)
[ 51.558647][ C1]
[ 51.558731][ C1]
[ 51.558812][ C1] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702)
[ 51.559032][ C1] RIP: 0010:unwind_next_frame (arch/x86/kernel/unwind_orc.c:482)
[ 51.559240][ C1] Code: 48 c1 ea 03 80 3c 02 00 0f 85 3c 16 00 00 49 8b 45 48 65 ff 05 b6 76 cf 5d 48 89 44 24 18 49 8d 45 60 48 89 c2 48 89 44 24 08 <48> b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 d4 15
All code
========
0: 48 c1 ea 03 shr $0x3,%rdx
4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
8: 0f 85 3c 16 00 00 jne 0x164a
e: 49 8b 45 48 mov 0x48(%r13),%rax
12: 65 ff 05 b6 76 cf 5d incl %gs:0x5dcf76b6(%rip) # 0x5dcf76cf
19: 48 89 44 24 18 mov %rax,0x18(%rsp)
1e: 49 8d 45 60 lea 0x60(%r13),%rax
22: 48 89 c2 mov %rax,%rdx
25: 48 89 44 24 08 mov %rax,0x8(%rsp)
2a:* 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax <-- trapping instruction
31: fc ff df
34: 48 c1 ea 03 shr $0x3,%rdx
38: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
3c: 0f .byte 0xf
3d: 85 d4 test %edx,%esp
3f: 15 .byte 0x15
Code starting with the faulting instruction
===========================================
0: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
7: fc ff df
a: 48 c1 ea 03 shr $0x3,%rdx
e: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
12: 0f .byte 0xf
13: 85 d4 test %edx,%esp
15: 15 .byte 0x15
[ 51.559831][ C1] RSP: 0018:ffffc9000058f510 EFLAGS: 00000282
[ 51.560038][ C1] RAX: ffffc9000058f670 RBX: 0000000000000001 RCX: ffffc90000590001
[ 51.560311][ C1] RDX: ffffc9000058f670 RSI: ffffffffa4c00126 RDI: ffffc9000058f610
[ 51.560660][ C1] RBP: ffffc9000058f668 R08: ffffc9000058f650 R09: 1ffff920000b1eab
[ 51.560908][ C1] R10: ffffc9000058f610 R11: ffffc9000058f651 R12: 1ffff920000b1eab
[ 51.561150][ C1] R13: ffffc9000058f610 R14: ffff888007b08040 R15: ffff88800196b9c0
[ 51.561506][ C1] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 51.561713][ C1] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 51.561904][ C1] ? __pfx_unwind_next_frame (arch/x86/kernel/unwind_orc.c:469)
[ 51.562069][ C1] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 51.562257][ C1] ? kernel_text_address (kernel/extable.c:99)
[ 51.562528][ C1] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83)
[ 51.562726][ C1] arch_stack_walk (arch/x86/kernel/stacktrace.c:24)
[ 51.562875][ C1] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 51.563065][ C1] stack_trace_save (kernel/stacktrace.c:123)
[ 51.563234][ C1] ? __pfx_stack_trace_save (kernel/stacktrace.c:114)
[ 51.563412][ C1] ? ___slab_alloc (mm/slub.c:2583 mm/slub.c:2701 mm/slub.c:3505)
[ 51.563668][ C1] ? kmem_cache_alloc (./include/linux/sched/mm.h:315 mm/slub.c:3746 mm/slub.c:3827 mm/slub.c:3852)
[ 51.563832][ C1] ? __alloc_object (mm/kmemleak.c:466 mm/kmemleak.c:645)
[ 51.564099][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406)
[ 51.564382][ C1] set_track_prepare (mm/slub.c:889)
[ 51.564539][ C1] ? __pfx_set_track_prepare (mm/slub.c:880)
[ 51.564809][ C1] ? kmem_cache_alloc_node (./include/linux/kmemleak.h:42 mm/slub.c:3802 mm/slub.c:3845 mm/slub.c:3888)
[ 51.564959][ C1] ? kmalloc_reserve (net/core/skbuff.c:580)
[ 51.565229][ C1] ? __alloc_skb (net/core/skbuff.c:668)
[ 51.565500][ C1] ? alloc_skb_with_frags (./include/linux/skbuff.h:1313 net/core/skbuff.c:6477)
[ 51.565759][ C1] ? sock_alloc_send_pskb (net/core/sock.c:2796)
[ 51.565916][ C1] ? packet_snd (net/packet/af_packet.c:2930 net/packet/af_packet.c:3024)
[ 51.566113][ C1] ? __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191)
[ 51.566276][ C1] ? __x64_sys_sendto (net/socket.c:2199)
[ 51.566541][ C1] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 51.566698][ C1] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 51.566898][ C1] ? lockdep_init_map_type (kernel/locking/lockdep.c:4892)
[ 51.567172][ C1] ? __raw_spin_lock_init (kernel/locking/spinlock_debug.c:27)
[ 51.567332][ C1] __alloc_object (mm/kmemleak.c:681)
[ 51.567487][ C1] __create_object (mm/kmemleak.c:750)
[ 51.567641][ C1] kmem_cache_alloc_node (./include/linux/kmemleak.h:42 mm/slub.c:3802 mm/slub.c:3845 mm/slub.c:3888)
[ 51.567797][ C1] ? kmalloc_reserve (net/core/skbuff.c:577)
[ 51.568003][ C1] kmalloc_reserve (net/core/skbuff.c:580)
[ 51.568165][ C1] __alloc_skb (net/core/skbuff.c:668)
[ 51.568329][ C1] ? __pfx___alloc_skb (net/core/skbuff.c:641)
[ 51.568504][ C1] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 51.568662][ C1] ? dev_queue_xmit_nit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:2332)
[ 51.568821][ 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)
[ 51.568981][ C1] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3))
[ 51.569220][ C1] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 51.569403][ C1] alloc_skb_with_frags (./include/linux/skbuff.h:1313 net/core/skbuff.c:6477)
[ 51.569694][ C1] sock_alloc_send_pskb (net/core/sock.c:2796)
[ 51.569867][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244)
[ 51.570092][ C1] ? __pfx_sock_alloc_send_pskb (net/core/sock.c:2767)
[ 51.570367][ C1] ? dev_get_by_index (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:888)
[ 51.570538][ C1] packet_snd (net/packet/af_packet.c:2930 net/packet/af_packet.c:3024)
[ 51.570722][ C1] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 51.570890][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406)
[ 51.571191][ C1] ? __pfx_packet_snd (net/packet/af_packet.c:2944)
[ 51.571371][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209)
[ 51.571538][ C1] ? trace_raw_output_mmap_lock_acquire_returned (./include/trace/events/mmap_lock.h:52 (discriminator 2))
[ 51.571914][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209)
[ 51.572093][ C1] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191)
[ 51.572261][ C1] ? __pfx___sys_sendto (net/socket.c:2161)
[ 51.572548][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727)
[ 51.572719][ C1] ? sock_ioctl (net/socket.c:1344)
[ 51.572895][ C1] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:316)
[ 51.573220][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 51.573455][ C1] __x64_sys_sendto (net/socket.c:2199)
[ 51.573638][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 51.573967][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 51.574251][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 51.574580][ C1] RIP: 0033:0x7f511bc0185a
[ 51.574767][ C1] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89
All code
========
0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4)
4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax
b: eb b8 jmp 0xffffffffffffffc5
d: 0f 1f 00 nopl (%rax)
10: f3 0f 1e fa endbr64
14: 41 89 ca mov %ecx,%r10d
17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax
1e: 00
1f: 85 c0 test %eax,%eax
21: 75 15 jne 0x38
23: b8 2c 00 00 00 mov $0x2c,%eax
28: 0f 05 syscall
2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction
30: 77 7e ja 0xb0
32: c3 ret
33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
38: 41 54 push %r12
3a: 48 83 ec 30 sub $0x30,%rsp
3e: 44 rex.R
3f: 89 .byte 0x89
Code starting with the faulting instruction
===========================================
0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax
6: 77 7e ja 0x86
8: c3 ret
9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
e: 41 54 push %r12
10: 48 83 ec 30 sub $0x30,%rsp
14: 44 rex.R
15: 89 .byte 0x89
[ 51.575603][ C1] RSP: 002b:00007ffd65632be8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
[ 51.575993][ C1] RAX: ffffffffffffffda RBX: 000000000f5019d0 RCX: 00007f511bc0185a
[ 51.576243][ C1] RDX: 0000000000001f6a RSI: 000000000f5058e2 RDI: 0000000000000005
[ 51.576621][ C1] RBP: 000000000f5058e2 R08: 00007ffd65632bf0 R09: 0000000000000014
[ 51.576882][ C1] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
Finger prints:
dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage