panic: receive 1a: so 0xfffffd805e4f34b0, so_type 3, m 0xfffffd8058820b00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *340722 10525 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823cfe5b) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e4f34b0,0,ffff80001d6e5bf8,0,0,ffff80001d6e5b04) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80657f7078,ffff80001d6e5bf8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e5bf8,0,ffff80001d6e5ce0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e5c90,ffff80001d6e5ce0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5d60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd8620, 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 0xfffffd805e4f34b0, so_type 3, m 0xfffffd8058820b00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823cfe5b) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e4f34b0,0,ffff80001d6e5bf8,0,0,ffff80001d6e5b04) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80657f7078,ffff80001d6e5bf8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e5bf8,0,ffff80001d6e5ce0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e5c90,ffff80001d6e5ce0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5d60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd8620, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e5940 rbx 0xffff80001d6e59f0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8138bf7f kprintf+0x15f r9 0x1 r10 0x2 r11 0x99328b6dc2c30086 r12 0x3000000008 r13 0xffff80001d6e5950 r14 0x100 r15 0x1 rip 0xffffffff813ac878 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e5930 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=340722 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa388,0xffff80001d6a9c48 process=0xffff80001d6c4af0 user=0xffff80001d6e0000, vmspace=0xfffffd806bc09000 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 1586 154948 29530 0 2 0 syz-executor.1 1586 487946 29530 0 2 0x4000000 syz-executor.1 34329 510153 1 0 3 0x100083 ttyin getty 29530 286834 65971 0 3 0x82 nanosleep syz-executor.1 36253 167545 0 0 3 0x14200 bored sosplice 53467 415161 0 0 3 0x14200 acct acct 32489 480489 65971 0 3 0x82 nanosleep syz-executor.0 65971 92769 61463 0 3 0x82 thrsleep syz-fuzzer 65971 426939 61463 0 3 0x4000082 nanosleep syz-fuzzer 65971 166572 61463 0 3 0x4000082 thrsleep syz-fuzzer 65971 386804 61463 0 3 0x4000082 thrsleep syz-fuzzer 65971 374969 61463 0 3 0x4000082 thrsleep syz-fuzzer 65971 84473 61463 0 3 0x4000082 thrsleep syz-fuzzer 65971 320602 61463 0 3 0x4000082 thrsleep syz-fuzzer 65971 503386 61463 0 3 0x4000082 kqread syz-fuzzer 61463 216783 30315 0 3 0x10008a pause ksh 30315 258440 65758 0 3 0x92 select sshd 65758 281962 1 0 3 0x80 select sshd 82717 415843 8997 73 3 0x100090 kqread syslogd 8997 320270 1 0 3 0x100082 netio syslogd 30992 434975 1 77 2 0x100010 dhclient *10525 340722 1 0 7 0 dhclient 13364 151997 0 0 3 0x14200 bored smr 15429 90743 0 0 2 0x14200 zerothread 2341 27424 0 0 3 0x14200 aiodoned aiodoned 55221 478880 0 0 3 0x14200 syncer update 67509 190472 0 0 3 0x14200 cleaner cleaner 4590 333552 0 0 3 0x14200 reaper reaper 88126 484754 0 0 3 0x14200 pgdaemon pagedaemon 29340 43346 0 0 3 0x14200 bored crynlk 52692 319647 0 0 3 0x14200 bored crypto 28588 402335 0 0 3 0x40014200 acpi0 acpi0 99886 356925 0 0 3 0x14200 bored softnet 41470 458501 0 0 2 0x14200 systqmp 236 420731 0 0 3 0x14200 bored systq 53606 409264 0 0 3 0x40014200 bored softclock 30652 467587 0 0 3 0x40014200 idle0 1 336464 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 9508 6346K 6713K 78643K 11626 0 pcb 13 8K 8K 78643K 113 0 rtable 133 13K 13K 78643K 746 0 ifaddr 100 20K 20K 78643K 255 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 35 0 ioctlops 0 0K 4K 78643K 204 0 iov 0 0K 32K 78643K 120 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1603 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 13 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 225 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 6 17K 25K 78643K 1003 0 sigio 0 0K 0K 78643K 10 0 proc 50 38K 63K 78643K 470 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 65 0 in_multi 91 4K 4K 78643K 221 0 ether_multi 1 0K 0K 78643K 17 0 mrt 0 0K 0K 78643K 7 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 291 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 152 57K 57K 78643K 3176 0 UVM aobj 27 2K 2K 78643K 29 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 92 0 NDP 13 0K 0K 78643K 47 0 temp 144 3876K 3940K 78643K 29331 0 kqueue 3 4K 8K 78643K 40 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 13 0 5 1 0 1 1 0 8 0 rtpcb 80 57 0 55 1 0 1 1 0 8 0 rtentry 112 114 0 79 2 0 2 2 0 8 0 unpcb 120 365 0 355 1 0 1 1 0 8 0 syncache 264 8 0 8 4 4 0 1 0 8 0 tcpqe 32 538 0 538 2 2 0 1 0 8 0 tcpcb 544 616 0 612 1 0 1 1 0 8 0 ipq 40 2 0 2 2 1 1 1 0 8 1 ipqe 40 47 0 47 2 1 1 1 0 8 1 inpcb 296 2233 0 2225 4 3 1 2 0 8 0 rttmr 72 3 0 3 2 2 0 1 0 8 0 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 48 29 0 22 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1136 2 0 2 2 2 0 1 0 8 0 pfstscr 40 6 0 5 1 0 1 1 0 8 0 pfrke_plain 160 8 0 6 1 0 1 1 0 8 0 pfrktable 1344 124 0 106 2 0 2 2 0 8 0 pftag 88 24 0 20 1 0 1 1 0 8 0 pfstitem 24 6 0 4 1 0 1 1 0 8 0 pfstkey 112 14 0 12 1 0 1 1 0 8 0 pfstate 328 7 0 6 1 0 1 1 0 8 0 pfrule 1360 56 0 30 3 0 3 3 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 687 0 467 18 4 14 15 0 8 0 art_table 32 689 0 467 2 0 2 2 0 8 0 art_node 16 113 0 84 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 6 1 0 1 1 0 8 0 semapl 112 223 0 213 1 0 1 1 0 8 0 shmpl 112 26 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2701 0 1302 88 0 88 88 0 8 0 ffsino 240 2701 0 1302 83 0 83 83 0 8 0 nchpl 144 4273 0 2691 60 0 60 60 0 8 0 rtmask 32 8 0 6 1 0 1 1 0 8 0 uvmvnodes 72 3008 0 0 55 0 55 55 0 8 0 vnodes 208 3008 0 0 159 0 159 159 0 8 0 namei 1024 11788 0 11788 1 0 1 1 0 8 1 vcpupl 1984 5 0 0 1 0 1 1 0 8 0 vmpool 528 15 0 10 1 0 1 1 0 8 0 pfiaddrpl 120 52 0 34 1 0 1 1 0 8 0 scxspl 192 13239 0 13239 1 0 1 1 0 8 1 plimitpl 152 84 0 77 1 0 1 1 0 8 0 sigapl 424 1189 0 1158 4 0 4 4 0 8 0 futexpl 56 21491 0 21491 1 0 1 1 0 8 1 knotepl 112 118 0 99 1 0 1 1 0 8 0 kqueuepl 144 128 0 125 1 0 1 1 0 8 0 pipepl 272 1379 0 1369 2 0 2 2 0 8 0 fdescpl 432 1173 0 1158 2 0 2 2 0 8 0 filepl 120 9437 0 9337 4 0 4 4 0 8 0 lockfpl 104 214 0 213 1 0 1 1 0 8 0 lockfspl 48 83 0 82 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 25 0 15 1 0 1 1 0 8 0 ucredpl 96 850 0 843 1 0 1 1 0 8 0 zombiepl 144 1159 0 1158 1 0 1 1 0 8 0 processpl 928 1189 0 1158 4 0 4 4 0 8 0 procpl 624 2357 0 2318 4 0 4 4 0 8 0 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 400 2696 0 2676 5 2 3 4 0 8 1 mcl64k 65536 47 0 47 1 1 0 1 0 8 0 mcl16k 16384 6 0 6 2 2 0 1 0 8 0 mcl12k 12288 35 0 35 2 2 0 1 0 8 0 mcl9k 9216 17 0 17 4 4 0 1 0 8 0 mcl8k 8192 24 0 24 3 3 0 1 0 8 0 mcl4k 4096 76 0 76 3 3 0 1 0 8 0 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 92168 0 92113 27 19 8 20 0 8 0 mtagpl 96 92 0 34 3 1 2 2 0 8 0 mbufpl 256 151846 0 151548 41 20 21 26 0 8 0 bufpl 280 5639 0 287 383 0 383 383 0 8 0 anonpl 16 132540 0 117336 94 18 76 85 0 107 0 amapchunkpl 152 6725 0 6582 35 28 7 20 0 158 0 amappl16 192 5358 0 4337 72 20 52 61 0 8 0 amappl15 184 477 0 474 1 0 1 1 0 8 0 amappl14 176 28 0 22 1 0 1 1 0 8 0 amappl13 168 41 0 38 1 0 1 1 0 8 0 amappl12 160 19 0 15 2 1 1 1 0 8 0 amappl11 152 346 0 334 1 0 1 1 0 8 0 amappl10 144 670 0 664 1 0 1 1 0 8 0 amappl9 136 379 0 377 1 0 1 1 0 8 0 amappl8 128 376 0 324 2 0 2 2 0 8 0 amappl7 120 770 0 756 1 0 1 1 0 8 0 amappl6 112 319 0 312 1 0 1 1 0 8 0 amappl5 104 1105 0 1091 1 0 1 1 0 8 0 amappl4 96 450 0 421 1 0 1 1 0 8 0 amappl3 88 161 0 155 1 0 1 1 0 8 0 amappl2 80 8602 0 8527 2 0 2 2 0 8 0 amappl1 72 35637 0 35181 23 13 10 17 0 8 0 amappl 80 2621 0 2570 2 0 2 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 28 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1188 0 1168 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1188 0 1168 1 0 1 1 0 8 0 vmmpekpl 168 15212 0 15182 2 0 2 2 0 8 0 vmmpepl 168 148940 0 146652 150 50 100 126 0 357 0 vmsppl 272 1187 0 1168 2 0 2 2 0 8 0 pdppl 4096 2382 0 2341 8 2 6 6 0 8 0 pvpl 32 356875 0 338565 209 33 176 199 0 265 0 pmappl 200 1187 0 1168 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 299 0 58 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(ffffffff823cfe5b) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e4f34b0,0,ffff80001d6e5bf8,0,0,ffff80001d6e5b04) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80657f7078,ffff80001d6e5bf8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e5bf8,0,ffff80001d6e5ce0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e5c90,ffff80001d6e5ce0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5d60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd8620, 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(ffffffff823cfe5b) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e4f34b0,0,ffff80001d6e5bf8,0,0,ffff80001d6e5b04) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80657f7078,ffff80001d6e5bf8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e5bf8,0,ffff80001d6e5ce0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e5c90,ffff80001d6e5ce0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5d60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd8620, count: -8