FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 0 ====================================================== WARNING: possible circular locking dependency detected 6.1.112-syzkaller #0 Not tainted ------------------------------------------------------ syz.2.1781/10031 is trying to acquire lock: ffffffff8d31f4c0 (console_owner){-.-.}-{0:0}, at: console_lock_spinning_enable kernel/printk/printk.c:1818 [inline] ffffffff8d31f4c0 (console_owner){-.-.}-{0:0}, at: console_emit_next_record+0xa9c/0x1000 kernel/printk/printk.c:2774 but task is already holding lock: ffff8880b8e3a9d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #4 (&rq->__lock){-.-.}-{2:2}: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 _raw_spin_lock_nested+0x2d/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 raw_spin_rq_lock kernel/sched/sched.h:1355 [inline] rq_lock kernel/sched/sched.h:1645 [inline] task_fork_fair+0x5d/0x350 kernel/sched/fair.c:11877 sched_cgroup_fork+0x374/0x400 kernel/sched/core.c:4682 copy_process+0x2442/0x4060 kernel/fork.c:2384 kernel_clone+0x222/0x920 kernel/fork.c:2682 user_mode_thread+0x12e/0x190 kernel/fork.c:2758 rest_init+0x23/0x300 init/main.c:698 start_kernel+0x0/0x53f init/main.c:893 start_kernel+0x496/0x53f init/main.c:1140 secondary_startup_64_no_verify+0xcf/0xdb -> #3 (&p->pi_lock){-.-.}-{2:2}: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 try_to_wake_up+0xad/0x12e0 kernel/sched/core.c:4108 __wake_up_common+0x2a0/0x4e0 kernel/sched/wait.c:107 __wake_up_common_lock kernel/sched/wait.c:138 [inline] __wake_up+0x11a/0x1c0 kernel/sched/wait.c:160 tty_port_default_wakeup+0xa2/0xf0 drivers/tty/tty_port.c:71 serial8250_tx_chars+0x60d/0x800 drivers/tty/serial/8250/8250_port.c:1854 serial8250_handle_irq+0x4ff/0x6a0 drivers/tty/serial/8250/8250_port.c:1961 serial8250_default_handle_irq+0xc8/0x1e0 drivers/tty/serial/8250/8250_port.c:1981 serial8250_interrupt+0xa1/0x1e0 drivers/tty/serial/8250/8250_core.c:126 __handle_irq_event_percpu+0x2a8/0xb20 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x85/0x1e0 kernel/irq/handle.c:210 handle_edge_irq+0x245/0xbf0 kernel/irq/chip.c:819 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq arch/x86/kernel/irq.c:231 [inline] __common_interrupt+0xd7/0x1f0 arch/x86/kernel/irq.c:250 common_interrupt+0x9f/0xc0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:644 unwind_next_frame+0x571/0x2220 arch/x86/kernel/unwind_orc.c:461 __unwind_start+0x59d/0x720 arch/x86/kernel/unwind_orc.c:717 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xdb/0x140 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 save_stack+0xf6/0x1e0 mm/page_owner.c:127 __set_page_owner+0x26/0x390 mm/page_owner.c:190 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x18d/0x1b0 mm/page_alloc.c:2517 prep_new_page mm/page_alloc.c:2524 [inline] get_page_from_freelist+0x322e/0x33b0 mm/page_alloc.c:4290 __alloc_pages+0x28d/0x770 mm/page_alloc.c:5558 __folio_alloc+0xf/0x30 mm/page_alloc.c:5590 vma_alloc_folio+0x486/0x990 mm/mempolicy.c:2243 alloc_page_vma include/linux/gfp.h:284 [inline] do_anonymous_page mm/memory.c:4189 [inline] handle_pte_fault mm/memory.c:5027 [inline] __handle_mm_fault mm/memory.c:5171 [inline] handle_mm_fault+0x2e8e/0x5340 mm/memory.c:5292 do_user_addr_fault arch/x86/mm/fault.c:1340 [inline] handle_page_fault arch/x86/mm/fault.c:1431 [inline] exc_page_fault+0x26f/0x620 arch/x86/mm/fault.c:1487 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570 -> #2 (&tty->write_wait){-.-.}-{2:2}: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 __wake_up_common_lock kernel/sched/wait.c:137 [inline] __wake_up+0xfd/0x1c0 kernel/sched/wait.c:160 tty_port_default_wakeup+0xa2/0xf0 drivers/tty/tty_port.c:71 serial8250_tx_chars+0x60d/0x800 drivers/tty/serial/8250/8250_port.c:1854 serial8250_handle_irq+0x4ff/0x6a0 drivers/tty/serial/8250/8250_port.c:1961 serial8250_default_handle_irq+0xc8/0x1e0 drivers/tty/serial/8250/8250_port.c:1981 serial8250_interrupt+0xa1/0x1e0 drivers/tty/serial/8250/8250_core.c:126 __handle_irq_event_percpu+0x2a8/0xb20 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x85/0x1e0 kernel/irq/handle.c:210 handle_edge_irq+0x245/0xbf0 kernel/irq/chip.c:819 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq arch/x86/kernel/irq.c:231 [inline] __common_interrupt+0xd7/0x1f0 arch/x86/kernel/irq.c:250 common_interrupt+0x9f/0xc0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:644 native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] acpi_safe_halt drivers/acpi/processor_idle.c:111 [inline] acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:567 acpi_idle_enter+0x352/0x4f0 drivers/acpi/processor_idle.c:704 cpuidle_enter_state+0x516/0xf80 drivers/cpuidle/cpuidle.c:239 cpuidle_enter+0x59/0x90 drivers/cpuidle/cpuidle.c:356 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x3ce/0x680 kernel/sched/idle.c:303 cpu_startup_entry+0x3d/0x60 kernel/sched/idle.c:401 start_secondary+0xe4/0xf0 arch/x86/kernel/smpboot.c:281 secondary_startup_64_no_verify+0xcf/0xdb -> #1 (&port_lock_key){-.-.}-{2:2}: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 serial8250_console_write+0x19d/0x1750 drivers/tty/serial/8250/8250_port.c:3404 call_console_driver kernel/printk/printk.c:1977 [inline] console_emit_next_record+0xbb4/0x1000 kernel/printk/printk.c:2777 console_unlock+0x278/0x7c0 kernel/printk/printk.c:2906 vprintk_emit+0x523/0x740 kernel/printk/printk.c:2303 _printk+0xd1/0x111 kernel/printk/printk.c:2328 register_console+0x6b9/0x9a0 kernel/printk/printk.c:3269 univ8250_console_init+0x41/0x43 drivers/tty/serial/8250/8250_core.c:687 console_init+0x1d6/0x7f3 kernel/printk/printk.c:3359 start_kernel+0x30b/0x53f init/main.c:1076 secondary_startup_64_no_verify+0xcf/0xdb -> #0 (console_owner){-.-.}-{0:0}: check_prev_add kernel/locking/lockdep.c:3090 [inline] check_prevs_add kernel/locking/lockdep.c:3209 [inline] validate_chain+0x1661/0x5950 kernel/locking/lockdep.c:3825 __lock_acquire+0x125b/0x1f80 kernel/locking/lockdep.c:5049 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 console_lock_spinning_enable kernel/printk/printk.c:1818 [inline] console_emit_next_record+0xabd/0x1000 kernel/printk/printk.c:2774 console_unlock+0x278/0x7c0 kernel/printk/printk.c:2906 vprintk_emit+0x523/0x740 kernel/printk/printk.c:2303 _printk+0xd1/0x111 kernel/printk/printk.c:2328 fail_dump lib/fault-inject.c:45 [inline] should_fail_ex+0x387/0x4d0 lib/fault-inject.c:147 __copy_to_user_inatomic include/linux/uaccess.h:101 [inline] copy_to_user_nofault+0xd9/0x1c0 mm/maccess.c:149 bpf_prog_42b0bc03b33f5c41+0x3f/0x45 bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2273 [inline] bpf_trace_run4+0x253/0x470 kernel/trace/bpf_trace.c:2314 __traceiter_sched_switch+0x91/0xc0 include/trace/events/sched.h:222 trace_sched_switch include/trace/events/sched.h:222 [inline] __schedule+0x2128/0x4570 kernel/sched/core.c:6555 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 check_kcov_mode kernel/kcov.c:182 [inline] write_comp_data kernel/kcov.c:245 [inline] __sanitizer_cov_trace_const_cmp4+0x2a/0x80 kernel/kcov.c:313 ____bpf_skb_pull_data net/core/filter.c:1852 [inline] bpf_skb_pull_data+0x28/0x250 net/core/filter.c:1841 bpf_prog_d5d590646ea8caea+0x57/0x5c bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run include/linux/filter.h:610 [inline] bpf_test_run+0x40f/0x8b0 net/bpf/test_run.c:402 bpf_prog_test_run_skb+0xaf1/0x13a0 net/bpf/test_run.c:1186 bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3685 __sys_bpf+0x3eb/0x6c0 kernel/bpf/syscall.c:5038 __do_sys_bpf kernel/bpf/syscall.c:5124 [inline] __se_sys_bpf kernel/bpf/syscall.c:5122 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5122 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 other info that might help us debug this: Chain exists of: console_owner --> &p->pi_lock --> &rq->__lock Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&rq->__lock); lock(&p->pi_lock); lock(&rq->__lock); lock(console_owner); *** DEADLOCK *** 4 locks held by syz.2.1781/10031: #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: bpf_test_timer_enter+0x19/0x140 net/bpf/test_run.c:36 #1: ffff8880b8e3a9d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 #2: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #2: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #2: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2272 [inline] #2: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run4+0x16a/0x470 kernel/trace/bpf_trace.c:2314 #3: ffffffff8d207220 (console_lock){+.+.}-{0:0}, at: _printk+0xd1/0x111 kernel/printk/printk.c:2328 stack backtrace: CPU: 0 PID: 10031 Comm: syz.2.1781 Not tainted 6.1.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 check_noncircular+0x2fa/0x3b0 kernel/locking/lockdep.c:2170 check_prev_add kernel/locking/lockdep.c:3090 [inline] check_prevs_add kernel/locking/lockdep.c:3209 [inline] validate_chain+0x1661/0x5950 kernel/locking/lockdep.c:3825 __lock_acquire+0x125b/0x1f80 kernel/locking/lockdep.c:5049 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 console_lock_spinning_enable kernel/printk/printk.c:1818 [inline] console_emit_next_record+0xabd/0x1000 kernel/printk/printk.c:2774 console_unlock+0x278/0x7c0 kernel/printk/printk.c:2906 vprintk_emit+0x523/0x740 kernel/printk/printk.c:2303 _printk+0xd1/0x111 kernel/printk/printk.c:2328 fail_dump lib/fault-inject.c:45 [inline] should_fail_ex+0x387/0x4d0 lib/fault-inject.c:147 __copy_to_user_inatomic include/linux/uaccess.h:101 [inline] copy_to_user_nofault+0xd9/0x1c0 mm/maccess.c:149 bpf_prog_42b0bc03b33f5c41+0x3f/0x45 bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2273 [inline] bpf_trace_run4+0x253/0x470 kernel/trace/bpf_trace.c:2314 __traceiter_sched_switch+0x91/0xc0 include/trace/events/sched.h:222 trace_sched_switch include/trace/events/sched.h:222 [inline] __schedule+0x2128/0x4570 kernel/sched/core.c:6555 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline] RIP: 0010:write_comp_data kernel/kcov.c:245 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x2a/0x80 kernel/kcov.c:313 Code: 4c 8b 04 24 65 48 8b 15 94 bc 77 7e 65 8b 05 95 bc 77 7e 25 00 01 ff 00 74 10 3d 00 01 00 00 75 5b 83 ba 1c 16 00 00 00 74 52 <8b> 82 f8 15 00 00 83 f8 03 75 47 48 8b 8a 00 16 00 00 44 8b 8a fc RSP: 0018:ffffc9000378f768 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888079dabb80 RDX: ffff888079dabb80 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000378f9b0 R08: ffffffff88a46768 R09: ffffed100f3b5771 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffc900038a3030 R14: 0000000000000000 R15: ffff88805f5c5140 ____bpf_skb_pull_data net/core/filter.c:1852 [inline] bpf_skb_pull_data+0x28/0x250 net/core/filter.c:1841 bpf_prog_d5d590646ea8caea+0x57/0x5c bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run include/linux/filter.h:610 [inline] bpf_test_run+0x40f/0x8b0 net/bpf/test_run.c:402 bpf_prog_test_run_skb+0xaf1/0x13a0 net/bpf/test_run.c:1186 bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3685 __sys_bpf+0x3eb/0x6c0 kernel/bpf/syscall.c:5038 __do_sys_bpf kernel/bpf/syscall.c:5124 [inline] __se_sys_bpf kernel/bpf/syscall.c:5122 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5122 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f31a157dff9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f31a22b7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f31a1735f80 RCX: 00007f31a157dff9 RDX: 0000000000000048 RSI: 0000000020000340 RDI: 000000000000000a RBP: 00007f31a22b7090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f31a1735f80 R15: 00007ffc63a75228 CPU: 0 PID: 10031 Comm: syz.2.1781 Not tainted 6.1.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 fail_dump lib/fault-inject.c:52 [inline] should_fail_ex+0x3a6/0x4d0 lib/fault-inject.c:147 __copy_to_user_inatomic include/linux/uaccess.h:101 [inline] copy_to_user_nofault+0xd9/0x1c0 mm/maccess.c:149 bpf_prog_42b0bc03b33f5c41+0x3f/0x45 bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2273 [inline] bpf_trace_run4+0x253/0x470 kernel/trace/bpf_trace.c:2314 __traceiter_sched_switch+0x91/0xc0 include/trace/events/sched.h:222 trace_sched_switch include/trace/events/sched.h:222 [inline] __schedule+0x2128/0x4570 kernel/sched/core.c:6555 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline] RIP: 0010:write_comp_data kernel/kcov.c:245 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x2a/0x80 kernel/kcov.c:313 Code: 4c 8b 04 24 65 48 8b 15 94 bc 77 7e 65 8b 05 95 bc 77 7e 25 00 01 ff 00 74 10 3d 00 01 00 00 75 5b 83 ba 1c 16 00 00 00 74 52 <8b> 82 f8 15 00 00 83 f8 03 75 47 48 8b 8a 00 16 00 00 44 8b 8a fc RSP: 0018:ffffc9000378f768 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888079dabb80 RDX: ffff888079dabb80 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000378f9b0 R08: ffffffff88a46768 R09: ffffed100f3b5771 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffc900038a3030 R14: 0000000000000000 R15: ffff88805f5c5140 ____bpf_skb_pull_data net/core/filter.c:1852 [inline] bpf_skb_pull_data+0x28/0x250 net/core/filter.c:1841 bpf_prog_d5d590646ea8caea+0x57/0x5c bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run include/linux/filter.h:610 [inline] bpf_test_run+0x40f/0x8b0 net/bpf/test_run.c:402 bpf_prog_test_run_skb+0xaf1/0x13a0 net/bpf/test_run.c:1186 bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3685 __sys_bpf+0x3eb/0x6c0 kernel/bpf/syscall.c:5038 __do_sys_bpf kernel/bpf/syscall.c:5124 [inline] __se_sys_bpf kernel/bpf/syscall.c:5122 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5122 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f31a157dff9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f31a22b7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f31a1735f80 RCX: 00007f31a157dff9 RDX: 0000000000000048 RSI: 0000000020000340 RDI: 000000000000000a RBP: 00007f31a22b7090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f31a1735f80 R15: 00007ffc63a75228 ---------------- Code disassembly (best guess): 0: 4c 8b 04 24 mov (%rsp),%r8 4: 65 48 8b 15 94 bc 77 mov %gs:0x7e77bc94(%rip),%rdx # 0x7e77bca0 b: 7e c: 65 8b 05 95 bc 77 7e mov %gs:0x7e77bc95(%rip),%eax # 0x7e77bca8 13: 25 00 01 ff 00 and $0xff0100,%eax 18: 74 10 je 0x2a 1a: 3d 00 01 00 00 cmp $0x100,%eax 1f: 75 5b jne 0x7c 21: 83 ba 1c 16 00 00 00 cmpl $0x0,0x161c(%rdx) 28: 74 52 je 0x7c * 2a: 8b 82 f8 15 00 00 mov 0x15f8(%rdx),%eax <-- trapping instruction 30: 83 f8 03 cmp $0x3,%eax 33: 75 47 jne 0x7c 35: 48 8b 8a 00 16 00 00 mov 0x1600(%rdx),%rcx 3c: 44 rex.R 3d: 8b .byte 0x8b 3e: 8a fc mov %ah,%bh