panic: receive 3: so 0xfffffd806483e4b0, so_type 3, m 0xfffffd805e110500, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *489133 76046 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821add4b) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806483e4b0,0,ffff80001d372b78,0,0,ffff80001d372a84) at soreceive+0x16e7 soo_read(fffffd805eb117f8,ffff80001d372b78,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d372b78,0,ffff80001d372c60) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,ffff80001d372c10,ffff80001d372c60) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372ce0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdfe10, 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 0xfffffd806483e4b0, so_type 3, m 0xfffffd805e110500, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821add4b) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806483e4b0,0,ffff80001d372b78,0,0,ffff80001d372a84) at soreceive+0x16e7 soo_read(fffffd805eb117f8,ffff80001d372b78,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d372b78,0,ffff80001d372c60) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,ffff80001d372c10,ffff80001d372c60) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372ce0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdfe10, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d3728c0 rbx 0xffff80001d372970 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372880 r9 0x1 r10 0 r11 0xf3a99d3bd18b09c1 r12 0x3000000008 r13 0xffff80001d3728d0 r14 0x100 r15 0x1 rip 0xffffffff81fe99a8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3728b0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=489133 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d339ea8,0xffff80001d3399d8 process=0xffff8000ffffa390 user=0xffff80001d36d000, vmspace=0xfffffd806bc09770 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 97620 81242 30051 0 2 0 syz-executor.1 97620 429927 30051 0 2 0x4000000 syz-executor.1 7314 41022 54383 0 2 0x2 syz-executor.0 38637 523096 0 0 3 0x14200 acct acct 44827 300411 0 0 3 0x14200 bored sosplice 30051 344822 54383 0 3 0x82 nanosleep syz-executor.1 54383 322126 23353 0 3 0x82 thrsleep syz-fuzzer 54383 1496 23353 0 2 0x4000482 syz-fuzzer 54383 515578 23353 0 3 0x4000082 thrsleep syz-fuzzer 54383 422311 23353 0 3 0x4000082 thrsleep syz-fuzzer 54383 129292 23353 0 3 0x4000082 kqread syz-fuzzer 54383 349654 23353 0 3 0x4000082 thrsleep syz-fuzzer 54383 242491 23353 0 3 0x4000082 thrsleep syz-fuzzer 54383 142217 23353 0 3 0x4000082 thrsleep syz-fuzzer 23353 449819 4628 0 3 0x10008a pause ksh 4628 67088 43372 0 3 0x92 select sshd 90569 437819 1 0 3 0x100083 ttyin getty 43372 53367 1 0 3 0x80 select sshd 57226 273504 89167 73 3 0x100090 kqread syslogd 89167 246896 1 0 3 0x100082 netio syslogd 66470 364723 1 77 2 0x100010 dhclient *76046 489133 1 0 7 0 dhclient 26512 523142 0 0 2 0x14200 zerothread 39758 111068 0 0 3 0x14200 aiodoned aiodoned 25435 503725 0 0 3 0x14200 syncer update 45390 396150 0 0 3 0x14200 cleaner cleaner 69348 342986 0 0 3 0x14200 reaper reaper 14641 436061 0 0 3 0x14200 pgdaemon pagedaemon 49468 73143 0 0 3 0x14200 bored crynlk 75010 137390 0 0 3 0x14200 bored crypto 90537 316392 0 0 3 0x40014200 acpi0 acpi0 88215 406294 0 0 2 0x14200 softnet 30587 306541 0 0 3 0x14200 bored systqmp 3904 111394 0 0 3 0x14200 bored systq 44276 394063 0 0 3 0x40014200 bored softclock 22706 438008 0 0 3 0x40014200 idle0 90793 280425 0 0 3 0x14200 bored smr 1 275016 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 6494K 7902K 78643K 12540 0 pcb 13 10K 12K 78643K 220 0 rtable 82 3K 4K 78643K 639 0 ifaddr 104 20K 20K 78643K 254 0 counters 22 16K 17K 78643K 46 0 ioctlops 0 0K 2K 78643K 77 0 iov 0 0K 16K 78643K 140 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1885 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 18 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 140 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 833 0 sigio 0 0K 0K 78643K 19 0 proc 50 38K 62K 78643K 620 0 subproc 32 2K 2K 78643K 102 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 191 0 in_multi 127 5K 5K 78643K 314 0 ether_multi 1 0K 0K 78643K 38 0 mrt 0 0K 0K 78643K 12 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 91 413K 413K 78643K 91 0 exec 0 0K 1K 78643K 339 0 pfkey data 0 0K 1K 78643K 6 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 114 70K 95K 78643K 3143 0 UVM aobj 49 4K 5K 78643K 59 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 159 0 NDP 15 0K 0K 78643K 57 0 temp 142 3022K 3098K 78643K 29393 0 kqueue 3 4K 50K 78643K 391 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 17 0 11 1 0 1 1 0 8 0 rtpcb 80 96 0 93 1 0 1 1 0 8 0 rtentry 112 132 0 101 2 0 2 2 0 8 0 unpcb 120 1258 0 1249 7 6 1 2 0 8 0 syncache 264 21 0 21 4 4 0 1 0 8 0 tcpqe 32 45 0 45 1 1 0 1 0 8 0 tcpcb 544 1164 0 1160 31 29 2 15 0 8 1 ipq 40 7 0 7 5 4 1 1 0 8 1 ipqe 40 145 0 145 5 4 1 1 0 8 1 inpcb 280 3292 0 3285 28 26 2 9 0 8 1 rttmr 72 4 0 4 3 3 0 1 0 8 0 nd6 48 24 0 20 1 0 1 1 0 8 0 pkpcb 40 16 0 16 4 4 0 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 701 0 545 19 7 12 13 0 8 1 art_table 32 703 0 545 2 0 2 2 0 8 0 art_node 16 131 0 105 1 0 1 1 0 8 0 sysvmsgpl 40 40 0 26 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 138 0 128 1 0 1 1 0 8 0 shmpl 112 57 0 10 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2600 0 1209 46 0 46 46 0 8 0 ffsino 240 2600 0 1209 83 0 83 83 0 8 0 nchpl 144 3933 0 2339 60 0 60 60 0 8 0 uvmvnodes 72 3119 0 0 57 0 57 57 0 8 0 vnodes 208 3119 0 0 165 0 165 165 0 8 0 namei 1024 12096 0 12095 2 1 1 1 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 528 14 0 10 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 13092 0 13092 1 0 1 1 0 8 1 plimitpl 152 65 0 58 1 0 1 1 0 8 0 sigapl 424 1009 0 979 4 0 4 4 0 8 0 futexpl 56 29098 0 29098 3 2 1 1 0 8 1 knotepl 112 707 0 688 1 0 1 1 0 8 0 kqueuepl 144 1296 0 1294 9 8 1 5 0 8 0 pipelkpl 16 288 0 278 1 0 1 1 0 8 0 pipepl 120 576 0 557 3 2 1 2 0 8 0 fdescpl 432 993 0 979 2 0 2 2 0 8 0 filepl 120 10670 0 10572 28 23 5 11 0 8 2 lockfpl 104 232 0 230 1 0 1 1 0 8 0 lockfspl 48 83 0 81 1 0 1 1 0 8 0 sessionpl 112 21 0 11 1 0 1 1 0 8 0 pgrppl 48 65 0 55 1 0 1 1 0 8 0 ucredpl 96 1114 0 1107 1 0 1 1 0 8 0 zombiepl 144 979 0 979 2 1 1 1 0 8 1 processpl 896 1009 0 979 4 0 4 4 0 8 0 procpl 624 2211 0 2173 5 1 4 4 0 8 0 sosppl 128 333 0 333 4 3 1 1 0 8 1 sockpl 400 4674 0 4655 50 44 6 15 0 8 3 mcl64k 65536 111 0 111 7 6 1 4 0 8 1 mcl16k 16384 11 0 11 4 3 1 1 0 8 1 mcl12k 12288 24 0 24 6 5 1 1 0 8 1 mcl9k 9216 17 0 17 6 5 1 1 0 8 1 mcl8k 8192 60 0 59 5 4 1 1 0 8 0 mcl4k 4096 96 0 96 5 4 1 1 0 8 1 mcl2k2 2112 5 0 5 4 4 0 1 0 8 0 mcl2k 2048 67209 0 67162 16 9 7 13 0 8 1 mtagpl 80 149 0 79 3 1 2 2 0 8 0 mbufpl 256 114849 0 114502 60 28 32 33 0 8 8 bufpl 280 7236 0 1852 385 0 385 385 0 8 0 anonpl 16 137857 0 121811 129 49 80 84 0 107 10 amapchunkpl 152 6056 0 5915 37 17 20 20 0 158 13 amappl16 192 6378 0 5437 102 44 58 60 0 8 8 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 504 0 500 2 1 1 1 0 8 0 amappl13 168 88 0 87 1 0 1 1 0 8 0 amappl12 160 39 0 38 2 1 1 1 0 8 0 amappl11 152 223 0 210 1 0 1 1 0 8 0 amappl10 144 31 0 26 1 0 1 1 0 8 0 amappl9 136 392 0 388 1 0 1 1 0 8 0 amappl8 128 357 0 336 1 0 1 1 0 8 0 amappl7 120 139 0 127 1 0 1 1 0 8 0 amappl6 112 170 0 166 1 0 1 1 0 8 0 amappl5 104 653 0 642 1 0 1 1 0 8 0 amappl4 96 834 0 806 1 0 1 1 0 8 0 amappl3 88 644 0 638 1 0 1 1 0 8 0 amappl2 80 6907 0 6842 3 1 2 3 0 8 0 amappl1 72 28366 0 27955 26 17 9 20 0 8 0 amappl 80 2538 0 2490 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 58 0 10 1 0 1 1 0 8 0 uaddrrnd 24 1007 0 989 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1007 0 989 1 0 1 1 0 8 0 vmmpekpl 168 10504 0 10474 2 0 2 2 0 8 0 vmmpepl 168 128272 0 126269 197 72 125 133 0 357 30 vmsppl 272 1006 0 989 3 1 2 2 0 8 0 pdppl 4096 2020 0 1982 8 2 6 6 0 8 1 pvpl 32 360821 0 341773 265 76 189 201 0 265 24 pmappl 200 1006 0 989 3 1 2 2 0 8 1 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 305 0 141 5 0 5 5 0 8 0