panic: receive 3: so 0xfffffd8064497000, so_type 3, m 0xfffffd805ab95100, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *323803 74177 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ae083) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8064497000,0,ffff80001d372c88,0,0,ffff80001d372b94) at soreceive+0x16e7 soo_read(fffffd805eb12258,ffff80001d372c88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339278,6,ffff80001d372c88,0,ffff80001d372d70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339278,ffff80001d372d20,ffff80001d372d70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372df0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdf120, 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 0xfffffd8064497000, so_type 3, m 0xfffffd805ab95100, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ae083) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8064497000,0,ffff80001d372c88,0,0,ffff80001d372b94) at soreceive+0x16e7 soo_read(fffffd805eb12258,ffff80001d372c88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339278,6,ffff80001d372c88,0,ffff80001d372d70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339278,ffff80001d372d20,ffff80001d372d70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372df0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdf120, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d3729d0 rbx 0xffff80001d372a80 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372990 r9 0x1 r10 0 r11 0xb26a456e6654cc04 r12 0x3000000008 r13 0xffff80001d3729e0 r14 0x100 r15 0x1 rip 0xffffffff8175a308 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3729c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=323803 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a388,0xffff80001d339768 process=0xffff8000ffffa710 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a220 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 78561 335153 97178 0 2 0 syz-executor.0 78561 402704 97178 0 2 0x4000000 syz-executor.0 58360 63912 0 0 3 0x14200 acct acct 77224 169867 1 0 3 0x100083 ttyin getty 10943 326072 0 0 3 0x14200 bored sosplice 97178 4188 2024 0 2 0x482 syz-executor.0 58342 160236 2024 0 2 0x2 syz-executor.1 2024 259841 64251 0 3 0x82 thrsleep syz-fuzzer 2024 258114 64251 0 2 0x4000482 syz-fuzzer 2024 481085 64251 0 3 0x4000082 thrsleep syz-fuzzer 2024 304504 64251 0 3 0x4000082 thrsleep syz-fuzzer 2024 316231 64251 0 3 0x4000082 thrsleep syz-fuzzer 2024 97858 64251 0 3 0x4000082 kqread syz-fuzzer 2024 518946 64251 0 3 0x4000082 thrsleep syz-fuzzer 2024 181620 64251 0 3 0x4000082 thrsleep syz-fuzzer 64251 245328 91662 0 3 0x10008a pause ksh 91662 128291 21522 0 3 0x92 select sshd 21522 107666 1 0 3 0x80 select sshd 17242 304203 38445 73 3 0x100090 kqread syslogd 38445 279135 1 0 3 0x100082 netio syslogd 30776 422753 1 77 3 0x100090 poll dhclient *74177 323803 1 0 7 0 dhclient 42225 265533 0 0 2 0x14200 zerothread 92193 376811 0 0 3 0x14200 aiodoned aiodoned 53862 288430 0 0 3 0x14200 syncer update 12331 445189 0 0 3 0x14200 cleaner cleaner 27318 88304 0 0 3 0x14200 reaper reaper 27949 513621 0 0 3 0x14200 pgdaemon pagedaemon 69216 524068 0 0 3 0x14200 bored crynlk 41357 512535 0 0 3 0x14200 bored crypto 87361 145796 0 0 3 0x40014200 acpi0 acpi0 24892 253173 0 0 3 0x14200 bored softnet 59627 452987 0 0 3 0x14200 bored systqmp 92475 29794 0 0 3 0x14200 bored systq 17570 202802 0 0 3 0x40014200 bored softclock 36852 405190 0 0 3 0x40014200 idle0 38904 43368 0 0 3 0x14200 bored smr 1 304586 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 9500 6344K 7569K 78643K 11733 0 pcb 13 8K 8K 78643K 82 0 rtable 103 3K 4K 78643K 294 0 ifaddr 68 13K 13K 78643K 97 0 counters 22 16K 16K 78643K 25 0 ioctlops 0 0K 2K 78643K 29 0 iov 0 0K 16K 78643K 53 0 mount 1 1K 1K 78643K 1 0 vnodes 1233 78K 78K 78643K 1508 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 12 0K 1K 78643K 36 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 261 0 sigio 0 0K 0K 78643K 8 0 proc 52 38K 55K 78643K 398 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 32 0 in_multi 25 1K 2K 78643K 84 0 ether_multi 1 0K 0K 78643K 11 0 mrt 0 0K 0K 78643K 5 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 217 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 102 37K 38K 78643K 1457 0 UVM aobj 19 2K 2K 78643K 23 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 51 0 NDP 12 0K 0K 78643K 23 0 temp 131 3018K 3083K 78643K 9846 0 kqueue 3 4K 8K 78643K 21 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 33 0 31 1 0 1 1 0 8 0 rtentry 112 65 0 25 2 0 2 2 0 8 0 unpcb 120 283 0 275 1 0 1 1 0 8 0 syncache 264 7 0 7 3 2 1 1 0 8 1 tcpqe 32 72 0 72 1 1 0 1 0 8 0 tcpcb 544 125 0 121 1 0 1 1 0 8 0 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 8 0 8 1 1 0 1 0 8 0 inpcb 280 549 0 542 3 1 2 2 0 8 1 rttmr 72 2 0 2 2 2 0 1 0 8 0 nd6 48 10 0 8 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 312 0 150 14 1 13 14 0 8 2 art_table 32 313 0 150 2 0 2 2 0 8 0 art_node 16 64 0 26 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 5 1 0 1 1 0 8 0 semapl 112 32 0 22 1 0 1 1 0 8 0 shmpl 112 21 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1767 0 367 46 0 46 46 0 8 0 ffsino 240 1767 0 367 83 0 83 83 0 8 0 nchpl 144 2329 0 719 60 0 60 60 0 8 0 uvmvnodes 72 2052 0 0 38 0 38 38 0 8 0 vnodes 208 2052 0 0 108 0 108 108 0 8 0 namei 1024 6288 0 6287 1 0 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 scxspl 192 6985 0 6985 1 0 1 1 0 8 1 plimitpl 152 37 0 30 1 0 1 1 0 8 0 sigapl 424 450 0 420 4 0 4 4 0 8 0 futexpl 56 6645 0 6645 1 0 1 1 0 8 1 knotepl 112 75 0 56 1 0 1 1 0 8 0 kqueuepl 144 72 0 70 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 434 0 420 2 0 2 2 0 8 0 filepl 120 3111 0 3015 4 0 4 4 0 8 1 lockfpl 104 148 0 147 1 0 1 1 0 8 0 lockfspl 48 42 0 41 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 20 0 10 1 0 1 1 0 8 0 ucredpl 96 266 0 259 1 0 1 1 0 8 0 zombiepl 144 420 0 420 1 0 1 1 0 8 1 processpl 896 450 0 420 4 0 4 4 0 8 0 procpl 624 757 0 719 4 0 4 4 0 8 0 sosppl 128 5 0 5 2 1 1 1 0 8 1 sockpl 400 866 0 849 6 1 5 5 0 8 3 mcl64k 65536 536 0 536 65 13 52 65 0 8 52 mcl16k 16384 5 0 5 2 1 1 1 0 8 1 mcl12k 12288 6 0 6 2 1 1 1 0 8 1 mcl9k 9216 3 0 3 1 1 0 1 0 8 0 mcl8k 8192 12 0 12 2 1 1 1 0 8 1 mcl4k 4096 38 0 38 2 1 1 1 0 8 1 mcl2k2 2112 3 0 3 2 1 1 1 0 8 1 mcl2k 2048 65775 0 65734 14 8 6 12 0 8 0 mtagpl 80 15 0 2 2 1 1 1 0 8 0 mbufpl 256 106291 0 106144 43 24 19 41 0 8 7 bufpl 280 4538 0 158 313 0 313 313 0 8 0 anonpl 16 54748 0 38219 85 1 84 84 0 107 17 amapchunkpl 152 2008 0 1877 11 1 10 10 0 158 3 amappl16 192 2225 0 1313 58 4 54 58 0 8 8 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 112 0 110 2 1 1 1 0 8 0 amappl13 168 23 0 22 1 0 1 1 0 8 0 amappl12 160 3 0 3 1 1 0 1 0 8 0 amappl11 152 184 0 170 1 0 1 1 0 8 0 amappl10 144 19 0 14 1 0 1 1 0 8 0 amappl9 136 382 0 378 1 0 1 1 0 8 0 amappl8 128 283 0 261 1 0 1 1 0 8 0 amappl7 120 107 0 97 1 0 1 1 0 8 0 amappl6 112 144 0 139 1 0 1 1 0 8 0 amappl5 104 254 0 242 1 0 1 1 0 8 0 amappl4 96 562 0 532 1 0 1 1 0 8 0 amappl3 88 213 0 207 1 0 1 1 0 8 0 amappl2 80 2583 0 2520 3 1 2 3 0 8 0 amappl1 72 17453 0 17050 25 16 9 20 0 8 0 amappl 80 988 0 945 2 1 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 22 0 4 1 0 1 1 0 8 0 uaddrrnd 24 436 0 420 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 436 0 420 1 0 1 1 0 8 0 vmmpekpl 168 6722 0 6695 2 0 2 2 0 8 0 vmmpepl 168 58351 0 56388 152 18 134 148 0 357 48 vmsppl 272 435 0 420 2 0 2 2 0 8 0 pdppl 4096 878 0 842 6 1 5 6 0 8 0 pvpl 32 172640 0 153117 196 0 196 196 0 265 35 pmappl 200 435 0 420 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 251 0 53 7 0 7 7 0 8 0