panic: receive 1a: so 0xfffffd805e554000, so_type 3, m 0xfffffd8068d8be00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 56967 83397 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821a0883) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e554000,0,ffff80001d3825f8,0,0,ffff80001d382504) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd80687fb618,ffff80001d3825f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349278,6,ffff80001d3825f8,0,ffff80001d3826e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349278,ffff80001d382690,ffff80001d3826e0) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382760) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff2410, 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 0xfffffd805e554000, so_type 3, m 0xfffffd8068d8be00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821a0883) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e554000,0,ffff80001d3825f8,0,0,ffff80001d382504) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd80687fb618,ffff80001d3825f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349278,6,ffff80001d3825f8,0,ffff80001d3826e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349278,ffff80001d382690,ffff80001d3826e0) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382760) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff2410, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d382340 rbx 0xffff80001d3823f0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d382300 r9 0x1 r10 0 r11 0xdc689c4f61964ca2 r12 0x3000000008 r13 0xffff80001d382350 r14 0x100 r15 0x1 rip 0xffffffff81651a88 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d382330 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=56967 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d34a868,0xffff80001d349768 process=0xffff8000ffffae10 user=0xffff80001d37d000, vmspace=0xfffffd806bc09220 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 50348 127537 90441 0 2 0 syz-executor.1 50348 462424 90441 0 3 0x4000000 smrbar syz-executor.1 38922 60464 72616 0 2 0x480 syz-executor.0 38922 58171 72616 0 3 0x4000080 fsleep syz-executor.0 38922 489937 72616 0 2 0x4000000 syz-executor.0 38922 29986 72616 0 3 0x4000080 fsleep syz-executor.0 90441 485141 14190 0 3 0x82 nanosleep syz-executor.1 72616 410482 14190 0 2 0x482 syz-executor.0 14190 431754 23189 0 3 0x82 thrsleep syz-fuzzer 14190 354558 23189 0 2 0x4000482 syz-fuzzer 14190 376460 23189 0 3 0x4000082 kqread syz-fuzzer 14190 343589 23189 0 3 0x4000082 thrsleep syz-fuzzer 14190 389729 23189 0 3 0x4000082 thrsleep syz-fuzzer 14190 259139 23189 0 3 0x4000082 thrsleep syz-fuzzer 14190 354610 23189 0 3 0x4000082 thrsleep syz-fuzzer 14190 6729 23189 0 3 0x4000082 thrsleep syz-fuzzer 23189 499346 65412 0 3 0x10008a pause ksh 65412 94721 30060 0 3 0x92 select sshd 56896 69060 1 0 3 0x100083 ttyin getty 30060 356902 1 0 3 0x80 select sshd 77413 3386 5683 73 3 0x100090 kqread syslogd 5683 356312 1 0 3 0x100082 netio syslogd 68060 379208 1 77 2 0x100010 dhclient *83397 56967 1 0 7 0 dhclient 94835 16107 0 0 2 0x14200 zerothread 62602 156088 0 0 3 0x14200 aiodoned aiodoned 45173 12898 0 0 3 0x14200 syncer update 55475 71410 0 0 3 0x14200 cleaner cleaner 86675 394351 0 0 3 0x14200 reaper reaper 30069 334256 0 0 3 0x14200 pgdaemon pagedaemon 69271 129198 0 0 3 0x14200 bored crynlk 7912 114970 0 0 3 0x14200 bored crypto 73544 232295 0 0 3 0x40014200 acpi0 acpi0 51099 138428 0 0 3 0x14200 bored softnet 9528 304958 0 0 3 0x14200 bored systqmp 26053 16078 0 0 3 0x14200 bored systq 4978 283257 0 0 3 0x40014200 bored softclock 80479 161594 0 0 3 0x40014200 idle0 1287 109919 0 0 3 0x14200 bored smr 1 433697 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 9448 6323K 6980K 78643K 10645 0 pcb 13 8K 8K 78643K 17 0 rtable 105 3K 3K 78643K 191 0 ifaddr 39 10K 10K 78643K 41 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 15 0 iov 0 0K 12K 78643K 2 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1250 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 4 0K 0K 78643K 4 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 57 0 proc 48 38K 54K 78643K 369 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 17 0 in_multi 33 2K 2K 78643K 34 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 182 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 104 21K 21K 78643K 966 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 8 0 NDP 5 0K 0K 78643K 9 0 temp 64 3004K 3068K 78643K 1971 0 kqueue 3 4K 4K 78643K 3 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 19 0 17 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 55 0 47 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 291 0 291 1 0 1 1 0 8 1 tcpcb 544 36 0 30 1 0 1 1 0 8 0 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 45 0 45 1 0 1 1 0 8 1 inpcb 280 82 0 73 2 0 2 2 0 8 1 nd6 48 4 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 213 0 0 14 0 14 14 0 8 0 art_table 32 214 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 8 1 0 1 1 0 8 1 semapl 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 1453 0 55 46 0 46 46 0 8 0 ffsino 240 1453 0 55 83 0 83 83 0 8 0 nchpl 144 1722 0 110 60 0 60 60 0 8 0 uvmvnodes 72 1525 0 0 28 0 28 28 0 8 0 vnodes 208 1525 0 0 81 0 81 81 0 8 0 namei 1024 4197 0 4197 2 1 1 1 0 8 1 scxspl 192 5202 0 5202 1 0 1 1 0 8 1 plimitpl 152 14 0 7 1 0 1 1 0 8 0 sigapl 432 228 0 214 2 0 2 2 0 8 0 futexpl 56 795 0 793 1 0 1 1 0 8 0 knotepl 112 53 0 34 1 0 1 1 0 8 0 kqueuepl 104 4 0 0 1 0 1 1 0 8 0 pipelkpl 16 73 0 63 1 0 1 1 0 8 0 pipepl 120 146 0 127 1 0 1 1 0 8 0 fdescpl 432 229 0 214 2 0 2 2 0 8 0 filepl 120 1260 0 1157 4 0 4 4 0 8 0 lockfpl 104 21 0 20 1 0 1 1 0 8 0 lockfspl 48 9 0 8 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 52 0 45 1 0 1 1 0 8 0 zombiepl 144 214 0 214 2 1 1 1 0 8 1 processpl 896 243 0 214 4 0 4 4 0 8 0 procpl 624 287 0 247 4 0 4 4 0 8 0 sockpl 400 156 0 137 4 0 4 4 0 8 1 mcl64k 65536 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 2 0 2 1 0 1 1 0 8 1 mcl4k 4096 12 0 12 2 1 1 1 0 8 1 mcl2k 2048 63566 0 63500 24 7 17 19 0 8 7 mtagpl 80 7 0 4 2 1 1 1 0 8 0 mbufpl 256 100585 0 100473 21 1 20 20 0 8 10 bufpl 280 4244 0 182 291 0 291 291 0 8 0 anonpl 16 37568 0 22160 63 1 62 62 0 107 0 amapchunkpl 152 979 0 840 8 0 8 8 0 158 1 amappl16 192 1010 0 170 42 0 42 42 0 8 0 amappl15 184 50 0 46 1 0 1 1 0 8 0 amappl14 176 40 0 34 1 0 1 1 0 8 0 amappl13 168 11 0 9 1 0 1 1 0 8 0 amappl12 160 6 0 6 1 1 0 1 0 8 0 amappl11 152 47 0 36 1 0 1 1 0 8 0 amappl10 144 20 0 16 1 0 1 1 0 8 0 amappl9 136 573 0 568 1 0 1 1 0 8 0 amappl8 128 109 0 88 1 0 1 1 0 8 0 amappl7 120 89 0 78 1 0 1 1 0 8 0 amappl6 112 54 0 50 1 0 1 1 0 8 0 amappl5 104 138 0 128 1 0 1 1 0 8 0 amappl4 96 433 0 406 1 0 1 1 0 8 0 amappl3 88 144 0 133 1 0 1 1 0 8 0 amappl2 80 1049 0 971 3 1 2 3 0 8 0 amappl1 72 14041 0 13601 27 17 10 20 0 8 1 amappl 80 504 0 459 1 0 1 1 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 229 0 214 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 229 0 214 1 0 1 1 0 8 0 vmmpekpl 168 5717 0 5692 2 0 2 2 0 8 0 vmmpepl 168 35139 0 33094 114 9 105 105 0 357 16 vmsppl 272 228 0 214 2 0 2 2 0 8 1 pdppl 4096 464 0 428 6 0 6 6 0 8 1 pvpl 32 128400 0 109942 158 2 156 156 0 265 7 pmappl 200 228 0 214 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 171 0 12 5 0 5 5 0 8 0