====================================== | [ 61.267311][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 61.267585][ C1] | [ 61.267660][ C1] | [ 61.267660][ C1] stack backtrace: [ 61.268159][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 61.268489][ C1] Call Trace: [ 61.268602][ C1] [ 61.268686][ C1] dump_stack_lvl (lib/dump_stack.c:117) [ 61.268922][ C1] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 61.269123][ C1] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 61.269316][ C1] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 61.269465][ C1] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 61.269694][ C1] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 61.269848][ C1] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 61.270004][ C1] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 61.270240][ C1] ? stack_trace_save (kernel/stacktrace.c:123) [ 61.270393][ C1] ? add_chain_cache (kernel/locking/lockdep.c:3730) [ 61.270549][ C1] ? save_trace (kernel/locking/lockdep.c:586) [ 61.270797][ C1] mark_lock (kernel/locking/lockdep.c:4678) [ 61.270911][ C1] mark_usage (kernel/locking/lockdep.c:4567) [ 61.271033][ C1] __lock_acquire (kernel/locking/lockdep.c:5091) [ 61.271184][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 61.271336][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 61.271598][ C1] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 61.271830][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 61.272061][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 61.272209][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 61.272361][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 61.272675][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 61.272825][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 61.273048][ C1] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 61.273199][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 61.273502][ C1] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 61.273806][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 61.274065][ C1] call_timer_fn (kernel/time/timer.c:1793) [ 61.274303][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 61.274455][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 61.274603][ C1] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 61.274752][ C1] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 61.274868][ C1] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 61.275098][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 61.275360][ C1] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 61.275597][ 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) [ 61.275745][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 61.276049][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 61.276198][ C1] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 61.276346][ C1] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 61.276497][ C1] __do_softirq (kernel/softirq.c:554) [ 61.276725][ C1] ? __dev_queue_xmit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:849 net/core/dev.c:4399) [ 61.276874][ C1] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 61.276992][ C1] [ 61.277069][ C1] [ 61.277143][ C1] __local_bh_enable_ip (kernel/softirq.c:382) [ 61.277374][ C1] ? __dev_queue_xmit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:849 net/core/dev.c:4399) [ 61.277520][ C1] __dev_queue_xmit (net/core/dev.c:4400) [ 61.277748][ C1] ? packet_parse_headers (./include/linux/skbuff.h:3028 net/packet/af_packet.c:1944) [ 61.277899][ C1] ? packet_parse_headers (./include/linux/skbuff.h:3028 net/packet/af_packet.c:1944) [ 61.278049][ C1] ? copy_page_from_iter (lib/iov_iter.c:424 lib/iov_iter.c:411) [ 61.278279][ C1] ? __pfx___dev_queue_xmit (net/core/dev.c:4281) [ 61.278428][ C1] packet_snd (net/packet/af_packet.c:3081) [ 61.278578][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 61.278734][ C1] ? __pfx_packet_snd (net/packet/af_packet.c:2944) [ 61.278967][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 61.279134][ C1] ? trace_raw_output_mmap_lock_acquire_returned (./include/trace/events/mmap_lock.h:52 (discriminator 2)) [ 61.279368][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 61.279600][ C1] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 61.279753][ C1] ? __pfx___sys_sendto (net/socket.c:2161) [ 61.279984][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 61.280134][ C1] ? sock_ioctl (net/socket.c:1344) [ 61.280286][ C1] ? restore_fpregs_from_fpstate (arch/x86/kernel/fpu/xstate.h:208 arch/x86/kernel/fpu/core.c:181) [ 61.280555][ C1] ? __pfx_restore_fpregs_from_fpstate (arch/x86/kernel/fpu/core.c:137) [ 61.280744][ C1] __x64_sys_sendto (net/socket.c:2199) [ 61.280896][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 61.281164][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 61.281313][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 61.281498][ C1] RIP: 0033:0x7f02defda85a [ 61.281656][ 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 [ 61.282359][ C1] RSP: 002b:00007ffc652bbe88 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 61.282585][ C1] RAX: ffffffffffffffda RBX: 00000000049ce9d0 RCX: 00007f02defda85a [ 61.282914][ C1] RDX: 0000000000001f6a RSI: 00000000049d28e2 RDI: 0000000000000005 [ 61.283141][ C1] RBP: 00000000049d28e2 R08: 00007ffc652bbe90 R09: 0000000000000014 [ 61.283363][ C1] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage