ononpanic: timeout_add: to_ticks (-1792678856) < 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *500608 57006 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(ffff8000149feec8,9525e438) at timeout_add+0x179 sys/kern/kern_timeout.c:190 msleep(ffff80000359a700,ffff80000359a708,11a,ffffffff81f56d13,9525e438) at msleep+0x18e sleep_setup_timeout sys/kern/kern_synch.c:330 [inline] msleep(ffff80000359a700,ffff80000359a708,11a,ffffffff81f56d13,9525e438) at msleep+0x18e sys/kern/kern_synch.c:210 bpfread(21700,ffff8000149f45b0,0) at bpfread+0x1ef sys/net/bpf.c:486 spec_read(ffff8000149f43f0) at spec_read+0xf5 sys/kern/spec_vnops.c:223 VOP_READ(fffffd802be799b8,ffff8000149f45b0,0,fffffd803f7c6c00) at VOP_READ+0x6f sys/kern/vfs_vops.c:247 vn_read(fffffd80307d32d0,ffff8000149f45b0,0) at vn_read+0x1c3 sys/kern/vfs_vnops.c:365 dofilereadv(ffff8000149fee28,3,ffff8000149f45b0,0,ffff8000149f4690) at dofilereadv+0x19f sys/kern/sys_generic.c:236 sys_read(ffff8000149fee28,ffff8000149f46a8,ffff8000149f4690) at sys_read+0x92 sys/kern/sys_generic.c:156 syscall(ffff8000149f4740) at syscall+0x541 Xsyscall(6,0,ffffffffffffffb9,0,3,c714d7e8010) at Xsyscall+0x128 end of kernel end trace frame: 0xc73cf45d7a0, 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 (-1792678856) < 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(ffff8000149feec8,9525e438) at timeout_add+0x179 sys/kern/kern_timeout.c:190 msleep(ffff80000359a700,ffff80000359a708,11a,ffffffff81f56d13,9525e438) at msleep+0x18e sleep_setup_timeout sys/kern/kern_synch.c:330 [inline] msleep(ffff80000359a700,ffff80000359a708,11a,ffffffff81f56d13,9525e438) at msleep+0x18e sys/kern/kern_synch.c:210 bpfread(21700,ffff8000149f45b0,0) at bpfread+0x1ef sys/net/bpf.c:486 spec_read(ffff8000149f43f0) at spec_read+0xf5 sys/kern/spec_vnops.c:223 VOP_READ(fffffd802be799b8,ffff8000149f45b0,0,fffffd803f7c6c00) at VOP_READ+0x6f sys/kern/vfs_vops.c:247 vn_read(fffffd80307d32d0,ffff8000149f45b0,0) at vn_read+0x1c3 sys/kern/vfs_vnops.c:365 dofilereadv(ffff8000149fee28,3,ffff8000149f45b0,0,ffff8000149f4690) at dofilereadv+0x19f sys/kern/sys_generic.c:236 sys_read(ffff8000149fee28,ffff8000149f46a8,ffff8000149f4690) at sys_read+0x92 sys/kern/sys_generic.c:156 syscall(ffff8000149f4740) at syscall+0x541 Xsyscall(6,0,ffffffffffffffb9,0,3,c714d7e8010) at Xsyscall+0x128 end of kernel end trace frame: 0xc73cf45d7a0, count: -12 ddb> show registers rdi 0xffffffff8185e037 db_enter+0x17 rsi 0x153c __ALIGN_SIZE+0x53c rbp 0xffff8000149f4110 rbx 0xffff8000149f41c0 rdx 0x153d __ALIGN_SIZE+0x53d rcx 0xffff80000093b000 rax 0xffff80000093b000 r8 0xffff8000149f40d0 r9 0x1 r10 0xffff800000936d00 r11 0x8e777ab2c8db7915 r12 0x3000000008 r13 0xffff8000149f4120 r14 0x100 r15 0x1 rip 0xffffffff8185e038 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000149f4100 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=500608 stat=onproc flags process=0 proc=4000000 pri=26, usrpri=74, nice=20 forw=0x0, list=0xffff8000149ffc38,0xffffffff822982a8 process=0xffff8000ffff6010 user=0xffff8000149ef000, vmspace=0xfffffd803f013a50 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 57006 163255 73038 0 2 0 syz-executor.0 *57006 500608 73038 0 7 0x4000000 bpf syz-executor.0 73038 378158 18485 0 3 0x82 nanosleep syz-executor.0 62166 306395 18485 0 3 0x2 biowait syz-executor.1 23213 398378 1 0 3 0x100083 ttyin getty 19012 251244 0 0 3 0x14200 bored sosplice 18485 229032 94373 0 3 0x82 thrsleep syz-fuzzer 18485 221768 94373 0 3 0x4000082 thrsleep syz-fuzzer 18485 275495 94373 0 3 0x4000082 thrsleep syz-fuzzer 18485 255728 94373 0 3 0x4000082 thrsleep syz-fuzzer 18485 6857 94373 0 3 0x4000082 thrsleep syz-fuzzer 18485 292040 94373 0 3 0x4000082 thrsleep syz-fuzzer 18485 400433 94373 0 3 0x4000082 thrsleep syz-fuzzer 18485 378759 94373 0 3 0x4000082 kqread syz-fuzzer 94373 420186 66899 0 3 0x10008a pause ksh 66899 243027 96496 0 3 0x92 select sshd 96496 392848 1 0 3 0x80 select sshd 11273 353810 55981 73 3 0x100090 kqread syslogd 55981 54796 1 0 3 0x100082 netio syslogd 20861 182594 1 77 3 0x100090 poll dhclient 31619 522028 1 0 3 0x80 poll dhclient 29833 102203 0 0 2 0x14200 zerothread 15605 62666 0 0 3 0x14200 aiodoned aiodoned 45756 390164 0 0 3 0x14200 syncer update 28010 371497 0 0 3 0x14200 cleaner cleaner 13548 396173 0 0 3 0x14200 reaper reaper 22792 155200 0 0 3 0x14200 pgdaemon pagedaemon 61255 183671 0 0 3 0x14200 bored crynlk 62476 501841 0 0 3 0x14200 bored crypto 81832 497755 0 0 3 0x40014200 acpi0 acpi0 65962 436781 0 0 3 0x14200 bored softnet 40044 368448 0 0 3 0x14200 bored systqmp 23327 12650 0 0 3 0x14200 bored systq 78063 354196 0 0 3 0x40014200 bored softclock 68970 140377 0 0 3 0x40014200 idle0 63840 19265 0 0 3 0x14200 bored smr 1 145357 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 9571 6429K 14561K 78643K 18888 0 0 pcb 23 9K 11K 78643K 5635 0 0 rtable 100 3K 3K 78643K 5093 0 0 ifaddr 77 22K 26K 78643K 1818 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 458 0 0 iov 0 0K 32K 78643K 1699 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1179 74K 76K 78643K 8704 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 183 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 0K 78643K 1563 0 0 dirhash 15 2K 2K 78643K 15 0 0 ACPI 1793 195K 288K 78643K 12537 0 0 file desc 5 13K 21K 78643K 11700 0 0 sigio 0 0K 0K 78643K 196 0 0 proc 42 30K 62K 78643K 3320 0 0 subproc 64 65538K 67586K 78643K 3146 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 1367 0 0 in_multi 33 2K 2K 78643K 1454 0 0 ether_multi 1 0K 0K 78643K 68 0 0 mrt 0 0K 0K 78643K 15 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 102 450K 450K 78643K 102 0 0 exec 0 0K 1K 78643K 1668 0 0 pfkey data 0 0K 0K 78643K 6 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 108 22K 31K 78643K 28489 0 0 UVM aobj 129 8K 8K 78643K 163 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 546 0 0 NDP 18 0K 1K 78643K 609 0 0 temp 212 2360K 2488K 78643K 40900 0 0 kqueue 0 0K 0K 78643K 123 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 94 0 90 1 0 1 1 0 8 0 inpcbpl 280 5425 0 5418 1 0 1 1 0 8 0 plimitpl 152 519 0 512 1 0 1 1 0 8 0 rtentry 112 851 0 811 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 6 0 6 1 1 0 1 0 8 0 tcpcb 544 1870 0 1866 1 0 1 1 0 8 0 nd6 48 184 0 180 1 0 1 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 266 0 266 58 57 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 4025 0 3834 16 4 12 13 0 8 0 art_table 32 4026 0 3834 2 0 2 2 0 8 0 art_node 16 850 0 816 1 0 1 1 0 8 0 sysvmsgpl 40 73 0 67 1 0 1 1 0 8 0 semapl 112 1557 0 1547 1 0 1 1 0 8 0 shmpl 112 161 0 34 4 0 4 4 0 8 0 dirhash 1024 19 0 0 3 0 3 3 0 8 0 dino1pl 128 20880 0 18974 62 0 62 62 0 8 0 ffsino 240 20880 0 18974 114 1 113 113 0 8 0 nchpl 144 37467 0 35520 74 1 73 73 0 8 0 uvmvnodes 72 7224 0 0 132 0 132 132 0 8 0 vnodes 200 7224 0 0 381 0 381 381 0 8 0 namei 1024 123649 0 123648 3 2 1 1 0 8 0 scsiplug 64 24 0 24 17 17 0 1 0 8 0 scxspl 192 150184 0 150183 65 64 1 6 0 8 0 sigapl 432 11606 0 11593 2 0 2 2 0 8 0 futexpl 56 188168 0 188168 2 1 1 1 0 8 1 knotepl 112 4083 0 4064 1 0 1 1 0 8 0 kqueuepl 104 3138 0 3136 1 0 1 1 0 8 0 pipepl 112 7668 0 7649 14 13 1 2 0 8 0 fdescpl 424 11607 0 11593 2 0 2 2 0 8 0 filepl 120 74300 0 74205 9 5 4 5 0 8 0 lockfpl 104 3049 0 3049 9 8 1 1 0 8 1 lockfspl 32 1814 0 1814 8 7 1 1 0 8 1 sessionpl 112 113 0 103 1 0 1 1 0 8 0 pgrppl 48 276 0 266 1 0 1 1 0 8 0 ucredpl 96 13852 0 13845 1 0 1 1 0 8 0 zombiepl 144 11593 0 11593 2 1 1 1 0 8 1 processpl 840 11622 0 11593 4 0 4 4 0 8 0 procpl 600 25616 0 25579 4 0 4 4 0 8 0 sosppl 128 122 0 122 38 38 0 1 0 8 0 sockpl 384 10272 0 10255 15 12 3 4 0 8 1 mcl64k 65536 3241 0 3241 302 301 1 65 0 8 1 mcl16k 16384 40 0 40 31 31 0 1 0 8 0 mcl12k 12288 215 0 215 45 44 1 1 0 8 1 mcl9k 9216 192 0 192 53 52 1 1 0 8 1 mcl8k 8192 170 0 170 51 50 1 1 0 8 1 mcl4k 4096 580 0 580 24 23 1 1 0 8 1 mcl2k2 2112 57 0 57 32 32 0 1 0 8 0 mcl2k 2048 65897 0 65855 27 21 6 11 0 8 0 mtagpl 80 9 0 9 5 5 0 1 0 8 0 mbufpl 256 180125 0 180053 207 200 7 44 0 8 0 bufpl 256 38438 0 31214 452 0 452 452 0 8 0 anonpl 16 1280585 0 1271381 428 386 42 70 0 62 0 amapchunkpl 152 50074 0 49979 85 80 5 14 0 158 0 amappl16 192 68254 0 67759 554 528 26 50 0 8 0 amappl15 184 2601 0 2596 1 0 1 1 0 8 0 amappl14 176 2158 0 2154 2 1 1 1 0 8 0 amappl13 168 1278 0 1274 1 0 1 1 0 8 0 amappl12 160 2078 0 2076 1 0 1 1 0 8 0 amappl11 152 2650 0 2638 1 0 1 1 0 8 0 amappl10 144 2646 0 2646 16 16 0 1 0 8 0 amappl9 136 2735 0 2730 1 0 1 1 0 8 0 amappl8 128 2302 0 2263 6 4 2 2 0 8 0 amappl7 120 1804 0 1798 1 0 1 1 0 8 0 amappl6 112 1959 0 1943 1 0 1 1 0 8 0 amappl5 104 1718 0 1708 1 0 1 1 0 8 0 amappl4 96 10378 0 10354 1 0 1 1 0 8 0 amappl3 88 3230 0 3224 1 0 1 1 0 8 0 amappl2 80 101995 0 101943 2 0 2 2 0 8 0 amappl1 72 214637 0 214222 23 13 10 19 0 8 0 amappl 72 26520 0 26485 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 162 0 34 3 0 3 3 0 8 0 uaddrrnd 24 11607 0 11593 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 11607 0 11593 1 0 1 1 0 8 0 vmmpekpl 168 76770 0 76748 2 0 2 2 0 8 0 vmmpepl 168 1240730 0 1239275 480 406 74 91 0 357 0 vmsppl 264 11606 0 11593 13 12 1 2 0 8 0 pdppl 4096 23220 0 23186 5 0 5 5 0 8 0 pvpl 32 3706955 0 3694549 896 787 109 226 0 265 1 pmappl 200 11606 0 11593 1 0 1 1 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 1239 0 635 23 4 19 19 0 8 0