panic: receive 1a: so 0xfffffd805e5664b0, so_type 3, m 0xfffffd8052bfbc00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *469369 10805 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ba361) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5664b0,0,ffff80001d371fe8,0,0,ffff80001d371ef4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb12690,ffff80001d371fe8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3399c8,6,ffff80001d371fe8,0,ffff80001d3720d0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3399c8,ffff80001d372080,ffff80001d3720d0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372150) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff48a0, 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 0xfffffd805e5664b0, so_type 3, m 0xfffffd8052bfbc00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ba361) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5664b0,0,ffff80001d371fe8,0,0,ffff80001d371ef4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb12690,ffff80001d371fe8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3399c8,6,ffff80001d371fe8,0,ffff80001d3720d0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3399c8,ffff80001d372080,ffff80001d3720d0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372150) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff48a0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d371d30 rbx 0xffff80001d371de0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d371cf0 r9 0x1 r10 0 r11 0xc9c98c1c2bd4467d r12 0x3000000008 r13 0xffff80001d371d40 r14 0x100 r15 0x1 rip 0xffffffff816dc298 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d371d20 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=469369 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a5f8,0xffff80001d339768 process=0xffff8000ffffae10 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a000 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 54490 299639 41506 0 2 0 syz-executor.0 54490 63610 41506 0 2 0x4000000 syz-executor.0 18371 502061 0 0 3 0x14200 acct acct 41506 317415 67891 0 2 0x482 syz-executor.0 63319 470675 0 0 3 0x14200 bored sosplice 21899 90084 67891 0 3 0x82 nanosleep syz-executor.1 67891 481210 15720 0 3 0x82 thrsleep syz-fuzzer 67891 221263 15720 0 3 0x4000082 thrsleep syz-fuzzer 67891 472714 15720 0 3 0x4000082 thrsleep syz-fuzzer 67891 141480 15720 0 3 0x4000082 thrsleep syz-fuzzer 67891 149834 15720 0 3 0x4000082 thrsleep syz-fuzzer 67891 332858 15720 0 3 0x4000082 thrsleep syz-fuzzer 67891 28682 15720 0 3 0x4000082 thrsleep syz-fuzzer 67891 206447 15720 0 3 0x4000082 kqread syz-fuzzer 15720 266815 1716 0 3 0x10008a pause ksh 1716 185724 24021 0 3 0x92 select sshd 81811 497802 1 0 3 0x100083 ttyin getty 24021 113765 1 0 3 0x80 select sshd 5892 108213 65862 73 3 0x100090 kqread syslogd 65862 121284 1 0 3 0x100082 netio syslogd 98808 346349 1 77 2 0x100010 dhclient *10805 469369 1 0 7 0 dhclient 4526 310942 0 0 2 0x14200 zerothread 41590 436360 0 0 3 0x14200 aiodoned aiodoned 73646 270006 0 0 3 0x14200 syncer update 66688 33211 0 0 3 0x14200 cleaner cleaner 38227 427143 0 0 3 0x14200 reaper reaper 64269 328391 0 0 3 0x14200 pgdaemon pagedaemon 39488 351356 0 0 3 0x14200 bored crynlk 48021 323165 0 0 3 0x14200 bored crypto 26414 265464 0 0 3 0x40014200 acpi0 acpi0 6527 340003 0 0 3 0x14200 bored softnet 51712 137577 0 0 3 0x14200 bored systqmp 44701 135266 0 0 3 0x14200 bored systq 60124 48370 0 0 3 0x40014200 bored softclock 17412 490547 0 0 3 0x40014200 idle0 66438 397928 0 0 3 0x14200 bored smr 1 120522 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 9516 6536K 7242K 78643K 12543 0 pcb 13 8K 8K 78643K 83 0 rtable 101 11K 11K 78643K 334 0 ifaddr 70 14K 14K 78643K 114 0 counters 21 16K 16K 78643K 26 0 ioctlops 0 0K 2K 78643K 32 0 iov 0 0K 12K 78643K 59 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1730 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 58 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 442 0 proc 49 38K 63K 78643K 424 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 137 0 in_multi 51 2K 2K 78643K 119 0 ether_multi 1 0K 0K 78643K 9 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 219 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 29K 78643K 1869 0 UVM aobj 23 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 74 0 NDP 12 0K 0K 78643K 26 0 temp 126 3022K 3086K 78643K 30693 0 kqueue 3 4K 9K 78643K 20 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 53 0 51 1 0 1 1 0 8 0 rtentry 112 74 0 35 2 0 2 2 0 8 0 unpcb 120 191 0 183 1 0 1 1 0 8 0 syncache 264 7 0 7 2 2 0 1 0 8 0 tcpcb 544 391 0 387 2 1 1 2 0 8 0 inpcb 280 898 0 891 3 1 2 2 0 8 1 nd6 48 14 0 12 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 342 0 179 14 2 12 14 0 8 0 art_table 32 344 0 179 2 0 2 2 0 8 0 art_node 16 73 0 36 1 0 1 1 0 8 0 sysvmsgpl 40 26 0 7 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 56 0 46 1 0 1 1 0 8 0 shmpl 112 21 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1939 0 536 46 0 46 46 0 8 0 ffsino 240 1939 0 536 83 0 83 83 0 8 0 nchpl 144 2695 0 1097 60 0 60 60 0 8 0 uvmvnodes 72 2436 0 0 45 0 45 45 0 8 0 vnodes 208 2436 0 0 129 0 129 129 0 8 0 namei 1024 7358 0 7358 1 0 1 1 0 8 1 vmpool 528 2 0 2 1 1 0 1 0 8 0 scxspl 192 8022 0 8022 1 0 1 1 0 8 1 plimitpl 152 39 0 32 1 0 1 1 0 8 0 sigapl 424 627 0 597 4 0 4 4 0 8 0 futexpl 56 9890 0 9890 1 0 1 1 0 8 1 knotepl 112 84 0 65 1 0 1 1 0 8 0 kqueuepl 144 76 0 74 1 0 1 1 0 8 0 pipelkpl 16 239 0 229 1 0 1 1 0 8 0 pipepl 120 478 0 459 2 1 1 2 0 8 0 fdescpl 432 611 0 597 2 0 2 2 0 8 0 filepl 120 4103 0 4007 4 0 4 4 0 8 1 lockfpl 104 80 0 79 1 0 1 1 0 8 0 lockfspl 48 33 0 32 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 340 0 333 1 0 1 1 0 8 0 zombiepl 144 597 0 596 1 0 1 1 0 8 0 processpl 896 627 0 596 4 0 4 4 0 8 0 procpl 624 1130 0 1091 4 0 4 4 0 8 0 sosppl 128 8 0 8 2 1 1 1 0 8 1 sockpl 400 1146 0 1129 4 1 3 4 0 8 1 mcl64k 65536 26 0 26 2 1 1 1 0 8 1 mcl12k 12288 11 0 11 1 0 1 1 0 8 1 mcl9k 9216 4 0 4 1 1 0 1 0 8 0 mcl8k 8192 13 0 13 1 0 1 1 0 8 1 mcl4k 4096 54 0 54 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 66437 0 66396 14 8 6 12 0 8 0 mtagpl 80 9 0 2 2 1 1 1 0 8 0 mbufpl 256 107447 0 107282 17 3 14 14 0 8 1 bufpl 280 4923 0 164 340 0 340 340 0 8 0 anonpl 16 74869 0 58670 85 8 77 84 0 107 9 amapchunkpl 152 3463 0 3321 20 13 7 20 0 158 1 amappl16 192 3149 0 2251 58 11 47 56 0 8 1 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 130 0 129 2 1 1 1 0 8 0 amappl13 168 29 0 28 1 0 1 1 0 8 0 amappl12 160 229 0 226 1 0 1 1 0 8 0 amappl11 152 71 0 57 1 0 1 1 0 8 0 amappl10 144 12 0 9 1 0 1 1 0 8 0 amappl9 136 439 0 434 1 0 1 1 0 8 0 amappl8 128 342 0 321 1 0 1 1 0 8 0 amappl7 120 113 0 102 1 0 1 1 0 8 0 amappl6 112 23 0 18 1 0 1 1 0 8 0 amappl5 104 762 0 749 1 0 1 1 0 8 0 amappl4 96 449 0 419 1 0 1 1 0 8 0 amappl3 88 236 0 231 1 0 1 1 0 8 0 amappl2 80 4037 0 3973 3 1 2 3 0 8 0 amappl1 72 20086 0 19681 26 17 9 20 0 8 0 amappl 80 1387 0 1343 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 22 0 0 1 0 1 1 0 8 0 uaddrrnd 24 613 0 599 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 613 0 599 1 0 1 1 0 8 0 vmmpekpl 168 8216 0 8190 2 0 2 2 0 8 0 vmmpepl 168 78633 0 76684 138 18 120 120 0 357 30 vmsppl 272 612 0 599 2 1 1 2 0 8 0 pdppl 4096 1232 0 1198 6 1 5 6 0 8 0 pvpl 32 216958 0 197772 199 6 193 199 0 265 34 pmappl 200 612 0 599 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 159 0 21 5 0 5 5 0 8 0