panic: receive 3: so 0xfffffd806082e320, so_type 3, m 0xfffffd8052948100, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *302902 15124 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(fffffd806082e320,0,ffff80001d372d88,0,0,ffff80001d372c94) at soreceive+0x16e7 soo_read(fffffd805eb12348,ffff80001d372d88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d372d88,0,ffff80001d372e70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,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: 0x7f7ffffd2110, 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 0xfffffd806082e320, so_type 3, m 0xfffffd8052948100, 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(fffffd806082e320,0,ffff80001d372d88,0,0,ffff80001d372c94) at soreceive+0x16e7 soo_read(fffffd805eb12348,ffff80001d372d88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d372d88,0,ffff80001d372e70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,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: 0x7f7ffffd2110, 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 0x922de3b5ec4a15b4 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=302902 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a5f8,0xffff80001d3399d8 process=0xffff8000ffffaa90 user=0xffff80001d36d000, vmspace=0xfffffd806bc09550 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 10397 489697 47548 0 2 0 syz-executor.1 10397 144987 47548 0 2 0x4000000 syz-executor.1 90384 319610 47025 0 2 0x2 syz-executor.0 47548 114502 47025 0 2 0x482 syz-executor.1 16448 243025 0 0 3 0x14200 bored sosplice 47025 106770 59019 0 3 0x82 thrsleep syz-fuzzer 47025 9353 59019 0 2 0x4000482 syz-fuzzer 47025 193149 59019 0 3 0x4000082 thrsleep syz-fuzzer 47025 424460 59019 0 3 0x4000082 thrsleep syz-fuzzer 47025 487198 59019 0 3 0x4000082 thrsleep syz-fuzzer 47025 365361 59019 0 3 0x4000082 kqread syz-fuzzer 47025 115505 59019 0 3 0x4000082 thrsleep syz-fuzzer 47025 408367 59019 0 3 0x4000082 thrsleep syz-fuzzer 59019 333616 38962 0 3 0x10008a pause ksh 38962 412405 76057 0 3 0x92 select sshd 81792 353100 1 0 3 0x100083 ttyin getty 76057 462487 1 0 3 0x80 select sshd 18404 111453 72917 73 3 0x100090 kqread syslogd 72917 171285 1 0 3 0x100082 netio syslogd 57867 59197 1 77 3 0x100090 poll dhclient *15124 302902 1 0 7 0 dhclient 51935 70346 0 0 2 0x14200 zerothread 37054 352812 0 0 3 0x14200 aiodoned aiodoned 46138 126521 0 0 3 0x14200 syncer update 30108 427705 0 0 3 0x14200 cleaner cleaner 76454 83173 0 0 3 0x14200 reaper reaper 38100 45652 0 0 3 0x14200 pgdaemon pagedaemon 99401 48916 0 0 3 0x14200 bored crynlk 80491 448083 0 0 3 0x14200 bored crypto 60935 121007 0 0 3 0x40014200 acpi0 acpi0 82966 417690 0 0 3 0x14200 bored softnet 30005 455926 0 0 3 0x14200 bored systqmp 73821 508802 0 0 3 0x14200 bored systq 52230 198773 0 0 3 0x40014200 bored softclock 76304 154967 0 0 3 0x40014200 idle0 28141 238755 0 0 3 0x14200 bored smr 1 281987 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 9501 6342K 6852K 78643K 11160 0 pcb 13 8K 8K 78643K 100 0 rtable 98 3K 4K 78643K 473 0 ifaddr 80 16K 16K 78643K 160 0 counters 21 16K 16K 78643K 32 0 ioctlops 0 0K 2K 78643K 44 0 iov 0 0K 16K 78643K 75 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1514 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 8 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 43 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 407 0 sigio 0 0K 0K 78643K 4 0 proc 49 38K 54K 78643K 526 0 subproc 32 2K 2K 78643K 85 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 165 0 in_multi 81 3K 3K 78643K 191 0 ether_multi 1 0K 0K 78643K 16 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 79 360K 360K 78643K 79 0 exec 0 0K 1K 78643K 255 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 111 70K 70K 78643K 1969 0 UVM aobj 25 7K 7K 78643K 26 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 79 0 NDP 12 0K 0K 78643K 37 0 temp 126 3018K 3087K 78643K 18901 0 kqueue 3 4K 18K 78643K 95 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 15 0 9 1 0 1 1 0 8 0 rtpcb 80 66 0 64 1 0 1 1 0 8 0 rtentry 112 109 0 70 3 1 2 2 0 8 0 unpcb 120 306 0 298 3 2 1 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 186 0 186 1 1 0 1 0 8 0 tcpcb 544 219 0 215 1 0 1 1 0 8 0 ipq 40 5 0 5 2 2 0 1 0 8 0 ipqe 40 140 0 140 2 2 0 1 0 8 0 inpcb 280 754 0 747 5 3 2 3 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 ip6q 72 1 0 0 1 0 1 1 0 8 0 nd6 48 21 0 19 1 0 1 1 0 8 0 ppxss 1128 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 464 0 302 17 4 13 13 0 8 1 art_table 32 466 0 302 2 0 2 2 0 8 0 art_node 16 108 0 71 1 0 1 1 0 8 0 sysvmsgpl 40 45 0 17 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 41 0 31 1 0 1 1 0 8 0 shmpl 112 24 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1969 0 570 46 0 46 46 0 8 0 ffsino 240 1969 0 570 83 0 83 83 0 8 0 nchpl 144 2685 0 1096 60 0 60 60 0 8 0 uvmvnodes 72 2208 0 0 41 0 41 41 0 8 0 vnodes 208 2208 0 0 117 0 117 117 0 8 0 namei 1024 8109 0 8108 2 1 1 1 0 8 0 vcpupl 1984 6 0 0 1 0 1 1 0 8 0 vmpool 528 9 0 3 1 0 1 1 0 8 0 scxspl 192 8116 0 8116 2 1 1 1 0 8 1 plimitpl 152 59 0 52 1 0 1 1 0 8 0 sigapl 432 569 0 556 2 0 2 2 0 8 0 futexpl 56 10501 0 10501 2 1 1 1 0 8 1 knotepl 112 225 0 206 1 0 1 1 0 8 0 kqueuepl 144 460 0 458 1 0 1 1 0 8 0 pipelkpl 16 163 0 153 1 0 1 1 0 8 0 pipepl 120 326 0 307 2 1 1 2 0 8 0 fdescpl 432 570 0 556 2 0 2 2 0 8 0 filepl 120 4731 0 4635 7 3 4 6 0 8 0 lockfpl 104 90 0 89 1 0 1 1 0 8 0 lockfspl 48 33 0 32 1 0 1 1 0 8 0 sessionpl 112 20 0 10 1 0 1 1 0 8 0 pgrppl 48 22 0 12 1 0 1 1 0 8 0 ucredpl 96 700 0 693 1 0 1 1 0 8 0 zombiepl 144 556 0 556 1 0 1 1 0 8 1 processpl 896 585 0 556 4 0 4 4 0 8 0 procpl 624 1117 0 1080 4 0 4 4 0 8 0 sosppl 128 7 0 7 2 1 1 1 0 8 1 sockpl 400 1139 0 1122 10 7 3 5 0 8 1 mcl64k 65536 40 0 39 2 1 1 1 0 8 0 mcl16k 16384 5 0 5 3 2 1 1 0 8 1 mcl12k 12288 6 0 6 3 3 0 1 0 8 0 mcl9k 9216 8 0 8 3 2 1 1 0 8 1 mcl8k 8192 25 0 25 2 1 1 1 0 8 1 mcl4k 4096 62 0 62 3 2 1 1 0 8 1 mcl2k2 2112 5 0 5 2 2 0 1 0 8 0 mcl2k 2048 65152 0 65105 19 12 7 15 0 8 0 mtagpl 80 32 0 8 2 1 1 1 0 8 0 mbufpl 256 107415 0 107119 35 13 22 22 0 8 0 bufpl 280 4787 0 163 331 0 331 331 0 8 0 anonpl 16 80352 0 64433 84 0 84 84 0 107 15 amapchunkpl 152 3246 0 3105 12 5 7 10 0 158 0 amappl16 192 3078 0 2141 71 16 55 59 0 8 7 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 11 0 9 2 1 1 1 0 8 0 amappl13 168 41 0 40 1 0 1 1 0 8 0 amappl12 160 126 0 125 2 1 1 1 0 8 0 amappl11 152 201 0 188 1 0 1 1 0 8 0 amappl10 144 14 0 10 1 0 1 1 0 8 0 amappl9 136 487 0 482 1 0 1 1 0 8 0 amappl8 128 429 0 408 1 0 1 1 0 8 0 amappl7 120 125 0 113 1 0 1 1 0 8 0 amappl6 112 141 0 138 1 0 1 1 0 8 0 amappl5 104 545 0 534 1 0 1 1 0 8 0 amappl4 96 485 0 454 1 0 1 1 0 8 0 amappl3 88 119 0 113 1 0 1 1 0 8 0 amappl2 80 3628 0 3563 3 1 2 3 0 8 0 amappl1 72 20383 0 19974 27 18 9 20 0 8 0 amappl 80 1416 0 1370 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 25 0 1 1 0 1 1 0 8 0 uaddrrnd 24 579 0 559 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 579 0 559 1 0 1 1 0 8 0 vmmpekpl 168 7965 0 7936 2 0 2 2 0 8 0 vmmpepl 168 77445 0 75439 138 34 104 124 0 357 14 vmsppl 272 578 0 559 3 1 2 2 0 8 0 pdppl 4096 1164 0 1124 8 2 6 6 0 8 0 pvpl 32 229029 0 210122 200 7 193 193 0 265 31 pmappl 200 578 0 559 2 0 2 2 0 8 1 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 199 0 48 5 0 5 5 0 8 0