====================================== | [ 71.002165][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 71.002454][ C3] | [ 71.002528][ C3] | [ 71.002528][ C3] stack backtrace: [ 71.003039][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 71.003364][ C3] Call Trace: [ 71.003561][ C3] [ 71.003636][ C3] dump_stack_lvl (lib/dump_stack.c:117) [ 71.003793][ C3] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 71.004064][ C3] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 71.004252][ C3] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 71.004407][ C3] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 71.004638][ C3] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 71.004788][ C3] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 71.004940][ C3] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 71.005086][ C3] ? stack_trace_save (kernel/stacktrace.c:123) [ 71.005321][ C3] ? add_chain_cache (kernel/locking/lockdep.c:3730) [ 71.005471][ C3] ? save_trace (kernel/locking/lockdep.c:586) [ 71.005621][ C3] mark_lock (kernel/locking/lockdep.c:4678) [ 71.005815][ C3] mark_usage (kernel/locking/lockdep.c:4567) [ 71.005931][ C3] __lock_acquire (kernel/locking/lockdep.c:5091) [ 71.006084][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 71.006318][ C3] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 71.006585][ C3] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 71.006734][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 71.007050][ C3] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 71.007211][ C3] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 71.007367][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 71.007588][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 71.007736][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 71.007954][ C3] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 71.008182][ C3] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 71.008403][ C3] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 71.008702][ C3] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 71.008966][ C3] call_timer_fn (kernel/time/timer.c:1793) [ 71.009114][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 71.009347][ C3] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 71.009496][ C3] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 71.009645][ C3] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 71.009760][ C3] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 71.009999][ C3] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 71.010253][ C3] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 71.010411][ C3] ? 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) [ 71.010559][ C3] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 71.010786][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 71.010930][ C3] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 71.011079][ C3] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 71.011225][ C3] __do_softirq (kernel/softirq.c:554) [ 71.011457][ C3] ? __dev_queue_xmit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:849 net/core/dev.c:4399) [ 71.011604][ C3] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 71.011718][ C3] [ 71.011793][ C3] [ 71.011867][ C3] __local_bh_enable_ip (kernel/softirq.c:382) [ 71.012013][ C3] ? __dev_queue_xmit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:849 net/core/dev.c:4399) [ 71.012239][ C3] __dev_queue_xmit (net/core/dev.c:4400) [ 71.012396][ C3] ? packet_parse_headers (./include/linux/skbuff.h:3028 net/packet/af_packet.c:1944) [ 71.012625][ C3] ? packet_parse_headers (./include/linux/skbuff.h:3028 net/packet/af_packet.c:1944) [ 71.012779][ C3] ? copy_page_from_iter (lib/iov_iter.c:424 lib/iov_iter.c:411) [ 71.012927][ C3] ? __pfx___dev_queue_xmit (net/core/dev.c:4281) [ 71.013157][ C3] packet_snd (net/packet/af_packet.c:3081) [ 71.013308][ C3] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 71.013462][ C3] ? __pfx_packet_snd (net/packet/af_packet.c:2944) [ 71.013687][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 71.013835][ C3] ? trace_raw_output_mmap_lock_acquire_returned (./include/trace/events/mmap_lock.h:52 (discriminator 2)) [ 71.014053][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 71.014203][ C3] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 71.014431][ C3] ? __pfx___sys_sendto (net/socket.c:2161) [ 71.014585][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 71.014734][ C3] ? sock_ioctl (net/socket.c:1344) [ 71.014881][ C3] ? restore_fpregs_from_fpstate (arch/x86/kernel/fpu/xstate.h:208 arch/x86/kernel/fpu/core.c:181) [ 71.015146][ C3] ? __pfx_restore_fpregs_from_fpstate (arch/x86/kernel/fpu/core.c:137) [ 71.015332][ C3] __x64_sys_sendto (net/socket.c:2199) [ 71.015481][ C3] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 71.015752][ C3] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 71.015905][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 71.016088][ C3] RIP: 0033:0x7ff86da9185a [ 71.016243][ C3] 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 [ 71.016842][ C3] RSP: 002b:00007fff40e88578 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 71.017066][ C3] RAX: ffffffffffffffda RBX: 000000001b14d9d0 RCX: 00007ff86da9185a [ 71.017369][ C3] RDX: 0000000000001f6a RSI: 000000001b1518e2 RDI: 0000000000000005 [ 71.017604][ C3] RBP: 000000001b1518e2 R08: 00007fff40e88580 R09: 0000000000000014 [ 71.017823][ C3] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage