panic: receive 1: so 0xfffffd805e4d5300, so_type 3, sb_cc 1410 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *164908 65273 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821a3874) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e4d5300,0,ffff80001d37e9f8,0,0,ffff80001d37e904) at soreceive+0x16ac sys/kern/uipc_socket.c:812 soo_read(fffffd8062ffe708,ffff80001d37e9f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff9150,6,ffff80001d37e9f8,0,ffff80001d37eae0) at dofilereadv+0x1a2 sys/kern/sys_generic.c:236 sys_read(ffff8000ffff9150,ffff80001d37ea90,ffff80001d37eae0) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d37eb60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff9860, count: 7 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 receive 1: so 0xfffffd805e4d5300, so_type 3, sb_cc 1410 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821a3874) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e4d5300,0,ffff80001d37e9f8,0,0,ffff80001d37e904) at soreceive+0x16ac sys/kern/uipc_socket.c:812 soo_read(fffffd8062ffe708,ffff80001d37e9f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff9150,6,ffff80001d37e9f8,0,ffff80001d37eae0) at dofilereadv+0x1a2 sys/kern/sys_generic.c:236 sys_read(ffff8000ffff9150,ffff80001d37ea90,ffff80001d37eae0) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d37eb60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff9860, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d37e740 rbx 0xffff80001d37e7f0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d37e700 r9 0x1 r10 0 r11 0x5ade3ae451531ea0 r12 0x3000000008 r13 0xffff80001d37e750 r14 0x100 r15 0x1 rip 0xffffffff816dde08 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d37e730 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=164908 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8280,0xffff8000ffff9650 process=0xffff8000ffff6d90 user=0xffff80001d379000, vmspace=0xfffffd806bc09330 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 15965 276476 65548 0 2 0 syz-executor.0 15965 111988 65548 0 2 0x4000000 syz-executor.0 36773 255391 0 0 3 0x14200 acct acct 42263 86657 0 0 3 0x14200 bored sosplice 65548 390661 92812 0 3 0x82 nanosleep syz-executor.0 51132 100646 92812 0 3 0x82 nanosleep syz-executor.1 92812 421399 80191 0 3 0x82 thrsleep syz-fuzzer 92812 76789 80191 0 3 0x4000082 thrsleep syz-fuzzer 92812 481484 80191 0 3 0x4000082 thrsleep syz-fuzzer 92812 306767 80191 0 3 0x4000082 thrsleep syz-fuzzer 92812 297115 80191 0 3 0x4000082 thrsleep syz-fuzzer 92812 492450 80191 0 3 0x4000082 kqread syz-fuzzer 92812 209365 80191 0 3 0x4000082 thrsleep syz-fuzzer 80191 186132 64320 0 3 0x10008a pause ksh 64320 394831 69878 0 3 0x92 select sshd 49366 205316 1 0 3 0x100083 ttyin getty 69878 442011 1 0 3 0x80 select sshd 88338 488709 90929 73 3 0x100090 kqread syslogd 90929 410545 1 0 3 0x100082 netio syslogd 33774 467376 1 77 2 0x100010 dhclient *65273 164908 1 0 7 0 dhclient 25615 361057 0 0 2 0x14200 zerothread 92513 418163 0 0 3 0x14200 aiodoned aiodoned 20835 486861 0 0 3 0x14200 syncer update 45582 63670 0 0 3 0x14200 cleaner cleaner 87934 6484 0 0 3 0x14200 reaper reaper 5536 483420 0 0 3 0x14200 pgdaemon pagedaemon 80081 166193 0 0 3 0x14200 bored crynlk 97551 230416 0 0 3 0x14200 bored crypto 86031 79916 0 0 3 0x40014200 acpi0 acpi0 95015 446467 0 0 2 0x14200 softnet 95288 379039 0 0 3 0x14200 bored systqmp 6261 520862 0 0 3 0x14200 bored systq 15961 374908 0 0 3 0x40014200 bored softclock 43610 427465 0 0 3 0x40014200 idle0 75213 141974 0 0 3 0x14200 bored smr 1 320358 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 devbuf 9524 6487K 6854K 78643K 11160 0 pcb 13 8K 8K 78643K 57 0 rtable 111 4K 4K 78643K 309 0 ifaddr 92 18K 18K 78643K 123 0 counters 19 16K 16K 78643K 19 0 ioctlops 0 0K 2K 78643K 29 0 iov 0 0K 16K 78643K 60 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1410 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 0K 0K 78643K 2 0 sem 11 1K 1K 78643K 19 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 272 0 sigio 0 0K 0K 78643K 3 0 proc 50 38K 63K 78643K 382 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 20 0 in_multi 75 3K 3K 78643K 113 0 ether_multi 1 0K 0K 78643K 6 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 218 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 106 21K 37K 78643K 1505 0 UVM aobj 15 2K 2K 78643K 17 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 32 0 NDP 14 0K 0K 78643K 25 0 temp 118 3005K 3068K 78643K 8439 0 kqueue 3 4K 12K 78643K 44 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 8 0 1 1 0 1 1 0 8 0 rtpcb 80 69 0 67 1 0 1 1 0 8 0 rtentry 112 71 0 27 2 0 2 2 0 8 0 unpcb 120 423 0 415 2 1 1 2 0 8 0 syncache 264 7 0 7 3 2 1 1 0 8 1 tcpqe 32 267 0 267 1 1 0 1 0 8 0 tcpcb 544 377 0 371 4 2 2 3 0 8 1 ipq 40 4 0 4 2 2 0 1 0 8 0 ipqe 40 52 0 52 2 2 0 1 0 8 0 inpcb 280 569 0 562 3 1 2 3 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 8 0 6 1 0 1 1 0 8 0 ppxss 1128 2 0 1 2 1 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 362 0 160 17 2 15 17 0 8 0 art_table 32 364 0 160 3 0 3 3 0 8 0 art_node 16 69 0 27 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 11 0 2 1 0 1 1 0 8 0 shmpl 112 15 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1800 0 400 46 0 46 46 0 8 0 ffsino 240 1800 0 400 83 0 83 83 0 8 0 nchpl 144 2419 0 819 60 0 60 60 0 8 0 uvmvnodes 72 1979 0 0 36 0 36 36 0 8 0 vnodes 208 1979 0 0 105 0 105 105 0 8 0 namei 1024 6555 0 6555 1 0 1 1 0 8 1 vmpool 528 6 0 6 2 1 1 1 0 8 1 scxspl 192 6673 0 6673 1 0 1 1 0 8 1 plimitpl 152 40 0 33 1 0 1 1 0 8 0 sigapl 432 443 0 430 2 0 2 2 0 8 0 futexpl 56 7797 0 7797 1 0 1 1 0 8 1 knotepl 112 110 0 91 1 0 1 1 0 8 0 kqueuepl 104 234 0 232 1 0 1 1 0 8 0 pipelkpl 16 117 0 107 1 0 1 1 0 8 0 pipepl 120 234 0 215 1 0 1 1 0 8 0 fdescpl 432 444 0 430 2 0 2 2 0 8 0 filepl 120 3624 0 3528 6 2 4 5 0 8 1 lockfpl 104 89 0 88 1 0 1 1 0 8 0 lockfspl 48 40 0 39 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 49 0 39 1 0 1 1 0 8 0 ucredpl 96 392 0 385 1 0 1 1 0 8 0 zombiepl 144 430 0 429 1 0 1 1 0 8 0 processpl 864 460 0 429 4 0 4 4 0 8 0 procpl 632 789 0 751 5 1 4 5 0 8 0 sosppl 128 3 0 3 2 2 0 1 0 8 0 sockpl 384 1061 0 1044 7 3 4 7 0 8 2 mcl64k 65536 291 0 291 32 3 29 32 0 8 29 mcl16k 16384 3 0 3 3 2 1 1 0 8 1 mcl12k 12288 10 0 10 2 1 1 1 0 8 1 mcl9k 9216 4 0 4 1 1 0 1 0 8 0 mcl8k 8192 8 0 8 1 1 0 1 0 8 0 mcl4k 4096 40 0 40 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 60609 0 60549 17 9 8 16 0 8 0 mtagpl 80 17 0 2 2 1 1 1 0 8 0 mbufpl 256 99278 0 99099 34 8 26 33 0 8 8 bufpl 280 6694 0 1326 384 0 384 384 0 8 0 anonpl 16 64978 0 49706 81 3 78 79 0 107 15 amapchunkpl 152 2036 0 1896 12 1 11 11 0 158 5 amappl16 192 2774 0 1948 59 9 50 54 0 8 8 amappl15 184 50 0 46 1 0 1 1 0 8 0 amappl14 176 155 0 151 1 0 1 1 0 8 0 amappl12 160 114 0 112 2 1 1 1 0 8 0 amappl11 152 46 0 34 1 0 1 1 0 8 0 amappl10 144 17 0 14 1 0 1 1 0 8 0 amappl9 136 204 0 201 1 0 1 1 0 8 0 amappl8 128 108 0 89 1 0 1 1 0 8 0 amappl7 120 90 0 79 1 0 1 1 0 8 0 amappl6 112 53 0 48 1 0 1 1 0 8 0 amappl5 104 959 0 949 1 0 1 1 0 8 0 amappl4 96 658 0 631 1 0 1 1 0 8 0 amappl3 88 133 0 126 1 0 1 1 0 8 0 amappl2 80 2778 0 2710 3 1 2 3 0 8 0 amappl1 72 17527 0 17101 26 16 10 20 0 8 0 amappl 80 1023 0 980 3 2 1 2 0 84 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 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 64 16 0 2 1 0 1 1 0 8 0 uaddrrnd 24 450 0 436 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 450 0 436 1 0 1 1 0 8 0 vmmpekpl 168 6820 0 6798 2 0 2 2 0 8 0 vmmpepl 168 61496 0 59579 116 12 104 110 0 357 15 vmsppl 272 449 0 436 4 2 2 2 0 8 1 pdppl 4096 906 0 872 6 1 5 6 0 8 0 pvpl 32 188555 0 170280 189 4 185 189 0 265 34 pmappl 200 449 0 436 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 211 0 33 6 0 6 6 0 8 0