====================================== | [ 55.373435][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 55.373606][ C2] | [ 55.373758][ C2] | [ 55.373758][ C2] stack backtrace: [ 55.374141][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 55.374536][ C2] Call Trace: [ 55.374643][ C2] [ 55.374716][ C2] dump_stack_lvl (lib/dump_stack.c:117) [ 55.374876][ C2] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 55.375128][ C2] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 55.375306][ C2] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 55.375444][ C2] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 55.375587][ C2] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 55.375812][ C2] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 55.375951][ C2] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 55.376088][ C2] ? stack_trace_save (kernel/stacktrace.c:123) [ 55.376236][ C2] ? add_chain_cache (kernel/locking/lockdep.c:3730) [ 55.376457][ C2] ? save_trace (kernel/locking/lockdep.c:586) [ 55.376595][ C2] mark_lock (kernel/locking/lockdep.c:4678) [ 55.376700][ C2] mark_usage (kernel/locking/lockdep.c:4567) [ 55.376804][ C2] __lock_acquire (kernel/locking/lockdep.c:5091) [ 55.376950][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 55.377255][ C2] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 55.377501][ C2] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 55.377638][ C2] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 55.377850][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 55.378069][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 55.378221][ C2] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 55.378438][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 55.378610][ C2] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 55.379107][ C2] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 55.379384][ C2] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 55.379726][ C2] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 55.380240][ C2] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 55.380652][ C2] call_timer_fn (kernel/time/timer.c:1793) [ 55.380882][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 55.381109][ C2] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 55.381480][ C2] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 55.381710][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 55.381944][ C2] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 55.382173][ C2] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 55.382737][ C2] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 55.382974][ C2] ? __lock_release (kernel/locking/lockdep.c:5430) [ 55.383206][ 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) [ 55.383447][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 55.383847][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 55.384085][ C2] ? timer_expire_remote (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 55.384315][ C2] timer_expire_remote (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2181) [ 55.384601][ C2] tmigr_handle_remote_cpu (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:67 ./arch/x86/include/asm/irqflags.h:127 kernel/time/timer_migration.c:925) [ 55.384989][ C2] ? __pfx_tmigr_handle_remote_cpu (kernel/time/timer_migration.c:869) [ 55.385315][ C2] ? timerqueue_del (lib/timerqueue.c:58) [ 55.385581][ C2] tmigr_handle_remote_up (kernel/time/timer_migration.c:1003) [ 55.385829][ C2] tmigr_handle_remote (kernel/time/timer_migration.c:488 kernel/time/timer_migration.c:1061) [ 55.386229][ C2] ? ktime_get (kernel/time/timekeeping.c:195 (discriminator 4) kernel/time/timekeeping.c:289 (discriminator 4) kernel/time/timekeeping.c:388 (discriminator 4) kernel/time/timekeeping.c:848 (discriminator 4)) [ 55.386418][ C2] ? __pfx_tmigr_handle_remote (kernel/time/timer_migration.c:1026) [ 55.386662][ C2] ? hrtimer_interrupt (kernel/time/hrtimer.c:1831) [ 55.386912][ C2] __do_softirq (kernel/softirq.c:554) [ 55.387168][ C2] ? __dev_queue_xmit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:849 net/core/dev.c:4399) [ 55.387575][ C2] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 55.387765][ C2] [ 55.387898][ C2] [ 55.388025][ C2] __local_bh_enable_ip (kernel/softirq.c:382) [ 55.388280][ C2] ? __dev_queue_xmit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:849 net/core/dev.c:4399) [ 55.388681][ C2] __dev_queue_xmit (net/core/dev.c:4400) [ 55.388931][ C2] ? packet_parse_headers (./include/linux/skbuff.h:3028 net/packet/af_packet.c:1944) [ 55.389187][ C2] ? packet_parse_headers (./include/linux/skbuff.h:3028 net/packet/af_packet.c:1944) [ 55.389434][ C2] ? copy_page_from_iter (lib/iov_iter.c:424 lib/iov_iter.c:411) [ 55.389846][ C2] ? __pfx___dev_queue_xmit (net/core/dev.c:4281) [ 55.390101][ C2] packet_snd (net/packet/af_packet.c:3081) [ 55.390351][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 55.390598][ C2] ? __pfx_packet_snd (net/packet/af_packet.c:2944) [ 55.390853][ C2] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 55.391257][ C2] ? trace_raw_output_mmap_lock_acquire_returned (./include/trace/events/mmap_lock.h:52 (discriminator 2)) [ 55.391621][ C2] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 55.391879][ C2] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 55.392276][ C2] ? __pfx___sys_sendto (net/socket.c:2161) [ 55.392525][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 55.392784][ C2] ? sock_ioctl (net/socket.c:1344) [ 55.393018][ C2] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:316) [ 55.393501][ C2] ? __pfx_task_work_run (kernel/task_work.c:148) [ 55.393747][ C2] __x64_sys_sendto (net/socket.c:2199) [ 55.393996][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 55.394312][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 55.394714][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 55.395025][ C2] RIP: 0033:0x7f64e19ae85a [ 55.395289][ C2] 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 [ 55.396491][ C2] RSP: 002b:00007ffd89a77328 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 55.396942][ C2] RAX: ffffffffffffffda RBX: 000000002d9ee9d0 RCX: 00007f64e19ae85a [ 55.397468][ C2] RDX: 0000000000001f6a RSI: 000000002d9f28e2 RDI: 0000000000000005 [ 55.397838][ C2] RBP: 000000002d9f28e2 R08: 00007ffd89a77330 R09: 0000000000000014 [ 55.398224][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage