login: panic: timeout_add: to_ticks (-25800) < 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *160086 9734 0 0 0 1K syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x174 sys/kern/subr_prf.c:208 timeout_add(ffff800020b155c0,ffff9b38) at timeout_add+0x194 sys/kern/kern_timeout.c:190 msleep(ffff80000091d200,ffff80000091d208,11a,ffffffff81f93f9b,ffff9b38) at msleep+0xdd sys/kern/kern_synch.c:210 bpfread(31700,ffff800020c0d7c0,0) at bpfread+0x23f sys/net/bpf.c:486 spec_read(ffff800020c0d600) at spec_read+0xfd sys/kern/spec_vnops.c:223 VOP_READ(fffffd807679ce30,ffff800020c0d7c0,0,fffffd807f7c6960) at VOP_READ+0x6f sys/kern/vfs_vops.c:247 vn_read(fffffd806d05fd20,ffff800020c0d7c0,0) at vn_read+0x1c3 sys/kern/vfs_vnops.c:365 dofilereadv(ffff800020b15520,3,ffff800020c0d7c0,0,ffff800020c0d8a0) at dofilereadv+0x19f sys/kern/sys_generic.c:236 sys_read(ffff800020b15520,ffff800020c0d8b8,ffff800020c0d8a0) at sys_read+0x92 sys/kern/sys_generic.c:156 syscall(ffff800020c0d950) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020c0d950) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffb9,0,3,a7b65ad2010) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc65a0, count: 3 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic timeout_add: to_ticks (-25800) < 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x174 sys/kern/subr_prf.c:208 timeout_add(ffff800020b155c0,ffff9b38) at timeout_add+0x194 sys/kern/kern_timeout.c:190 msleep(ffff80000091d200,ffff80000091d208,11a,ffffffff81f93f9b,ffff9b38) at msleep+0xdd sys/kern/kern_synch.c:210 bpfread(31700,ffff800020c0d7c0,0) at bpfread+0x23f sys/net/bpf.c:486 spec_read(ffff800020c0d600) at spec_read+0xfd sys/kern/spec_vnops.c:223 VOP_READ(fffffd807679ce30,ffff800020c0d7c0,0,fffffd807f7c6960) at VOP_READ+0x6f sys/kern/vfs_vops.c:247 vn_read(fffffd806d05fd20,ffff800020c0d7c0,0) at vn_read+0x1c3 sys/kern/vfs_vnops.c:365 dofilereadv(ffff800020b15520,3,ffff800020c0d7c0,0,ffff800020c0d8a0) at dofilereadv+0x19f sys/kern/sys_generic.c:236 sys_read(ffff800020b15520,ffff800020c0d8b8,ffff800020c0d8a0) at sys_read+0x92 sys/kern/sys_generic.c:156 syscall(ffff800020c0d950) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020c0d950) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffb9,0,3,a7b65ad2010) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc65a0, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020c0d320 rbx 0xffff800020c0d3d0 rdx 0xffffffff81f8bb72 apollo_pio_rec+0x9b0d rcx 0x201 rax 0x1 r8 0xffffffff8106e1a3 kprintf+0x183 r9 0x1 r10 0xd822626df23014b r11 0x4d9fc780bc062410 r12 0x3000000008 r13 0xffff800020c0d330 r14 0x100 r15 0x1 rip 0xffffffff819c3ce8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020c0d310 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=160086 stat=onproc flags process=0 proc=0 pri=26, usrpri=50, nice=20 forw=0x0, list=0xffff800020b14008,0xffffffff823811f0 process=0xffff800020b8c360 user=0xffff800020c08000, vmspace=0xfffffd807effe000 estcpu=6, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND * 9734 160086 78602 0 7 0 bpf syz-executor.0 78602 132165 3450 0 3 0x82 nanosleep syz-executor.0 3450 229489 88235 0 3 0x82 thrsleep syz-execprog 3450 338348 88235 0 3 0x4000082 nanosleep syz-execprog 3450 322931 88235 0 3 0x4000082 thrsleep syz-execprog 3450 56668 88235 0 3 0x4000082 thrsleep syz-execprog 3450 87466 88235 0 3 0x4000082 thrsleep syz-execprog 3450 286166 88235 0 3 0x4000082 thrsleep syz-execprog 3450 57424 88235 0 3 0x4000082 thrsleep syz-execprog 3450 519762 88235 0 3 0x4000082 kqread syz-execprog 3450 211571 88235 0 3 0x4000082 thrsleep syz-execprog 88235 415421 56985 0 3 0x10008a pause ksh 56985 191285 2138 0 3 0x92 select sshd 32620 43296 1 0 3 0x100083 ttyin getty 2138 200700 1 0 3 0x80 select sshd 14618 316035 10853 74 3 0x100092 bpf pflogd 10853 367407 1 0 3 0x80 netio pflogd 93385 413995 11175 73 3 0x100090 kqread syslogd 11175 67304 1 0 3 0x100082 netio syslogd 47445 469061 1 77 3 0x100090 poll dhclient 88021 288898 1 0 3 0x80 poll dhclient 22986 441439 0 0 3 0x14200 pgzero zerothread 77484 389438 0 0 3 0x14200 aiodoned aiodoned 54725 339118 0 0 3 0x14200 syncer update 17160 324899 0 0 3 0x14200 cleaner cleaner 94135 199034 0 0 3 0x14200 reaper reaper 4818 220258 0 0 3 0x14200 pgdaemon pagedaemon 98559 67909 0 0 3 0x14200 bored crynlk 99068 364041 0 0 3 0x14200 bored crypto 62676 492306 0 0 3 0x40014200 acpi0 acpi0 80747 260152 0 0 3 0x40014200 idle1 23265 50289 0 0 3 0x14200 bored softnet 71495 23076 0 0 3 0x14200 bored systqmp 99197 156399 0 0 3 0x14200 bored systq 7593 281951 0 0 3 0x40014200 bored softclock 62124 248282 0 0 7 0x40014200 idle0 72063 480103 0 0 3 0x14200 bored smr 1 407306 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}>