panic: receive 1a: so 0xfffffd806b702190, so_type 3, m 0xfffffd8068b46800, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *280751 85257 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823cf924) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b702190,0,ffff80001d6e51d8,0,0,ffff80001d6e50e4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8062df74b0,ffff80001d6e51d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9278,6,ffff80001d6e51d8,0,ffff80001d6e52c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9278,ffff80001d6e5270,ffff80001d6e52c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5340) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff2e10, 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 1a: so 0xfffffd806b702190, so_type 3, m 0xfffffd8068b46800, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823cf924) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b702190,0,ffff80001d6e51d8,0,0,ffff80001d6e50e4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8062df74b0,ffff80001d6e51d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9278,6,ffff80001d6e51d8,0,ffff80001d6e52c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9278,ffff80001d6e5270,ffff80001d6e52c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5340) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff2e10, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4f20 rbx 0xffff80001d6e4fd0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8228533f kprintf+0x15f r9 0x1 r10 0x2 r11 0xbd0a3be0c052c5de r12 0x3000000008 r13 0xffff80001d6e4f30 r14 0x100 r15 0x1 rip 0xffffffff81cfcf18 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4f10 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=280751 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa868,0xffff80001d6a9018 process=0xffff80001d6c4e90 user=0xffff80001d6e0000, vmspace=0xfffffd806bc09990 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 15768 400937 97881 0 2 0 syz-executor.0 15768 178707 97881 0 2 0x4000000 syz-executor.0 62413 484621 0 0 3 0x14280 nfsidl nfsio 1192 353851 0 0 3 0x14280 nfsidl nfsio 19120 263621 0 0 3 0x14280 nfsidl nfsio 76144 435547 0 0 3 0x14280 nfsidl nfsio 61924 114896 0 0 3 0x14280 nfsidl nfsio 59196 506283 0 0 3 0x14280 nfsidl nfsio 85676 171498 0 0 3 0x14280 nfsidl nfsio 68129 128742 0 0 3 0x14280 nfsidl nfsio 52811 448567 0 0 3 0x14280 nfsidl nfsio 36476 99019 0 0 3 0x14280 nfsidl nfsio 42804 112716 0 0 3 0x14280 nfsidl nfsio 69384 209621 0 0 3 0x14280 nfsidl nfsio 68590 297131 0 0 3 0x14280 nfsidl nfsio 77283 43903 0 0 3 0x14280 nfsidl nfsio 39751 451178 0 0 3 0x14280 nfsidl nfsio 72803 381017 0 0 3 0x14280 nfsidl nfsio 21829 177576 0 0 3 0x14280 nfsidl nfsio 88616 344550 0 0 3 0x14280 nfsidl nfsio 89775 254143 0 0 3 0x14280 nfsidl nfsio 95079 416058 0 0 3 0x14280 nfsidl nfsio 97881 196768 16753 0 3 0x82 nanosleep syz-executor.0 54439 99930 16753 0 2 0x2 syz-executor.1 16753 328440 5835 0 3 0x82 kqread syz-fuzzer 16753 315079 5835 0 3 0x4000082 thrsleep syz-fuzzer 16753 417853 5835 0 3 0x4000082 thrsleep syz-fuzzer 16753 81502 5835 0 3 0x4000082 thrsleep syz-fuzzer 16753 234724 5835 0 3 0x4000082 thrsleep syz-fuzzer 16753 263244 5835 0 3 0x4000082 thrsleep syz-fuzzer 16753 508860 5835 0 3 0x4000082 thrsleep syz-fuzzer 16753 258466 5835 0 3 0x4000082 thrsleep syz-fuzzer 5835 267145 16941 0 3 0x10008a pause ksh 16941 162730 33545 0 3 0x92 select sshd 91368 200753 1 0 3 0x100083 ttyin getty 33545 492742 1 0 3 0x80 select sshd 47726 23623 38796 73 3 0x100090 kqread syslogd 38796 403780 1 0 3 0x100082 netio syslogd 25793 87678 1 77 2 0x100010 dhclient *85257 280751 1 0 7 0 dhclient 27056 373765 0 0 3 0x14200 bored smr 29895 85021 0 0 2 0x14200 zerothread 51027 242703 0 0 3 0x14200 aiodoned aiodoned 5234 282991 0 0 3 0x14200 syncer update 83969 447657 0 0 3 0x14200 cleaner cleaner 42736 302190 0 0 3 0x14200 reaper reaper 64161 96770 0 0 3 0x14200 pgdaemon pagedaemon 1704 162409 0 0 3 0x14200 bored crynlk 90329 271199 0 0 3 0x14200 bored crypto 94388 44877 0 0 3 0x40014200 acpi0 acpi0 37457 442942 0 0 2 0x14200 softnet 85270 278914 0 0 3 0x14200 bored systqmp 34845 408251 0 0 3 0x14200 bored systq 18595 148419 0 0 3 0x40014200 bored softclock 42696 253815 0 0 3 0x40014200 idle0 1 415811 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 9467 6339K 6648K 78643K 10662 0 pcb 13 8K 8K 78643K 43 0 rtable 120 7K 8K 78643K 333 0 ifaddr 65 14K 14K 78643K 84 0 counters 22 16K 16K 78643K 24 0 ioctlops 0 0K 4K 78643K 43 0 iov 0 0K 16K 78643K 12 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1252 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 52 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 148 0 sigio 0 0K 0K 78643K 10 0 proc 49 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 1 0K 0K 78643K 16 0 in_multi 36 2K 2K 78643K 54 0 ether_multi 1 0K 0K 78643K 4 0 mrt 0 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 189 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 131 39K 64K 78643K 1236 0 UVM aobj 8 2K 2K 78643K 8 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 19 0 NDP 8 0K 0K 78643K 15 0 temp 85 3863K 3926K 78643K 2439 0 kqueue 3 4K 8K 78643K 5 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 6 0 0 1 0 1 1 0 8 0 rtpcb 80 99 0 97 1 0 1 1 0 8 0 rtentry 112 51 0 9 2 0 2 2 0 8 0 unpcb 120 105 0 97 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 610 0 610 1 1 0 1 0 8 0 tcpcb 544 42 0 38 1 0 1 1 0 8 0 inpcb 296 145 0 137 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 8 0 3 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 pfrktable 1344 24 0 15 1 0 1 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfrule 1360 10 0 4 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 227 0 40 13 0 13 13 0 8 0 art_table 32 228 0 40 2 0 2 2 0 8 0 art_node 16 50 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 2 1 0 1 1 0 8 0 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 112 48 0 38 1 0 1 1 0 8 0 shmpl 112 5 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1569 0 169 88 0 88 88 0 8 0 ffsino 240 1569 0 169 83 0 83 83 0 8 0 nchpl 144 1991 0 386 60 0 60 60 0 8 0 uvmvnodes 72 1631 0 0 30 0 30 30 0 8 0 vnodes 208 1631 0 0 86 0 86 86 0 8 0 namei 1024 5063 0 5062 2 1 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 2 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 10 0 4 1 0 1 1 0 8 0 scxspl 192 5931 0 5931 1 0 1 1 0 8 1 plimitpl 152 26 0 19 1 0 1 1 0 8 0 sigapl 424 354 0 306 6 0 6 6 0 8 0 futexpl 56 2524 0 2524 1 0 1 1 0 8 1 knotepl 112 63 0 44 1 0 1 1 0 8 0 kqueuepl 144 14 0 12 1 0 1 1 0 8 0 pipepl 272 94 0 84 1 0 1 1 0 8 0 fdescpl 432 320 0 306 2 0 2 2 0 8 0 filepl 120 1835 0 1738 4 0 4 4 0 8 1 lockfpl 104 36 0 34 1 0 1 1 0 8 0 lockfspl 48 15 0 13 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 154 0 147 1 0 1 1 0 8 0 zombiepl 144 306 0 306 2 1 1 1 0 8 1 processpl 928 354 0 306 7 0 7 7 0 8 0 procpl 624 503 0 447 5 0 5 5 0 8 0 sockpl 400 351 0 333 4 0 4 4 0 8 2 mcl64k 65536 3 0 3 1 0 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 2 1 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 5 0 5 1 0 1 1 0 8 1 mcl4k 4096 19 0 19 2 1 1 1 0 8 1 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 92781 0 92724 23 9 14 17 0 8 6 mtagpl 96 9 0 2 2 1 1 1 0 8 0 mbufpl 256 148070 0 147884 29 4 25 25 0 8 7 bufpl 280 3602 0 126 249 0 249 249 0 8 0 anonpl 16 51544 0 35968 71 1 70 70 0 107 6 amapchunkpl 152 2629 0 2488 20 0 20 20 0 158 14 amappl16 192 1418 0 541 45 0 45 45 0 8 1 amappl15 184 68 0 65 1 0 1 1 0 8 0 amappl14 176 24 0 19 1 0 1 1 0 8 0 amappl13 168 27 0 24 1 0 1 1 0 8 0 amappl12 160 68 0 61 1 0 1 1 0 8 0 amappl11 152 58 0 47 1 0 1 1 0 8 0 amappl10 144 75 0 71 1 0 1 1 0 8 0 amappl9 136 364 0 362 1 0 1 1 0 8 0 amappl8 128 329 0 283 2 0 2 2 0 8 0 amappl7 120 174 0 159 1 0 1 1 0 8 0 amappl6 112 27 0 21 1 0 1 1 0 8 0 amappl5 104 325 0 315 1 0 1 1 0 8 0 amappl4 96 419 0 393 1 0 1 1 0 8 0 amappl3 88 107 0 102 1 0 1 1 0 8 0 amappl2 80 1737 0 1672 2 0 2 2 0 8 0 amappl1 72 16185 0 15753 23 13 10 17 0 8 0 amappl 80 747 0 705 1 0 1 1 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 7 0 0 1 0 1 1 0 8 0 uaddrrnd 24 322 0 306 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 322 0 306 1 0 1 1 0 8 0 vmmpekpl 168 6165 0 6132 2 0 2 2 0 8 0 vmmpepl 168 46382 0 44381 120 8 112 113 0 357 25 vmsppl 272 321 0 306 2 0 2 2 0 8 0 pdppl 4096 650 0 614 6 1 5 6 0 8 0 pvpl 32 157412 0 138763 171 0 171 171 0 265 18 pmappl 200 321 0 306 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 269 0 18 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823cf924) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b702190,0,ffff80001d6e51d8,0,0,ffff80001d6e50e4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8062df74b0,ffff80001d6e51d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9278,6,ffff80001d6e51d8,0,ffff80001d6e52c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9278,ffff80001d6e5270,ffff80001d6e52c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5340) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff2e10, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823cf924) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b702190,0,ffff80001d6e51d8,0,0,ffff80001d6e50e4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8062df74b0,ffff80001d6e51d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9278,6,ffff80001d6e51d8,0,ffff80001d6e52c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9278,ffff80001d6e5270,ffff80001d6e52c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5340) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff2e10, count: -8