panic: receive 1a: so 0xfffffd805e567320, so_type 3, m 0xfffffd805cb53c00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 19148 88122 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b62ef) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e567320,0,ffff80001d3722b8,0,0,ffff80001d3721c4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb12258,ffff80001d3722b8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3399c8,6,ffff80001d3722b8,0,ffff80001d3723a0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3399c8,ffff80001d372350,ffff80001d3723a0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372420) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd2380, 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 0xfffffd805e567320, so_type 3, m 0xfffffd805cb53c00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b62ef) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e567320,0,ffff80001d3722b8,0,0,ffff80001d3721c4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb12258,ffff80001d3722b8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3399c8,6,ffff80001d3722b8,0,ffff80001d3723a0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3399c8,ffff80001d372350,ffff80001d3723a0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372420) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd2380, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372000 rbx 0xffff80001d3720b0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d371fc0 r9 0x1 r10 0 r11 0x3c08fd388250ecf0 r12 0x3000000008 r13 0xffff80001d372010 r14 0x100 r15 0x1 rip 0xffffffff8198e138 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d371ff0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=19148 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d339ea8,0xffff80001d339c48 process=0xffff8000ffffa010 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a440 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 82043 350693 40075 0 2 0 syz-executor.0 82043 277409 40075 0 2 0x4000000 syz-executor.0 62588 440608 25458 60928 3 0x90 nanosleep syz-executor.1 62588 226793 25458 60928 3 0x4000090 msgwait syz-executor.1 62588 428276 25458 60928 3 0x4000090 msgwait syz-executor.1 62588 250114 25458 60928 3 0x4000090 fsleep syz-executor.1 40075 65946 52172 0 3 0x82 nanosleep syz-executor.0 25458 180939 52172 0 3 0x82 nanosleep syz-executor.1 52172 359922 32848 0 3 0x82 thrsleep syz-fuzzer 52172 240303 32848 0 3 0x4000082 thrsleep syz-fuzzer 52172 358347 32848 0 3 0x4000082 kqread syz-fuzzer 52172 37971 32848 0 3 0x4000082 thrsleep syz-fuzzer 52172 41182 32848 0 3 0x4000082 thrsleep syz-fuzzer 52172 276698 32848 0 3 0x4000082 thrsleep syz-fuzzer 52172 126294 32848 0 3 0x4000082 thrsleep syz-fuzzer 32848 508286 95458 0 3 0x10008a pause ksh 95458 247355 22568 0 3 0x92 select sshd 95649 72073 1 0 3 0x100083 ttyin getty 22568 484628 1 0 3 0x80 select sshd 47559 340454 62996 73 3 0x100090 kqread syslogd 62996 29823 1 0 3 0x100082 netio syslogd 47544 477699 1 77 2 0x100010 dhclient *88122 19148 1 0 7 0 dhclient 12067 78737 0 0 2 0x14200 zerothread 63091 25864 0 0 3 0x14200 aiodoned aiodoned 4335 244452 0 0 3 0x14200 syncer update 68167 362199 0 0 3 0x14200 cleaner cleaner 25371 11000 0 0 3 0x14200 reaper reaper 23017 116502 0 0 3 0x14200 pgdaemon pagedaemon 24100 494494 0 0 3 0x14200 bored crynlk 62510 501296 0 0 3 0x14200 bored crypto 42057 389348 0 0 3 0x40014200 acpi0 acpi0 52936 518189 0 0 3 0x14200 bored softnet 74930 444667 0 0 3 0x14200 bored systqmp 48089 295879 0 0 3 0x14200 bored systq 4372 260776 0 0 3 0x40014200 bored softclock 66272 349879 0 0 3 0x40014200 idle0 33434 289334 0 0 3 0x14200 bored smr 1 235663 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 9462 6453K 6875K 78643K 10623 0 pcb 14 8K 8K 78643K 24 0 rtable 105 3K 3K 78643K 208 0 ifaddr 39 10K 10K 78643K 41 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 17 0 iov 0 0K 12K 78643K 2 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1254 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 0K 0K 78643K 2 0 sem 6 0K 0K 78643K 6 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 58 0 proc 49 38K 63K 78643K 367 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 2 0 in_multi 33 2K 2K 78643K 37 0 ether_multi 1 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 184 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 100 21K 22K 78643K 955 0 UVM aobj 4 4K 4K 78643K 4 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 4 0 NDP 5 0K 0K 78643K 9 0 temp 64 3008K 3072K 78643K 1876 0 kqueue 3 4K 5K 78643K 5 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 38 0 35 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 46 0 31 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 125 0 125 2 1 1 1 0 8 1 tcpcb 544 20 0 15 1 0 1 1 0 8 0 inpcb 280 70 0 60 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 189 0 0 12 0 12 12 0 8 0 art_table 32 190 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 4 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1466 0 68 46 0 46 46 0 8 0 ffsino 240 1466 0 68 83 0 83 83 0 8 0 nchpl 144 1721 0 110 60 0 60 60 0 8 0 uvmvnodes 72 1527 0 0 28 0 28 28 0 8 0 vnodes 208 1527 0 0 81 0 81 81 0 8 0 namei 1024 4216 0 4216 1 0 1 1 0 8 1 scxspl 192 5235 0 5235 1 0 1 1 0 8 1 plimitpl 152 14 0 7 1 0 1 1 0 8 0 sigapl 424 244 0 215 4 0 4 4 0 8 0 futexpl 56 671 0 670 1 0 1 1 0 8 0 knotepl 112 55 0 36 1 0 1 1 0 8 0 kqueuepl 144 10 0 8 1 0 1 1 0 8 0 pipelkpl 16 81 0 71 1 0 1 1 0 8 0 pipepl 120 162 0 143 1 0 1 1 0 8 0 fdescpl 432 230 0 215 2 0 2 2 0 8 0 filepl 120 1266 0 1160 4 0 4 4 0 8 0 lockfpl 104 14 0 12 1 0 1 1 0 8 0 lockfspl 48 6 0 4 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 103 0 95 1 0 1 1 0 8 0 zombiepl 144 215 0 215 1 0 1 1 0 8 1 processpl 896 244 0 215 4 0 4 4 0 8 0 procpl 624 286 0 247 4 0 4 4 0 8 0 sockpl 400 156 0 128 4 0 4 4 0 8 1 mcl64k 65536 6 0 2 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 16 0 16 2 1 1 1 0 8 1 mcl2k 2048 64909 0 64865 14 2 12 12 0 8 6 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 102848 0 102723 12 2 10 10 0 8 0 bufpl 280 4057 0 162 279 0 279 279 0 8 0 anonpl 16 38229 0 22785 67 1 66 66 0 107 3 amapchunkpl 152 1131 0 981 8 0 8 8 0 158 1 amappl16 192 1081 0 249 44 0 44 44 0 8 2 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 2 0 1 2 1 1 1 0 8 0 amappl13 168 37 0 34 1 0 1 1 0 8 0 amappl12 160 5 0 4 2 1 1 1 0 8 0 amappl11 152 62 0 49 1 0 1 1 0 8 0 amappl10 144 23 0 17 1 0 1 1 0 8 0 amappl9 136 360 0 354 1 0 1 1 0 8 0 amappl8 128 286 0 264 1 0 1 1 0 8 0 amappl7 120 105 0 95 1 0 1 1 0 8 0 amappl6 112 22 0 18 1 0 1 1 0 8 0 amappl5 104 221 0 210 1 0 1 1 0 8 0 amappl4 96 447 0 416 2 1 1 2 0 8 0 amappl3 88 105 0 100 1 0 1 1 0 8 0 amappl2 80 1036 0 962 3 1 2 3 0 8 0 amappl1 72 13889 0 13454 27 13 14 20 0 8 5 amappl 80 515 0 468 2 0 2 2 0 84 1 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 230 0 215 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 230 0 215 1 0 1 1 0 8 0 vmmpekpl 168 5757 0 5731 2 0 2 2 0 8 0 vmmpepl 168 35421 0 33413 122 7 115 115 0 357 27 vmsppl 272 229 0 215 2 0 2 2 0 8 1 pdppl 4096 466 0 430 6 0 6 6 0 8 1 pvpl 32 131935 0 113434 162 0 162 162 0 265 12 pmappl 200 229 0 215 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 149 0 7 5 0 5 5 0 8 0