panic: receive 1a: so 0xfffffd805e563190, so_type 3, m 0xfffffd8053352b00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *324562 99540 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b8f28) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e563190,0,ffff80001d372b88,0,0,ffff80001d372a94) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8063421258,ffff80001d372b88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339c38,6,ffff80001d372b88,0,ffff80001d372c70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339c38,ffff80001d372c20,ffff80001d372c70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372cf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6900, 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 0xfffffd805e563190, so_type 3, m 0xfffffd8053352b00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b8f28) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e563190,0,ffff80001d372b88,0,0,ffff80001d372a94) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8063421258,ffff80001d372b88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339c38,6,ffff80001d372b88,0,ffff80001d372c70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339c38,ffff80001d372c20,ffff80001d372c70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372cf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6900, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d3728d0 rbx 0xffff80001d372980 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372890 r9 0x1 r10 0 r11 0x70fbd02948dd3ce r12 0x3000000008 r13 0xffff80001d3728e0 r14 0x100 r15 0x1 rip 0xffffffff81bf3908 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3728c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=324562 stat=onproc flags process=0 proc=0 pri=50, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d3399c8,0xffff80001d339eb8 process=0xffff8000ffffaa90 user=0xffff80001d36d000, vmspace=0xfffffd806bc09660 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 17058 259682 21113 0 2 0 syz-executor.0 17058 279584 21113 0 2 0x4000000 syz-executor.0 21113 319017 55158 0 3 0x82 nanosleep syz-executor.0 20971 438847 1 0 3 0x100083 ttyin getty 11244 386113 55158 0 2 0x2 syz-executor.1 26488 72804 0 0 3 0x14200 bored sosplice 45468 404720 0 0 3 0x14200 acct acct 55158 471226 32984 0 3 0x82 thrsleep syz-fuzzer 55158 192521 32984 0 3 0x4000082 nanosleep syz-fuzzer 55158 240752 32984 0 3 0x4000082 thrsleep syz-fuzzer 55158 118293 32984 0 3 0x4000082 thrsleep syz-fuzzer 55158 67110 32984 0 3 0x4000082 kqread syz-fuzzer 55158 425338 32984 0 3 0x4000082 thrsleep syz-fuzzer 55158 9791 32984 0 3 0x4000082 thrsleep syz-fuzzer 55158 80042 32984 0 3 0x4000082 thrsleep syz-fuzzer 32984 44567 46653 0 3 0x10008a pause ksh 46653 276825 93674 0 3 0x92 select sshd 93674 344027 1 0 3 0x80 select sshd 20371 441109 34198 73 3 0x100090 kqread syslogd 34198 306635 1 0 3 0x100082 netio syslogd 80105 35710 1 77 3 0x100090 poll dhclient *99540 324562 1 0 7 0 dhclient 33157 340903 0 0 3 0x14200 bored smr 38747 177372 0 0 2 0x14200 zerothread 30157 166814 0 0 3 0x14200 aiodoned aiodoned 51853 518941 0 0 3 0x14200 syncer update 21373 318498 0 0 3 0x14200 cleaner cleaner 66095 100658 0 0 3 0x14200 reaper reaper 50417 296825 0 0 3 0x14200 pgdaemon pagedaemon 32075 236713 0 0 3 0x14200 bored crynlk 26167 111026 0 0 3 0x14200 bored crypto 1358 263437 0 0 3 0x40014200 acpi0 acpi0 64810 445064 0 0 3 0x14200 bored softnet 24481 298320 0 0 3 0x14200 bored systqmp 94808 32712 0 0 3 0x14200 bored systq 74626 371127 0 0 3 0x40014200 bored softclock 60275 145856 0 0 3 0x40014200 idle0 1 370276 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 9539 6366K 7073K 78643K 13607 0 pcb 13 8K 8K 78643K 233 0 rtable 102 7K 8K 78643K 820 0 ifaddr 106 20K 20K 78643K 350 0 counters 21 16K 17K 78643K 64 0 ioctlops 0 0K 2K 78643K 58 0 iov 0 0K 16K 78643K 196 0 mount 1 1K 1K 78643K 1 0 vnodes 1225 77K 78K 78643K 2216 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 9 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 520 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 1380 0 sigio 0 0K 0K 78643K 60 0 proc 51 38K 63K 78643K 679 0 subproc 32 2K 2K 78643K 119 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 1K 78643K 494 0 in_multi 105 5K 5K 78643K 683 0 ether_multi 1 0K 0K 78643K 39 0 mrt 0 0K 0K 78643K 7 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 73 334K 334K 78643K 73 0 exec 0 0K 1K 78643K 370 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 130 55K 71K 78643K 4203 0 UVM aobj 125 5K 5K 78643K 127 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 196 0 NDP 17 0K 0K 78643K 79 0 temp 151 3023K 3098K 78643K 42535 0 kqueue 3 4K 12K 78643K 82 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 21 0 17 1 0 1 1 0 8 0 rtpcb 80 163 0 161 1 0 1 1 0 8 0 rtentry 112 145 0 107 3 1 2 2 0 8 0 unpcb 120 781 0 773 1 0 1 1 0 8 0 syncache 264 9 0 9 4 4 0 1 0 8 0 tcpqe 32 199 0 199 3 3 0 1 0 8 0 tcpcb 544 1034 0 1030 4 2 2 3 0 8 1 ipq 40 7 0 7 2 2 0 1 0 8 0 ipqe 40 229 0 229 2 2 0 1 0 8 0 inpcb 280 2073 0 2064 7 5 2 4 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 27 0 25 1 0 1 1 0 8 0 pkpcb 40 126 0 126 3 2 1 1 0 8 1 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 6 0 6 5 5 0 1 0 8 0 art_heap8 4096 6 0 3 5 2 3 4 0 8 0 art_heap4 256 677 0 486 18 4 14 16 0 8 0 art_table 32 683 0 489 3 1 2 3 0 8 0 art_node 16 142 0 107 1 0 1 1 0 8 0 sysvmsgpl 40 36 0 22 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 518 0 508 1 0 1 1 0 8 0 shmpl 112 125 0 2 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3285 0 1885 46 0 46 46 0 8 0 ffsino 240 3285 0 1885 83 0 83 83 0 8 0 nchpl 144 5955 0 4363 60 0 60 60 0 8 0 uvmvnodes 72 4102 0 0 75 0 75 75 0 8 0 vnodes 208 4102 0 0 216 0 216 216 0 8 0 namei 1024 18144 0 18144 1 0 1 1 0 8 1 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 528 6 0 2 1 0 1 1 0 8 0 scxspl 192 17176 0 17176 1 0 1 1 0 8 1 plimitpl 152 104 0 97 1 0 1 1 0 8 0 sigapl 424 1554 0 1524 4 0 4 4 0 8 0 futexpl 56 35530 0 35530 2 1 1 1 0 8 1 knotepl 112 219 0 200 1 0 1 1 0 8 0 kqueuepl 144 234 0 232 1 0 1 1 0 8 0 pipelkpl 16 396 0 386 1 0 1 1 0 8 0 pipepl 120 792 0 773 3 2 1 2 0 8 0 fdescpl 432 1538 0 1524 2 0 2 2 0 8 0 filepl 120 12343 0 12246 9 5 4 6 0 8 0 lockfpl 104 290 0 289 1 0 1 1 0 8 0 lockfspl 48 111 0 110 1 0 1 1 0 8 0 sessionpl 112 23 0 13 1 0 1 1 0 8 0 pgrppl 48 29 0 19 1 0 1 1 0 8 0 ucredpl 96 1188 0 1181 1 0 1 1 0 8 0 zombiepl 144 1524 0 1524 1 0 1 1 0 8 1 processpl 896 1554 0 1524 4 0 4 4 0 8 0 procpl 624 3221 0 3183 4 0 4 4 0 8 0 sosppl 128 94 0 94 4 3 1 1 0 8 1 sockpl 400 3175 0 3156 15 10 5 8 0 8 3 mcl64k 65536 117 0 117 2 1 1 1 0 8 1 mcl16k 16384 22 0 22 5 5 0 1 0 8 0 mcl12k 12288 41 0 41 5 4 1 1 0 8 1 mcl9k 9216 20 0 20 6 5 1 1 0 8 1 mcl8k 8192 128 0 128 2 1 1 1 0 8 1 mcl4k 4096 254 0 254 3 2 1 1 0 8 1 mcl2k2 2112 12 0 12 6 6 0 1 0 8 0 mcl2k 2048 65832 0 65783 21 14 7 16 0 8 0 mtagpl 80 272 0 224 6 1 5 5 0 8 0 mbufpl 256 118672 0 118405 70 46 24 54 0 8 0 bufpl 280 8627 0 3243 385 0 385 385 0 8 0 anonpl 16 176337 0 159829 111 28 83 84 0 107 14 amapchunkpl 152 9058 0 8924 46 27 19 20 0 158 12 amappl16 192 8519 0 7584 90 35 55 60 0 8 8 amappl15 184 64 0 63 1 0 1 1 0 8 0 amappl14 176 89 0 85 2 1 1 1 0 8 0 amappl13 168 380 0 379 1 0 1 1 0 8 0 amappl12 160 20 0 18 2 1 1 1 0 8 0 amappl11 152 622 0 609 1 0 1 1 0 8 0 amappl10 144 25 0 20 1 0 1 1 0 8 0 amappl9 136 139 0 135 1 0 1 1 0 8 0 amappl8 128 398 0 360 2 0 2 2 0 8 0 amappl7 120 148 0 136 1 0 1 1 0 8 0 amappl6 112 570 0 567 1 0 1 1 0 8 0 amappl5 104 1917 0 1905 1 0 1 1 0 8 0 amappl4 96 866 0 833 1 0 1 1 0 8 0 amappl3 88 208 0 203 1 0 1 1 0 8 0 amappl2 80 11305 0 11238 3 1 2 3 0 8 0 amappl1 72 36671 0 36250 26 16 10 20 0 8 0 amappl 80 3544 0 3499 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 126 0 2 2 0 2 2 0 8 0 uaddrrnd 24 1544 0 1526 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1544 0 1526 1 0 1 1 0 8 0 vmmpekpl 168 13085 0 13054 2 0 2 2 0 8 0 vmmpepl 168 189751 0 187726 176 61 115 124 0 357 21 vmsppl 272 1543 0 1526 3 1 2 2 0 8 0 pdppl 4096 3094 0 3056 8 2 6 6 0 8 0 pvpl 32 495205 0 475641 271 71 200 245 0 265 39 pmappl 200 1543 0 1526 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 249 0 92 6 0 6 6 0 8 0