login: !`‹#'š?s!`‹#'š?spanic: timeout_add: to_ticks (-600) < 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 8057 22011 0 0 0x4000000 0 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:208 timeout_add(ffff8000149cc7c8,fffffda8) at timeout_add+0x179 sys/kern/kern_timeout.c:190 msleep(ffff80000298c600,ffff80000298c608,11a,ffffffff81f56d13,fffffda8) at msleep+0x18e sleep_setup_timeout sys/kern/kern_synch.c:330 [inline] msleep(ffff80000298c600,ffff80000298c608,11a,ffffffff81f56d13,fffffda8) at msleep+0x18e sys/kern/kern_synch.c:210 bpfread(21700,ffff800014a282a0,0) at bpfread+0x1ef sys/net/bpf.c:486 spec_read(ffff800014a280e0) at spec_read+0xf5 sys/kern/spec_vnops.c:223 VOP_READ(fffffd802eeee580,ffff800014a282a0,0,fffffd803f7c6ae0) at VOP_READ+0x6f sys/kern/vfs_vops.c:247 vn_read(fffffd803e74ead0,ffff800014a282a0,0) at vn_read+0x1c3 sys/kern/vfs_vnops.c:365 dofilereadv(ffff8000149cc728,3,ffff800014a282a0,0,ffff800014a28380) at dofilereadv+0x19f sys/kern/sys_generic.c:236 sys_read(ffff8000149cc728,ffff800014a28398,ffff800014a28380) at sys_read+0x92 sys/kern/sys_generic.c:156 syscall(ffff800014a28430) at syscall+0x541 Xsyscall(6,0,ffffffffffffffb9,0,3,7ec9ecfd010) at Xsyscall+0x128 end of kernel end trace frame: 0x7eee47419a0, 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic timeout_add: to_ticks (-600) < 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:208 timeout_add(ffff8000149cc7c8,fffffda8) at timeout_add+0x179 sys/kern/kern_timeout.c:190 msleep(ffff80000298c600,ffff80000298c608,11a,ffffffff81f56d13,fffffda8) at msleep+0x18e sleep_setup_timeout sys/kern/kern_synch.c:330 [inline] msleep(ffff80000298c600,ffff80000298c608,11a,ffffffff81f56d13,fffffda8) at msleep+0x18e sys/kern/kern_synch.c:210 bpfread(21700,ffff800014a282a0,0) at bpfread+0x1ef sys/net/bpf.c:486 spec_read(ffff800014a280e0) at spec_read+0xf5 sys/kern/spec_vnops.c:223 VOP_READ(fffffd802eeee580,ffff800014a282a0,0,fffffd803f7c6ae0) at VOP_READ+0x6f sys/kern/vfs_vops.c:247 vn_read(fffffd803e74ead0,ffff800014a282a0,0) at vn_read+0x1c3 sys/kern/vfs_vnops.c:365 dofilereadv(ffff8000149cc728,3,ffff800014a282a0,0,ffff800014a28380) at dofilereadv+0x19f sys/kern/sys_generic.c:236 sys_read(ffff8000149cc728,ffff800014a28398,ffff800014a28380) at sys_read+0x92 sys/kern/sys_generic.c:156 syscall(ffff800014a28430) at syscall+0x541 Xsyscall(6,0,ffffffffffffffb9,0,3,7ec9ecfd010) at Xsyscall+0x128 end of kernel end trace frame: 0x7eee47419a0, count: -12 ddb> show registers rdi 0xffffffff8185e037 db_enter+0x17 rsi 0x132a __ALIGN_SIZE+0x32a rbp 0xffff800014a27e00 rbx 0xffff800014a27eb0 rdx 0x132b __ALIGN_SIZE+0x32b rcx 0xffff800000b3b000 rax 0xffff800000b3b000 r8 0xffff800014a27dc0 r9 0x1 r10 0xffff800000936980 r11 0x4235eee716a67137 r12 0x3000000008 r13 0xffff800014a27e10 r14 0x100 r15 0x1 rip 0xffffffff8185e038 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800014a27df0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=8057 stat=onproc flags process=0 proc=4000000 pri=26, usrpri=54, nice=20 forw=0x0, list=0xffff8000149cc980,0xffffffff822982a8 process=0xffff8000ffff66a0 user=0xffff800014a23000, vmspace=0xfffffd803f013108 estcpu=20, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 22011 129930 67179 0 2 0 syz-executor.0 *22011 8057 67179 0 7 0x4000000 bpf syz-executor.0 90101 150868 36876 0 2 0 syz-executor.1 90101 239775 36876 0 3 0x4000080 fsleep syz-executor.1 90101 282326 36876 0 3 0x4000000 biowait syz-executor.1 90101 316452 36876 0 3 0x4000000 inode syz-executor.1 90101 358557 36876 0 3 0x4000080 fsleep syz-executor.1 90101 349725 36876 0 3 0x4000080 fsleep syz-executor.1 67179 443929 47799 0 3 0x82 nanosleep syz-executor.0 36876 158171 47799 0 3 0x82 nanosleep syz-executor.1 21699 389301 1 0 3 0x100083 ttyin getty 85235 151162 0 0 3 0x14200 bored sosplice 47799 307953 49117 0 3 0x82 thrsleep syz-fuzzer 47799 452795 49117 0 3 0x4000082 thrsleep syz-fuzzer 47799 464186 49117 0 3 0x4000082 thrsleep syz-fuzzer 47799 327861 49117 0 3 0x4000082 thrsleep syz-fuzzer 47799 190162 49117 0 3 0x4000082 thrsleep syz-fuzzer 47799 77015 49117 0 3 0x4000082 kqread syz-fuzzer 47799 109407 49117 0 3 0x4000082 thrsleep syz-fuzzer 47799 5429 49117 0 3 0x4000082 thrsleep syz-fuzzer 47799 251598 49117 0 3 0x4000082 thrsleep syz-fuzzer 49117 496749 9554 0 3 0x10008a pause ksh 9554 496230 17749 0 3 0x92 select sshd 17749 224287 1 0 3 0x80 select sshd 80529 181380 41732 73 3 0x100090 kqread syslogd 41732 262322 1 0 3 0x100082 netio syslogd 28534 54051 1 77 3 0x100090 poll dhclient 57203 442865 1 0 3 0x80 poll dhclient 88679 204052 0 0 2 0x14200 zerothread 47952 324691 0 0 3 0x14200 aiodoned aiodoned 17172 186937 0 0 3 0x14200 syncer update 7279 491463 0 0 3 0x14200 cleaner cleaner 55007 465652 0 0 3 0x14200 reaper reaper 68219 139043 0 0 3 0x14200 pgdaemon pagedaemon 57466 137167 0 0 3 0x14200 bored crynlk 11548 147061 0 0 3 0x14200 bored crypto 4760 407089 0 0 3 0x40014200 acpi0 acpi0 90489 23983 0 0 3 0x14200 bored softnet 81914 412873 0 0 3 0x14200 bored systqmp 78562 118224 0 0 3 0x14200 bored systq 17243 458799 0 0 3 0x40014200 bored softclock 44198 126527 0 0 3 0x40014200 idle0 33536 223463 0 0 3 0x14200 bored smr 1 128711 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9532 6416K 6610K 78643K 12833 0 0 pcb 23 9K 10K 78643K 1760 0 0 rtable 103 4K 4K 78643K 1629 0 0 ifaddr 65 17K 19K 78643K 585 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 86 0 0 iov 1 12K 28K 78643K 505 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1204 75K 76K 78643K 3164 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 54 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 1K 1K 78643K 384 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12537 0 0 file desc 6 17K 21K 78643K 3403 0 0 sigio 0 0K 0K 78643K 54 0 0 proc 42 30K 54K 78643K 1224 0 0 subproc 64 65538K 67586K 78643K 943 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 471 0 0 in_multi 33 2K 2K 78643K 430 0 0 ether_multi 1 0K 0K 78643K 16 0 0 mrt 0 0K 0K 78643K 11 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 96 424K 424K 78643K 96 0 0 exec 0 0K 1K 78643K 629 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 106 21K 39K 78643K 9110 0 0 UVM aobj 130 8K 8K 78643K 146 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 1K 78643K 262 0 0 NDP 14 0K 0K 78643K 191 0 0 temp 184 2359K 2430K 78643K 13990 0 0 kqueue 0 0K 0K 78643K 27 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 29 0 25 1 0 1 1 0 8 0 inpcbpl 280 1871 0 1864 1 0 1 1 0 8 0 plimitpl 152 146 0 139 1 0 1 1 0 8 0 rtentry 112 266 0 226 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 651 0 647 1 0 1 1 0 8 0 nd6 48 54 0 50 1 0 1 1 0 8 0 ppxss 1128 76 0 76 16 15 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1251 0 1063 12 0 12 12 0 8 0 art_table 32 1252 0 1063 2 0 2 2 0 8 0 art_node 16 265 0 231 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 380 0 370 1 0 1 1 0 8 0 shmpl 112 144 0 16 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 6965 0 5423 50 0 50 50 0 8 0 ffsino 240 6965 0 5423 92 1 91 91 0 8 0 nchpl 144 12042 0 10342 67 3 64 64 0 8 0 uvmvnodes 72 6863 0 0 125 0 125 125 0 8 0 vnodes 200 6863 0 0 362 0 362 362 0 8 0 namei 1024 39488 0 39487 3 2 1 1 0 8 0 scsiplug 64 2 0 2 2 2 0 1 0 8 0 scxspl 192 47785 0 47784 28 27 1 6 0 8 0 sigapl 432 3502 0 3488 2 0 2 2 0 8 0 futexpl 56 58011 0 58008 3 2 1 1 0 8 0 knotepl 112 1269 0 1250 1 0 1 1 0 8 0 kqueuepl 104 954 0 952 1 0 1 1 0 8 0 pipepl 112 2230 0 2209 4 3 1 2 0 8 0 fdescpl 424 3503 0 3488 2 0 2 2 0 8 0 filepl 120 23148 0 23046 6 2 4 5 0 8 0 lockfpl 104 924 0 922 8 7 1 1 0 8 0 lockfspl 32 433 0 432 7 6 1 1 0 8 0 sessionpl 112 46 0 36 1 0 1 1 0 8 0 pgrppl 48 88 0 78 1 0 1 1 0 8 0 ucredpl 96 4305 0 4298 1 0 1 1 0 8 0 zombiepl 144 3488 0 3488 2 1 1 1 0 8 1 processpl 840 3518 0 3488 4 0 4 4 0 8 0 procpl 600 7854 0 7810 5 1 4 4 0 8 0 sosppl 128 63 0 63 18 18 0 1 0 8 0 sockpl 384 3366 0 3349 7 4 3 3 0 8 1 mcl64k 65536 1560 0 1560 193 140 53 65 0 8 53 mcl16k 16384 7 0 7 7 6 1 1 0 8 1 mcl12k 12288 80 0 80 20 19 1 1 0 8 1 mcl9k 9216 63 0 63 20 20 0 1 0 8 0 mcl8k 8192 50 0 50 19 18 1 1 0 8 1 mcl4k 4096 198 0 198 10 9 1 1 0 8 1 mcl2k2 2112 27 0 27 17 17 0 1 0 8 0 mcl2k 2048 54367 0 54329 13 7 6 10 0 8 0 mtagpl 80 4 0 4 2 2 0 1 0 8 0 mbufpl 256 109586 0 109490 111 103 8 37 0 8 1 bufpl 256 16541 0 9673 430 0 430 430 0 8 0 anonpl 16 419648 0 411826 222 168 54 56 0 62 14 amapchunkpl 152 16991 0 16896 80 75 5 14 0 158 0 amappl16 192 21003 0 20473 185 151 34 40 0 8 7 amappl15 184 809 0 803 1 0 1 1 0 8 0 amappl14 176 375 0 370 2 1 1 1 0 8 0 amappl13 168 565 0 561 1 0 1 1 0 8 0 amappl12 160 392 0 389 2 1 1 1 0 8 0 amappl11 152 1206 0 1193 1 0 1 1 0 8 0 amappl10 144 666 0 664 2 1 1 1 0 8 0 amappl9 136 807 0 804 1 0 1 1 0 8 0 amappl8 128 412 0 376 3 1 2 2 0 8 0 amappl7 120 686 0 680 1 0 1 1 0 8 0 amappl6 112 934 0 924 1 0 1 1 0 8 0 amappl5 104 583 0 572 1 0 1 1 0 8 0 amappl4 96 3518 0 3491 1 0 1 1 0 8 0 amappl3 88 564 0 554 1 0 1 1 0 8 0 amappl2 80 30588 0 30530 2 0 2 2 0 8 0 amappl1 72 72253 0 71815 24 15 9 19 0 8 0 amappl 72 8286 0 8247 1 0 1 1 0 75 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma64 64 259 0 259 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 17 0 17 1 1 0 1 0 8 0 aobjpl 64 145 0 16 3 0 3 3 0 8 0 uaddrrnd 24 3503 0 3488 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3503 0 3488 1 0 1 1 0 8 0 vmmpekpl 168 26799 0 26779 2 0 2 2 0 8 0 vmmpepl 168 378888 0 377301 245 157 88 88 0 357 15 vmsppl 264 3502 0 3488 3 2 1 2 0 8 0 pdppl 4096 7012 0 6976 5 0 5 5 0 8 0 pvpl 32 1298945 0 1287434 506 319 187 247 0 265 83 pmappl 200 3502 0 3488 1 0 1 1 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 902 0 288 19 0 19 19 0 8 0