FAULT_INJECTION: forcing a failure.
name fail_usercopy, interval 1, probability 0, space 0, times 0
======================================================
WARNING: possible circular locking dependency detected
syzkaller #0 Not tainted
------------------------------------------------------
syz.1.1677/11837 is trying to acquire lock:
ffffffff8e4cea40 (console_owner){-.-.}-{0:0}, at: console_lock_spinning_enable+0x9f/0xd0 kernel/printk/printk.c:1924
but task is already holding lock:
ffff88802b23a458 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:644 [inline]
ffff88802b23a458 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:629
which lock already depends on the new lock.
the existing dependency chain (in reverse order) is:
-> #4 (&rq->__lock){-.-.}-{2:2}:
_raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378
raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:636
raw_spin_rq_lock kernel/sched/sched.h:1519 [inline]
task_rq_lock+0xcf/0x490 kernel/sched/core.c:736
cgroup_move_task+0x81/0x2a0 kernel/sched/psi.c:1170
css_set_move_task+0x288/0x5f0 kernel/cgroup/cgroup.c:941
cgroup_post_fork+0x201/0x9e0 kernel/cgroup/cgroup.c:6789
copy_process+0x5cfa/0x7690 kernel/fork.c:2419
kernel_clone+0xfc/0x930 kernel/fork.c:2605
user_mode_thread+0xc7/0x110 kernel/fork.c:2683
rest_init+0x23/0x2b0 init/main.c:709
start_kernel+0x3ee/0x4d0 init/main.c:1097
x86_64_start_reservations+0x18/0x30 arch/x86/kernel/head64.c:307
x86_64_start_kernel+0x130/0x190 arch/x86/kernel/head64.c:288
common_startup_64+0x13e/0x148
-> #3 (&p->pi_lock){-.-.}-{2:2}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162
class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:557 [inline]
try_to_wake_up+0xb7/0x1870 kernel/sched/core.c:4216
__wake_up_common+0x135/0x1f0 kernel/sched/wait.c:108
__wake_up_common_lock kernel/sched/wait.c:125 [inline]
__wake_up+0x31/0x60 kernel/sched/wait.c:146
tty_port_default_wakeup+0x2a/0x40 drivers/tty/tty_port.c:69
serial8250_tx_chars+0x68e/0x860 drivers/tty/serial/8250/8250_port.c:1728
serial8250_handle_irq+0x761/0xcb0 drivers/tty/serial/8250/8250_port.c:1836
serial8250_default_handle_irq+0x9a/0x250 drivers/tty/serial/8250/8250_port.c:1856
serial8250_interrupt+0xf5/0x1b0 drivers/tty/serial/8250/8250_core.c:82
__handle_irq_event_percpu+0x22c/0x7d0 kernel/irq/handle.c:158
handle_irq_event_percpu kernel/irq/handle.c:193 [inline]
handle_irq_event+0xab/0x1e0 kernel/irq/handle.c:210
handle_edge_irq+0x3ca/0x9e0 kernel/irq/chip.c:855
generic_handle_irq_desc include/linux/irqdesc.h:173 [inline]
handle_irq arch/x86/kernel/irq.c:254 [inline]
call_irq_handler arch/x86/kernel/irq.c:310 [inline]
__common_interrupt+0xcd/0x2f0 arch/x86/kernel/irq.c:325
common_interrupt+0xba/0xe0 arch/x86/kernel/irq.c:318
asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693
native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline]
pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:81
arch_safe_halt arch/x86/include/asm/paravirt.h:107 [inline]
default_idle+0x13/0x20 arch/x86/kernel/process.c:757
default_idle_call+0x6d/0xb0 kernel/sched/idle.c:122
cpuidle_idle_call kernel/sched/idle.c:190 [inline]
do_idle+0x391/0x510 kernel/sched/idle.c:330
cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:428
start_secondary+0x21d/0x2b0 arch/x86/kernel/smpboot.c:315
common_startup_64+0x13e/0x148
-> #2 (&tty->write_wait){-...}-{3:3}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162
__wake_up_common_lock kernel/sched/wait.c:124 [inline]
__wake_up+0x1c/0x60 kernel/sched/wait.c:146
tty_port_default_wakeup+0x2a/0x40 drivers/tty/tty_port.c:69
serial8250_tx_chars+0x68e/0x860 drivers/tty/serial/8250/8250_port.c:1728
__start_tx+0x3df/0x490 drivers/tty/serial/8250/8250_port.c:1433
serial8250_start_tx+0x368/0x530 drivers/tty/serial/8250/8250_port.c:1543
__uart_start+0x295/0x500 drivers/tty/serial/serial_core.c:161
uart_write+0x218/0xb30 drivers/tty/serial/serial_core.c:636
process_output_block drivers/tty/n_tty.c:561 [inline]
n_tty_write+0x41c/0x11e0 drivers/tty/n_tty.c:2377
iterate_tty_write drivers/tty/tty_io.c:1006 [inline]
file_tty_write.constprop.0+0x504/0x9b0 drivers/tty/tty_io.c:1081
tty_write drivers/tty/tty_io.c:1102 [inline]
redirected_tty_write drivers/tty/tty_io.c:1125 [inline]
redirected_tty_write+0xd4/0x150 drivers/tty/tty_io.c:1105
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x7d3/0x11d0 fs/read_write.c:686
ksys_write+0x12a/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
-> #1 (&port_lock_key){-.-.}-{3:3}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162
uart_port_lock_irqsave include/linux/serial_core.h:717 [inline]
serial8250_console_write+0x181/0x1890 drivers/tty/serial/8250/8250_port.c:3355
console_emit_next_record kernel/printk/printk.c:3138 [inline]
console_flush_all+0x801/0xc60 kernel/printk/printk.c:3226
__console_flush_and_unlock kernel/printk/printk.c:3285 [inline]
console_unlock+0xd8/0x210 kernel/printk/printk.c:3325
vprintk_emit+0x418/0x6d0 kernel/printk/printk.c:2450
_printk+0xc7/0x100 kernel/printk/printk.c:2475
register_console+0xc2d/0x11b0 kernel/printk/printk.c:4126
univ8250_console_init+0x5f/0x90 drivers/tty/serial/8250/8250_core.c:516
console_init+0x14f/0x680 kernel/printk/printk.c:4325
start_kernel+0x29f/0x4d0 init/main.c:1035
x86_64_start_reservations+0x18/0x30 arch/x86/kernel/head64.c:307
x86_64_start_kernel+0x130/0x190 arch/x86/kernel/head64.c:288
common_startup_64+0x13e/0x148
-> #0 (console_owner){-.-.}-{0:0}:
check_prev_add kernel/locking/lockdep.c:3165 [inline]
check_prevs_add kernel/locking/lockdep.c:3284 [inline]
validate_chain kernel/locking/lockdep.c:3908 [inline]
__lock_acquire+0x12a6/0x1ce0 kernel/locking/lockdep.c:5237
lock_acquire kernel/locking/lockdep.c:5868 [inline]
lock_acquire+0x179/0x350 kernel/locking/lockdep.c:5825
console_lock_spinning_enable+0xb0/0xd0 kernel/printk/printk.c:1924
console_emit_next_record kernel/printk/printk.c:3132 [inline]
console_flush_all+0x7aa/0xc60 kernel/printk/printk.c:3226
__console_flush_and_unlock kernel/printk/printk.c:3285 [inline]
console_unlock+0xd8/0x210 kernel/printk/printk.c:3325
vprintk_emit+0x418/0x6d0 kernel/printk/printk.c:2450
_printk+0xc7/0x100 kernel/printk/printk.c:2475
fail_dump lib/fault-inject.c:66 [inline]
should_fail_ex+0x4e7/0x640 lib/fault-inject.c:174
strncpy_from_user+0x3b/0x2e0 lib/strncpy_from_user.c:118
strncpy_from_user_nofault+0x7f/0x180 mm/maccess.c:192
bpf_probe_read_user_str_common kernel/trace/bpf_trace.c:215 [inline]
____bpf_probe_read_user_str kernel/trace/bpf_trace.c:224 [inline]
bpf_probe_read_user_str+0x26/0x70 kernel/trace/bpf_trace.c:221
bpf_prog_bc7c5c6b9645592f+0x3e/0x44
bpf_dispatcher_nop_func include/linux/bpf.h:1332 [inline]
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run include/linux/filter.h:725 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:2257 [inline]
bpf_trace_run4+0x252/0x5b0 kernel/trace/bpf_trace.c:2300
__bpf_trace_sched_switch+0x145/0x190 include/trace/events/sched.h:220
__traceiter_sched_switch+0x6f/0xc0 include/trace/events/sched.h:220
__do_trace_sched_switch include/trace/events/sched.h:220 [inline]
trace_sched_switch include/trace/events/sched.h:220 [inline]
__schedule+0x183b/0x5de0 kernel/sched/core.c:6958
preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7288
irqentry_exit+0x36/0x90 kernel/entry/common.c:197
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
io_nop+0x80/0x450 io_uring/nop.c:52
__io_issue_sqe+0xe5/0x7c0 io_uring/io_uring.c:1771
io_issue_sqe+0x86/0xe50 io_uring/io_uring.c:1794
io_queue_sqe io_uring/io_uring.c:2023 [inline]
io_submit_sqe io_uring/io_uring.c:2283 [inline]
io_submit_sqes+0x94b/0x25c0 io_uring/io_uring.c:2396
__do_sys_io_uring_enter+0xd6a/0x1630 io_uring/io_uring.c:3463
do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline]
__do_fast_syscall_32+0x7c/0x300 arch/x86/entry/syscall_32.c:306
do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331
entry_SYSENTER_compat_after_hwframe+0x84/0x8e
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 ***
5 locks held by syz.1.1677/11837:
#0: ffff8880502f80a8 (&ctx->uring_lock){+.+.}-{4:4}, at: __do_sys_io_uring_enter+0xd5f/0x1630 io_uring/io_uring.c:3462
#1: ffff88802b23a458 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:644 [inline]
#1: ffff88802b23a458 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:629
#2: ffffffff8e5c1420 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#2: ffffffff8e5c1420 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#2: ffffffff8e5c1420 (rcu_read_lock){....}-{1:3}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2256 [inline]
#2: ffffffff8e5c1420 (rcu_read_lock){....}-{1:3}, at: bpf_trace_run4+0x1d5/0x5b0 kernel/trace/bpf_trace.c:2300
#3: ffffffff8e5aee80 (console_lock){+.+.}-{0:0}, at: _printk+0xc7/0x100 kernel/printk/printk.c:2475
#4: ffffffff8e5aeef0 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:336 [inline]
#4: ffffffff8e5aeef0 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:319 [inline]
#4: ffffffff8e5aeef0 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:288 [inline]
#4: ffffffff8e5aeef0 (console_srcu){....}-{0:0}, at: console_flush_all+0x158/0xc60 kernel/printk/printk.c:3203
stack backtrace:
CPU: 1 UID: 0 PID: 11837 Comm: syz.1.1677 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_circular_bug+0x275/0x350 kernel/locking/lockdep.c:2043
check_noncircular+0x14c/0x170 kernel/locking/lockdep.c:2175
check_prev_add kernel/locking/lockdep.c:3165 [inline]
check_prevs_add kernel/locking/lockdep.c:3284 [inline]
validate_chain kernel/locking/lockdep.c:3908 [inline]
__lock_acquire+0x12a6/0x1ce0 kernel/locking/lockdep.c:5237
lock_acquire kernel/locking/lockdep.c:5868 [inline]
lock_acquire+0x179/0x350 kernel/locking/lockdep.c:5825
console_lock_spinning_enable+0xb0/0xd0 kernel/printk/printk.c:1924
console_emit_next_record kernel/printk/printk.c:3132 [inline]
console_flush_all+0x7aa/0xc60 kernel/printk/printk.c:3226
__console_flush_and_unlock kernel/printk/printk.c:3285 [inline]
console_unlock+0xd8/0x210 kernel/printk/printk.c:3325
vprintk_emit+0x418/0x6d0 kernel/printk/printk.c:2450
_printk+0xc7/0x100 kernel/printk/printk.c:2475
fail_dump lib/fault-inject.c:66 [inline]
should_fail_ex+0x4e7/0x640 lib/fault-inject.c:174
strncpy_from_user+0x3b/0x2e0 lib/strncpy_from_user.c:118
strncpy_from_user_nofault+0x7f/0x180 mm/maccess.c:192
bpf_probe_read_user_str_common kernel/trace/bpf_trace.c:215 [inline]
____bpf_probe_read_user_str kernel/trace/bpf_trace.c:224 [inline]
bpf_probe_read_user_str+0x26/0x70 kernel/trace/bpf_trace.c:221
bpf_prog_bc7c5c6b9645592f+0x3e/0x44
bpf_dispatcher_nop_func include/linux/bpf.h:1332 [inline]
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run include/linux/filter.h:725 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:2257 [inline]
bpf_trace_run4+0x252/0x5b0 kernel/trace/bpf_trace.c:2300
__bpf_trace_sched_switch+0x145/0x190 include/trace/events/sched.h:220
__traceiter_sched_switch+0x6f/0xc0 include/trace/events/sched.h:220
__do_trace_sched_switch include/trace/events/sched.h:220 [inline]
trace_sched_switch include/trace/events/sched.h:220 [inline]
__schedule+0x183b/0x5de0 kernel/sched/core.c:6958
preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7288
irqentry_exit+0x36/0x90 kernel/entry/common.c:197
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:io_nop+0x80/0x450 io_uring/nop.c:52
Code: 89 f2 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 02 03 00 00 8b 6b 10 31 ff 41 89 ec 41 83 e4 02 44 89 e6 e8 60 38 e1 fc <45> 85 e4 0f 84 da 00 00 00 e8 12 3d e1 fc 48 8d 7b 0c 83 e5 04 48
RSP: 0018:ffffc90025bf7bf8 EFLAGS: 00000293
RAX: 0000000000000000 RBX: ffff888013281b80 RCX: ffffffff84d9cd00
RDX: ffff888021ba2440 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff888013281b88 R14: ffff888013281b90 R15: 0000000000000000
__io_issue_sqe+0xe5/0x7c0 io_uring/io_uring.c:1771
io_issue_sqe+0x86/0xe50 io_uring/io_uring.c:1794
io_queue_sqe io_uring/io_uring.c:2023 [inline]
io_submit_sqe io_uring/io_uring.c:2283 [inline]
io_submit_sqes+0x94b/0x25c0 io_uring/io_uring.c:2396
__do_sys_io_uring_enter+0xd6a/0x1630 io_uring/io_uring.c:3463
do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline]
__do_fast_syscall_32+0x7c/0x300 arch/x86/entry/syscall_32.c:306
do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331
entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf70ee579
Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f54de55c EFLAGS: 00000296 ORIG_RAX: 00000000000001aa
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000000047bc
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
CPU: 1 UID: 0 PID: 11837 Comm: syz.1.1677 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
fail_dump lib/fault-inject.c:73 [inline]
should_fail_ex+0x512/0x640 lib/fault-inject.c:174
strncpy_from_user+0x3b/0x2e0 lib/strncpy_from_user.c:118
strncpy_from_user_nofault+0x7f/0x180 mm/maccess.c:192
bpf_probe_read_user_str_common kernel/trace/bpf_trace.c:215 [inline]
____bpf_probe_read_user_str kernel/trace/bpf_trace.c:224 [inline]
bpf_probe_read_user_str+0x26/0x70 kernel/trace/bpf_trace.c:221
bpf_prog_bc7c5c6b9645592f+0x3e/0x44
bpf_dispatcher_nop_func include/linux/bpf.h:1332 [inline]
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run include/linux/filter.h:725 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:2257 [inline]
bpf_trace_run4+0x252/0x5b0 kernel/trace/bpf_trace.c:2300
__bpf_trace_sched_switch+0x145/0x190 include/trace/events/sched.h:220
__traceiter_sched_switch+0x6f/0xc0 include/trace/events/sched.h:220
__do_trace_sched_switch include/trace/events/sched.h:220 [inline]
trace_sched_switch include/trace/events/sched.h:220 [inline]
__schedule+0x183b/0x5de0 kernel/sched/core.c:6958
preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7288
irqentry_exit+0x36/0x90 kernel/entry/common.c:197
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:io_nop+0x80/0x450 io_uring/nop.c:52
Code: 89 f2 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 02 03 00 00 8b 6b 10 31 ff 41 89 ec 41 83 e4 02 44 89 e6 e8 60 38 e1 fc <45> 85 e4 0f 84 da 00 00 00 e8 12 3d e1 fc 48 8d 7b 0c 83 e5 04 48
RSP: 0018:ffffc90025bf7bf8 EFLAGS: 00000293
RAX: 0000000000000000 RBX: ffff888013281b80 RCX: ffffffff84d9cd00
RDX: ffff888021ba2440 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff888013281b88 R14: ffff888013281b90 R15: 0000000000000000
__io_issue_sqe+0xe5/0x7c0 io_uring/io_uring.c:1771
io_issue_sqe+0x86/0xe50 io_uring/io_uring.c:1794
io_queue_sqe io_uring/io_uring.c:2023 [inline]
io_submit_sqe io_uring/io_uring.c:2283 [inline]
io_submit_sqes+0x94b/0x25c0 io_uring/io_uring.c:2396
__do_sys_io_uring_enter+0xd6a/0x1630 io_uring/io_uring.c:3463
do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline]
__do_fast_syscall_32+0x7c/0x300 arch/x86/entry/syscall_32.c:306
do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331
entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf70ee579
Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f54de55c EFLAGS: 00000296 ORIG_RAX: 00000000000001aa
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000000047bc
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
----------------
Code disassembly (best guess):
0: 89 f2 mov %esi,%edx
2: 48 c1 ea 03 shr $0x3,%rdx
6: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax
a: 84 c0 test %al,%al
c: 74 08 je 0x16
e: 3c 03 cmp $0x3,%al
10: 0f 8e 02 03 00 00 jle 0x318
16: 8b 6b 10 mov 0x10(%rbx),%ebp
19: 31 ff xor %edi,%edi
1b: 41 89 ec mov %ebp,%r12d
1e: 41 83 e4 02 and $0x2,%r12d
22: 44 89 e6 mov %r12d,%esi
25: e8 60 38 e1 fc call 0xfce1388a
* 2a: 45 85 e4 test %r12d,%r12d <-- trapping instruction
2d: 0f 84 da 00 00 00 je 0x10d
33: e8 12 3d e1 fc call 0xfce13d4a
38: 48 8d 7b 0c lea 0xc(%rbx),%rdi
3c: 83 e5 04 and $0x4,%ebp
3f: 48 rex.W