panic: receive 3: so 0xfffffd805e56d7d0, so_type 3, m 0xfffffd805e604e00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 74196 58786 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821af031) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56d7d0,0,ffff80001d371fc8,0,0,ffff80001d371ed4) at soreceive+0x16e7 soo_read(fffffd805eb12780,ffff80001d371fc8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d371fc8,0,ffff80001d3720b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372060,ffff80001d3720b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372130) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbb800, 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 0xfffffd805e56d7d0, so_type 3, m 0xfffffd805e604e00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821af031) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56d7d0,0,ffff80001d371fc8,0,0,ffff80001d371ed4) at soreceive+0x16e7 soo_read(fffffd805eb12780,ffff80001d371fc8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d371fc8,0,ffff80001d3720b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372060,ffff80001d3720b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372130) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbb800, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d371d10 rbx 0xffff80001d371dc0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d371cd0 r9 0x1 r10 0 r11 0xbf26167ba1123a27 r12 0x3000000008 r13 0xffff80001d371d20 r14 0x100 r15 0x1 rip 0xffffffff816dc298 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d371d00 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=74196 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a868,0xffff80001d339768 process=0xffff8000ffffb190 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a550 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 38191 170602 7752 0 2 0 syz-executor.0 38191 398472 7752 0 2 0x4000000 syz-executor.0 79544 165710 34187 0 2 0x2 syz-executor.1 16410 384550 0 0 3 0x14200 bored sosplice 7752 504757 34187 0 3 0x82 nanosleep syz-executor.0 34187 338437 23544 0 3 0x82 thrsleep syz-fuzzer 34187 241829 23544 0 2 0x4000482 syz-fuzzer 34187 299423 23544 0 3 0x4000082 kqread syz-fuzzer 34187 496507 23544 0 3 0x4000082 thrsleep syz-fuzzer 34187 338338 23544 0 3 0x4000082 thrsleep syz-fuzzer 34187 21629 23544 0 3 0x4000082 thrsleep syz-fuzzer 34187 431703 23544 0 3 0x4000082 thrsleep syz-fuzzer 34187 180926 23544 0 3 0x4000082 thrsleep syz-fuzzer 23544 37341 54994 0 3 0x10008a pause ksh 54994 195484 46807 0 3 0x92 select sshd 45585 309271 1 0 3 0x100083 ttyin getty 46807 259621 1 0 3 0x80 select sshd 4264 88768 24666 73 3 0x100090 kqread syslogd 24666 512909 1 0 3 0x100082 netio syslogd 56014 213764 1 77 2 0x100010 dhclient *58786 74196 1 0 7 0 dhclient 33070 119110 0 0 2 0x14200 zerothread 81845 355255 0 0 3 0x14200 aiodoned aiodoned 43191 113276 0 0 3 0x14200 syncer update 85527 247920 0 0 3 0x14200 cleaner cleaner 45020 43327 0 0 3 0x14200 reaper reaper 38069 372509 0 0 3 0x14200 pgdaemon pagedaemon 34626 281741 0 0 3 0x14200 bored crynlk 80281 493407 0 0 3 0x14200 bored crypto 28530 234161 0 0 3 0x40014200 acpi0 acpi0 5260 365035 0 0 3 0x14200 bored softnet 49111 466648 0 0 3 0x14200 bored systqmp 31873 221384 0 0 3 0x14200 bored systq 27904 84680 0 0 3 0x40014200 bored softclock 4616 517355 0 0 3 0x40014200 idle0 44938 102520 0 0 3 0x14200 bored smr 1 122548 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 9489 6401K 6600K 78643K 10910 0 pcb 13 8K 8K 78643K 73 0 rtable 108 3K 4K 78643K 271 0 ifaddr 56 11K 11K 78643K 79 0 counters 21 16K 16K 78643K 23 0 ioctlops 0 0K 2K 78643K 20 0 iov 0 0K 16K 78643K 34 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 1358 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 22 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 187 0 sigio 0 0K 0K 78643K 6 0 proc 48 38K 63K 78643K 417 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 97 0 in_multi 33 2K 2K 78643K 88 0 ether_multi 1 0K 0K 78643K 17 0 mrt 0 0K 0K 78643K 4 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 216 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 109 22K 22K 78643K 1281 0 UVM aobj 50 2K 2K 78643K 50 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 52 0 NDP 9 0K 0K 78643K 17 0 temp 118 3018K 3082K 78643K 4188 0 kqueue 3 4K 20K 78643K 34 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 2 1 0 1 1 0 8 0 rtpcb 80 33 0 31 1 0 1 1 0 8 0 rtentry 112 58 0 14 2 0 2 2 0 8 0 unpcb 120 152 0 144 1 0 1 1 0 8 0 syncache 264 5 0 5 2 1 1 1 0 8 1 tcpqe 32 20 0 20 1 1 0 1 0 8 0 tcpcb 544 337 0 333 2 0 2 2 0 8 1 inpcb 280 583 0 576 3 0 3 3 0 8 2 rttmr 72 2 0 2 1 0 1 1 0 8 1 nd6 48 9 0 3 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 232 0 44 12 0 12 12 0 8 0 art_table 32 233 0 44 2 0 2 2 0 8 0 art_node 16 57 0 17 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 20 0 10 1 0 1 1 0 8 0 shmpl 112 48 0 0 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1623 0 224 46 0 46 46 0 8 0 ffsino 240 1623 0 224 83 0 83 83 0 8 0 nchpl 144 2077 0 480 60 0 60 60 0 8 0 uvmvnodes 72 1782 0 0 33 0 33 33 0 8 0 vnodes 208 1782 0 0 94 0 94 94 0 8 0 namei 1024 5537 0 5536 1 0 1 1 0 8 0 scxspl 192 6250 0 6250 1 0 1 1 0 8 1 plimitpl 152 33 0 26 1 0 1 1 0 8 0 sigapl 424 371 0 342 4 0 4 4 0 8 0 futexpl 56 5263 0 5263 1 0 1 1 0 8 1 knotepl 112 107 0 88 1 0 1 1 0 8 0 kqueuepl 144 64 0 62 1 0 1 1 0 8 0 pipelkpl 16 97 0 87 1 0 1 1 0 8 0 pipepl 120 194 0 175 1 0 1 1 0 8 0 fdescpl 432 356 0 342 2 0 2 2 0 8 0 filepl 120 2552 0 2456 5 0 5 5 0 8 2 lockfpl 104 56 0 55 1 0 1 1 0 8 0 lockfspl 48 18 0 17 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 22 0 12 1 0 1 1 0 8 0 ucredpl 96 414 0 407 1 0 1 1 0 8 0 zombiepl 144 342 0 342 1 0 1 1 0 8 1 processpl 896 371 0 342 4 0 4 4 0 8 0 procpl 624 556 0 519 4 0 4 4 0 8 1 sosppl 128 2 0 2 1 0 1 1 0 8 1 sockpl 400 775 0 758 6 0 6 6 0 8 4 mcl64k 65536 5 0 5 1 0 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 11 0 11 1 0 1 1 0 8 1 mcl4k 4096 23 0 23 2 1 1 1 0 8 1 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 64145 0 64098 15 4 11 13 0 8 4 mtagpl 80 14 0 2 2 1 1 1 0 8 0 mbufpl 256 102602 0 102480 10 1 9 9 0 8 1 bufpl 280 4490 0 161 310 0 310 310 0 8 0 anonpl 16 49070 0 33397 67 2 65 65 0 107 0 amapchunkpl 152 1602 0 1470 8 1 7 8 0 158 1 amappl16 192 1556 0 670 46 0 46 46 0 8 1 amappl15 184 86 0 83 1 0 1 1 0 8 0 amappl14 176 2 0 1 2 1 1 1 0 8 0 amappl13 168 30 0 28 1 0 1 1 0 8 0 amappl12 160 28 0 24 1 0 1 1 0 8 0 amappl11 152 160 0 146 1 0 1 1 0 8 0 amappl10 144 15 0 11 1 0 1 1 0 8 0 amappl9 136 380 0 377 1 0 1 1 0 8 0 amappl8 128 299 0 276 1 0 1 1 0 8 0 amappl7 120 113 0 102 1 0 1 1 0 8 0 amappl6 112 120 0 113 1 0 1 1 0 8 0 amappl5 104 280 0 268 1 0 1 1 0 8 0 amappl4 96 449 0 420 1 0 1 1 0 8 0 amappl3 88 109 0 103 1 0 1 1 0 8 0 amappl2 80 2029 0 1964 3 1 2 3 0 8 0 amappl1 72 16018 0 15608 26 16 10 20 0 8 1 amappl 80 792 0 751 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 49 0 0 1 0 1 1 0 8 0 uaddrrnd 24 356 0 342 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 356 0 342 1 0 1 1 0 8 0 vmmpekpl 168 6423 0 6397 2 0 2 2 0 8 0 vmmpepl 168 50011 0 48065 124 5 119 119 0 357 33 vmsppl 272 355 0 342 2 1 1 2 0 8 0 pdppl 4096 718 0 684 6 1 5 6 0 8 0 pvpl 32 159323 0 140683 156 0 156 156 0 265 3 pmappl 200 355 0 342 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 152 0 10 5 0 5 5 0 8 0