====================================== | [ 53.272263][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 53.272505][ C1] | [ 53.272579][ C1] | [ 53.272579][ C1] stack backtrace: [ 53.273120][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 53.273495][ C1] Call Trace: [ 53.273605][ C1] [ 53.273681][ C1] dump_stack_lvl (lib/dump_stack.c:117) [ 53.273822][ C1] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 53.274074][ C1] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 53.274244][ C1] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 53.274381][ C1] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 53.274602][ C1] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 53.274741][ C1] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 53.274877][ C1] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 53.275094][ C1] ? stack_trace_save (kernel/stacktrace.c:123) [ 53.275230][ C1] ? add_chain_cache (kernel/locking/lockdep.c:3730) [ 53.275369][ C1] ? save_trace (kernel/locking/lockdep.c:586) [ 53.275595][ C1] mark_lock (kernel/locking/lockdep.c:4678) [ 53.275700][ C1] mark_usage (kernel/locking/lockdep.c:4567) [ 53.275803][ C1] __lock_acquire (kernel/locking/lockdep.c:5091) [ 53.275954][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 53.276172][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 53.276412][ C1] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 53.276549][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 53.276836][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 53.276973][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 53.277120][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 53.277413][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 53.277550][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 53.277755][ C1] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 53.278049][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 53.278256][ C1] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 53.278551][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 53.278792][ C1] call_timer_fn (kernel/time/timer.c:1793) [ 53.278927][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 53.279141][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 53.279281][ C1] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 53.279414][ C1] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 53.279520][ C1] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 53.279738][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 53.279993][ C1] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 53.280131][ 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) [ 53.280352][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 53.280511][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 53.280737][ C1] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 53.280874][ C1] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 53.281009][ C1] __do_softirq (kernel/softirq.c:554) [ 53.281147][ C1] ? __dev_queue_xmit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:849 net/core/dev.c:4399) [ 53.281366][ C1] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 53.281471][ C1] [ 53.281542][ C1] [ 53.281614][ C1] __local_bh_enable_ip (kernel/softirq.c:382) [ 53.281751][ C1] ? __dev_queue_xmit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:849 net/core/dev.c:4399) [ 53.281966][ C1] __dev_queue_xmit (net/core/dev.c:4400) [ 53.282102][ C1] ? packet_parse_headers (./include/linux/skbuff.h:3028 net/packet/af_packet.c:1944) [ 53.282238][ C1] ? packet_parse_headers (./include/linux/skbuff.h:3028 net/packet/af_packet.c:1944) [ 53.282375][ C1] ? copy_page_from_iter (lib/iov_iter.c:424 lib/iov_iter.c:411) [ 53.282595][ C1] ? __pfx___dev_queue_xmit (net/core/dev.c:4281) [ 53.282735][ C1] packet_snd (net/packet/af_packet.c:3081) [ 53.282873][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 53.283011][ C1] ? __pfx_packet_snd (net/packet/af_packet.c:2944) [ 53.283227][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 53.283364][ C1] ? trace_raw_output_mmap_lock_acquire_returned (./include/trace/events/mmap_lock.h:52 (discriminator 2)) [ 53.283650][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 53.283786][ C1] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 53.283926][ C1] ? __pfx___sys_sendto (net/socket.c:2161) [ 53.284143][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 53.284286][ C1] ? sock_ioctl (net/socket.c:1344) [ 53.284425][ C1] ? restore_fpregs_from_fpstate (arch/x86/kernel/fpu/xstate.h:208 arch/x86/kernel/fpu/core.c:181) [ 53.284675][ C1] ? __pfx_restore_fpregs_from_fpstate (arch/x86/kernel/fpu/core.c:137) [ 53.284846][ C1] __x64_sys_sendto (net/socket.c:2199) [ 53.284982][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 53.285151][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 53.285368][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 53.285538][ C1] RIP: 0033:0x7fd4d615085a [ 53.285682][ 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 [ 53.286338][ C1] RSP: 002b:00007ffd48e253a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 53.286544][ C1] RAX: ffffffffffffffda RBX: 000000003a67c9d0 RCX: 00007fd4d615085a [ 53.286912][ C1] RDX: 0000000000001f6a RSI: 000000003a6808e2 RDI: 0000000000000005 [ 53.287117][ C1] RBP: 000000003a6808e2 R08: 00007ffd48e253b0 R09: 0000000000000014 [ 53.287320][ C1] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage