panic: receive 3: so 0xfffffd8061235190, so_type 3, m 0xfffffd805c54e300, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 9838 91404 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821abad6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8061235190,0,ffff80001d372d88,0,0,ffff80001d372c94) at soreceive+0x16e7 soo_read(fffffd8060df23c0,ffff80001d372d88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372d88,0,ffff80001d372e70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372e20,ffff80001d372e70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372ef0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6560, 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 0xfffffd8061235190, so_type 3, m 0xfffffd805c54e300, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821abad6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8061235190,0,ffff80001d372d88,0,0,ffff80001d372c94) at soreceive+0x16e7 soo_read(fffffd8060df23c0,ffff80001d372d88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372d88,0,ffff80001d372e70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372e20,ffff80001d372e70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372ef0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6560, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372ad0 rbx 0xffff80001d372b80 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372a90 r9 0x1 r10 0 r11 0x7e52161441c93afd r12 0x3000000008 r13 0xffff80001d372ae0 r14 0x100 r15 0x1 rip 0xffffffff81d79408 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372ac0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=9838 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a388,0xffff80001d339288 process=0xffff8000ffffa010 user=0xffff80001d36d000, vmspace=0xfffffd806bc09880 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 74010 182880 81659 0 2 0 syz-executor.0 74010 223312 81659 0 2 0x4000000 syz-executor.0 6645 388523 504 0 2 0 syz-executor.1 6645 475282 504 0 3 0x4000080 msgwait syz-executor.1 504 74391 77241 0 3 0x82 nanosleep syz-executor.1 81659 389439 77241 0 2 0x482 syz-executor.0 77241 240907 87746 0 3 0x82 thrsleep syz-fuzzer 77241 329849 87746 0 3 0x4000082 thrsleep syz-fuzzer 77241 238665 87746 0 3 0x4000082 kqread syz-fuzzer 77241 291603 87746 0 3 0x4000082 thrsleep syz-fuzzer 77241 117811 87746 0 3 0x4000082 thrsleep syz-fuzzer 77241 389925 87746 0 3 0x4000082 thrsleep syz-fuzzer 77241 195304 87746 0 3 0x4000082 thrsleep syz-fuzzer 87746 222369 16939 0 3 0x10008a pause ksh 16939 220139 1441 0 3 0x92 select sshd 64569 99025 1 0 3 0x100083 ttyin getty 1441 133948 1 0 3 0x80 select sshd 8428 349934 24081 73 3 0x100090 kqread syslogd 24081 263983 1 0 3 0x100082 netio syslogd 11659 299097 1 77 2 0x100010 dhclient *91404 9838 1 0 7 0 dhclient 15990 206050 0 0 2 0x14200 zerothread 52537 126996 0 0 3 0x14200 aiodoned aiodoned 69740 43275 0 0 3 0x14200 syncer update 33827 433699 0 0 3 0x14200 cleaner cleaner 83502 245016 0 0 3 0x14200 reaper reaper 6332 341298 0 0 3 0x14200 pgdaemon pagedaemon 6101 388008 0 0 3 0x14200 bored crynlk 80263 463408 0 0 3 0x14200 bored crypto 87127 290827 0 0 3 0x40014200 acpi0 acpi0 27069 119914 0 0 3 0x14200 bored softnet 78333 460472 0 0 3 0x14200 bored systqmp 70349 509711 0 0 3 0x14200 bored systq 95230 243669 0 0 3 0x40014200 bored softclock 30266 334088 0 0 3 0x40014200 idle0 24939 256251 0 0 3 0x14200 bored smr 1 343288 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 9461 6327K 6462K 78643K 10617 0 pcb 13 8K 8K 78643K 27 0 rtable 91 2K 3K 78643K 194 0 ifaddr 42 10K 10K 78643K 46 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 23 0 mount 1 1K 1K 78643K 1 0 vnodes 1213 76K 77K 78643K 1275 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 11 0K 0K 78643K 12 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 76 0 proc 47 38K 54K 78643K 358 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 23 1K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 0 mrt 0 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 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 108 38K 38K 78643K 1016 0 UVM aobj 5 3K 3K 78643K 5 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 1 0 NDP 6 0K 0K 78643K 10 0 temp 76 3010K 3074K 78643K 1985 0 kqueue 4 6K 10K 78643K 8 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 21 0 19 1 0 1 1 0 8 0 rtentry 112 45 0 8 2 0 2 2 0 8 0 unpcb 120 45 0 37 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 189 0 189 1 0 1 1 0 8 1 tcpcb 544 16 0 12 1 0 1 1 0 8 0 inpcb 280 88 0 81 2 0 2 2 0 8 1 nd6 48 6 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 188 0 40 12 0 12 12 0 8 1 art_table 32 189 0 40 2 0 2 2 0 8 0 art_node 16 44 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 5 1 0 1 1 0 8 0 semapl 112 10 0 1 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1504 0 109 46 0 46 46 0 8 0 ffsino 240 1504 0 109 83 0 83 83 0 8 0 nchpl 144 1793 0 182 60 0 60 60 0 8 0 uvmvnodes 72 1565 0 0 29 0 29 29 0 8 0 vnodes 208 1565 0 0 83 0 83 83 0 8 0 namei 1024 4615 0 4615 1 0 1 1 0 8 1 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 528 1 0 0 1 0 1 1 0 8 0 scxspl 192 5247 0 5247 1 0 1 1 0 8 1 plimitpl 152 22 0 15 1 0 1 1 0 8 0 sigapl 432 247 0 233 2 0 2 2 0 8 0 futexpl 56 1198 0 1198 1 0 1 1 0 8 1 knotepl 112 58 0 38 1 0 1 1 0 8 0 kqueuepl 144 14 0 10 1 0 1 1 0 8 0 pipelkpl 16 88 0 77 1 0 1 1 0 8 0 pipepl 120 176 0 155 1 0 1 1 0 8 0 fdescpl 432 248 0 233 2 0 2 2 0 8 0 filepl 120 1539 0 1437 4 0 4 4 0 8 0 lockfpl 104 21 0 20 1 0 1 1 0 8 0 lockfspl 48 8 0 7 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 315 0 308 1 0 1 1 0 8 0 zombiepl 144 233 0 233 1 0 1 1 0 8 1 processpl 896 262 0 233 4 0 4 4 0 8 0 procpl 624 333 0 296 4 0 4 4 0 8 0 sockpl 400 154 0 137 3 0 3 3 0 8 1 mcl64k 65536 4 0 4 1 0 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 15 0 15 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 64838 0 64799 18 6 12 15 0 8 6 mtagpl 80 4 0 2 2 1 1 1 0 8 0 mbufpl 256 102844 0 102717 16 3 13 13 0 8 0 bufpl 280 4087 0 162 281 0 281 281 0 8 0 anonpl 16 39389 0 22937 69 2 67 67 0 107 0 amapchunkpl 152 1052 0 905 8 0 8 8 0 158 2 amappl16 192 1171 0 272 45 0 45 45 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 5 0 3 2 1 1 1 0 8 0 amappl13 168 39 0 36 1 0 1 1 0 8 0 amappl12 160 8 0 7 1 0 1 1 0 8 0 amappl11 152 61 0 49 1 0 1 1 0 8 0 amappl10 144 57 0 49 1 0 1 1 0 8 0 amappl9 136 360 0 357 1 0 1 1 0 8 0 amappl8 128 272 0 255 1 0 1 1 0 8 0 amappl7 120 148 0 134 1 0 1 1 0 8 0 amappl6 112 22 0 18 1 0 1 1 0 8 0 amappl5 104 217 0 204 1 0 1 1 0 8 0 amappl4 96 440 0 408 2 1 1 2 0 8 0 amappl3 88 110 0 103 1 0 1 1 0 8 0 amappl2 80 1171 0 1097 3 1 2 3 0 8 0 amappl1 72 14172 0 13753 27 16 11 20 0 8 2 amappl 80 559 0 513 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 249 0 233 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 249 0 233 1 0 1 1 0 8 0 vmmpekpl 168 5866 0 5839 2 0 2 2 0 8 0 vmmpepl 168 37200 0 35142 116 8 108 108 0 357 18 vmsppl 272 248 0 233 2 0 2 2 0 8 0 pdppl 4096 504 0 467 6 0 6 6 0 8 1 pvpl 32 132580 0 113112 158 0 158 158 0 265 1 pmappl 200 248 0 233 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 157 0 12 5 0 5 5 0 8 0