panic: receive 3: so 0xfffffd80680e1190, so_type 3, m 0xfffffd805c155a00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *500827 74334 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821af82d) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd80680e1190,0,ffff80001d372a88,0,0,ffff80001d372994) at soreceive+0x16e7 soo_read(fffffd805eb125a0,ffff80001d372a88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3394e8,6,ffff80001d372a88,0,ffff80001d372b70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3394e8,ffff80001d372b20,ffff80001d372b70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372bf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffefa60, 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 3: so 0xfffffd80680e1190, so_type 3, m 0xfffffd805c155a00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821af82d) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd80680e1190,0,ffff80001d372a88,0,0,ffff80001d372994) at soreceive+0x16e7 soo_read(fffffd805eb125a0,ffff80001d372a88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3394e8,6,ffff80001d372a88,0,ffff80001d372b70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3394e8,ffff80001d372b20,ffff80001d372b70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372bf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffefa60, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d3727d0 rbx 0xffff80001d372880 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372790 r9 0x1 r10 0 r11 0xf1b64e859f24758b r12 0x3000000008 r13 0xffff80001d3727e0 r14 0x100 r15 0x1 rip 0xffffffff8176b428 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3727c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=500827 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d339ea8,0xffff80001d339768 process=0xffff8000ffffa390 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a770 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 32645 8971 82166 0 2 0 syz-executor.0 32645 14591 82166 0 2 0x4000000 syz-executor.0 20293 174191 50896 60928 2 0x10 syz-executor.1 20293 270715 50896 60928 3 0x4000090 semwait syz-executor.1 20293 480251 50896 60928 3 0x4000090 semwait syz-executor.1 20293 466441 50896 60928 3 0x4000090 poll syz-executor.1 50896 232459 29349 0 3 0x82 nanosleep syz-executor.1 82166 497125 29349 0 2 0x482 syz-executor.0 29349 66314 72686 0 3 0x82 thrsleep syz-fuzzer 29349 110264 72686 0 2 0x4000482 syz-fuzzer 29349 363265 72686 0 3 0x4000082 kqread syz-fuzzer 29349 381796 72686 0 3 0x4000082 thrsleep syz-fuzzer 29349 377104 72686 0 3 0x4000082 thrsleep syz-fuzzer 29349 466321 72686 0 3 0x4000082 thrsleep syz-fuzzer 29349 204258 72686 0 3 0x4000082 thrsleep syz-fuzzer 72686 123576 51496 0 3 0x10008a pause ksh 51496 407740 37776 0 3 0x92 select sshd 74015 317386 1 0 3 0x100083 ttyin getty 37776 293985 1 0 3 0x80 select sshd 7325 128270 98057 73 3 0x100090 kqread syslogd 98057 212283 1 0 3 0x100082 netio syslogd 69439 300272 1 77 2 0x100010 dhclient *74334 500827 1 0 7 0 dhclient 93679 298663 0 0 3 0x14200 bored smr 43406 327452 0 0 2 0x14200 zerothread 16788 419227 0 0 3 0x14200 aiodoned aiodoned 74061 348664 0 0 3 0x14200 syncer update 14219 516494 0 0 3 0x14200 cleaner cleaner 73723 273329 0 0 3 0x14200 reaper reaper 43540 78435 0 0 3 0x14200 pgdaemon pagedaemon 59628 268614 0 0 3 0x14200 bored crynlk 63242 68638 0 0 3 0x14200 bored crypto 47567 508971 0 0 3 0x40014200 acpi0 acpi0 44316 381057 0 0 3 0x14200 bored softnet 69111 385464 0 0 3 0x14200 bored systqmp 75237 152088 0 0 3 0x14200 bored systq 93319 119646 0 0 3 0x40014200 bored softclock 16970 320272 0 0 3 0x40014200 idle0 1 86164 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 9458 6391K 6517K 78643K 10565 0 pcb 13 8K 8K 78643K 27 0 rtable 105 3K 3K 78643K 205 0 ifaddr 44 10K 10K 78643K 46 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 15 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1225 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 0K 0K 78643K 2 0 sem 6 0K 0K 78643K 6 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 47 0 proc 48 38K 54K 78643K 359 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 7 0 in_multi 33 2K 2K 78643K 38 0 ether_multi 1 0K 0K 78643K 4 0 mrt 0 0K 0K 78643K 11 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 19 95K 95K 78643K 19 0 exec 0 0K 1K 78643K 181 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 103 21K 25K 78643K 937 0 UVM aobj 6 2K 2K 78643K 7 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 6 0K 0K 78643K 10 0 temp 65 3007K 3071K 78643K 1835 0 kqueue 3 4K 4K 78643K 3 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 20 0 17 1 0 1 1 0 8 0 rtentry 112 50 0 6 2 0 2 2 0 8 0 unpcb 120 29 0 21 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 123 0 123 2 1 1 1 0 8 1 tcpcb 544 24 0 20 1 0 1 1 0 8 0 ipq 40 2 0 2 1 0 1 1 0 8 1 ipqe 40 8 0 8 1 0 1 1 0 8 1 inpcb 280 64 0 57 1 0 1 1 0 8 0 rttmr 72 5 0 5 1 0 1 1 0 8 1 nd6 48 6 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 211 0 22 14 0 14 14 0 8 2 art_table 32 212 0 22 2 0 2 2 0 8 0 art_node 16 49 0 9 1 0 1 1 0 8 0 semupl 112 1 0 0 1 0 1 1 0 8 0 semapl 112 4 0 0 1 0 1 1 0 8 0 shmpl 112 5 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1432 0 32 46 0 46 46 0 8 0 ffsino 240 1432 0 32 83 0 83 83 0 8 0 nchpl 144 1682 0 69 60 0 60 60 0 8 0 uvmvnodes 72 1478 0 0 27 0 27 27 0 8 0 vnodes 208 1478 0 0 78 0 78 78 0 8 0 namei 1024 3992 0 3992 1 0 1 1 0 8 1 scxspl 192 4751 0 4751 1 0 1 1 0 8 1 plimitpl 152 14 0 7 1 0 1 1 0 8 0 sigapl 424 233 0 204 4 0 4 4 0 8 0 futexpl 56 428 0 428 1 0 1 1 0 8 1 knotepl 112 53 0 34 1 0 1 1 0 8 0 kqueuepl 144 4 0 2 1 0 1 1 0 8 0 pipelkpl 16 81 0 71 1 0 1 1 0 8 0 pipepl 120 162 0 143 1 0 1 1 0 8 0 fdescpl 432 219 0 204 2 0 2 2 0 8 0 filepl 120 1096 0 997 4 0 4 4 0 8 1 lockfpl 104 5 0 4 1 0 1 1 0 8 0 lockfspl 48 3 0 2 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 41 0 33 1 0 1 1 0 8 0 zombiepl 144 204 0 204 1 0 1 1 0 8 1 processpl 896 233 0 204 4 0 4 4 0 8 0 procpl 624 260 0 221 4 0 4 4 0 8 0 sockpl 400 113 0 95 3 0 3 3 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 3 0 3 1 0 1 1 0 8 1 mcl4k 4096 12 0 12 2 1 1 1 0 8 1 mcl2k 2048 65302 0 65257 17 3 14 14 0 8 7 mtagpl 80 4 0 2 2 1 1 1 0 8 0 mbufpl 256 102947 0 102855 12 1 11 11 0 8 1 bufpl 280 3977 0 161 273 0 273 273 0 8 0 anonpl 16 36663 0 21323 64 2 62 62 0 107 0 amapchunkpl 152 1029 0 892 8 0 8 8 0 158 1 amappl16 192 982 0 145 42 0 42 42 0 8 0 amappl15 184 15 0 9 1 0 1 1 0 8 0 amappl14 176 12 0 8 2 1 1 1 0 8 0 amappl13 168 24 0 23 1 0 1 1 0 8 0 amappl12 160 7 0 6 1 0 1 1 0 8 0 amappl11 152 60 0 48 1 0 1 1 0 8 0 amappl10 144 14 0 11 1 0 1 1 0 8 0 amappl9 136 371 0 365 1 0 1 1 0 8 0 amappl8 128 276 0 257 1 0 1 1 0 8 0 amappl7 120 107 0 96 1 0 1 1 0 8 0 amappl6 112 25 0 20 1 0 1 1 0 8 0 amappl5 104 183 0 171 1 0 1 1 0 8 0 amappl4 96 433 0 405 1 0 1 1 0 8 0 amappl3 88 104 0 98 1 0 1 1 0 8 0 amappl2 80 963 0 888 3 0 3 3 0 8 1 amappl1 72 13552 0 13124 27 10 17 20 0 8 8 amappl 80 484 0 440 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 6 0 1 1 0 1 1 0 8 0 uaddrrnd 24 219 0 204 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 219 0 204 1 0 1 1 0 8 0 vmmpekpl 168 5701 0 5676 2 0 2 2 0 8 0 vmmpepl 168 34056 0 32056 123 7 116 116 0 357 29 vmsppl 272 218 0 204 2 0 2 2 0 8 1 pdppl 4096 444 0 408 6 0 6 6 0 8 1 pvpl 32 124686 0 106339 150 0 150 150 0 265 0 pmappl 200 218 0 204 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 153 0 7 5 0 5 5 0 8 0