panic: receive 1a: so 0xfffffd806b78f190, so_type 3, m 0xfffffd805ed38100, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *390341 41093 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ce015) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b78f190,0,ffff80001d6e51d8,0,0,ffff80001d6e50e4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805eab8708,ffff80001d6e51d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e51d8,0,ffff80001d6e52c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5270,ffff80001d6e52c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5340) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd0d70, 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 0xfffffd806b78f190, so_type 3, m 0xfffffd805ed38100, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ce015) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b78f190,0,ffff80001d6e51d8,0,0,ffff80001d6e50e4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805eab8708,ffff80001d6e51d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e51d8,0,ffff80001d6e52c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5270,ffff80001d6e52c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5340) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd0d70, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4f20 rbx 0xffff80001d6e4fd0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81cace1f kprintf+0x15f r9 0x1 r10 0x2 r11 0x49b8e1a3e0f545da r12 0x3000000008 r13 0xffff80001d6e4f30 r14 0x100 r15 0x1 rip 0xffffffff81ebd538 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4f10 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=390341 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6a9ea8,0xffff80001d6a9768 process=0xffff80001d6c4010 user=0xffff80001d6e0000, vmspace=0xfffffd806bc0a000 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 4608 322484 53739 0 2 0 syz-executor.1 4608 467625 53739 0 2 0x4000000 syz-executor.1 11779 18506 0 0 3 0x14200 bored sosplice 46256 477651 1 0 3 0x100083 ttyin getty 53739 294997 68432 0 3 0x82 nanosleep syz-executor.1 21812 500627 68432 0 2 0x2 syz-executor.0 68432 268594 22707 0 3 0x82 thrsleep syz-fuzzer 68432 270256 22707 0 3 0x4000082 thrsleep syz-fuzzer 68432 447033 22707 0 3 0x4000082 thrsleep syz-fuzzer 68432 31203 22707 0 3 0x4000082 thrsleep syz-fuzzer 68432 347090 22707 0 3 0x4000082 thrsleep syz-fuzzer 68432 75111 22707 0 3 0x4000082 thrsleep syz-fuzzer 68432 190399 22707 0 3 0x4000082 thrsleep syz-fuzzer 68432 283333 22707 0 3 0x4000082 kqread syz-fuzzer 22707 112049 57707 0 3 0x10008a pause ksh 57707 245729 67468 0 3 0x92 select sshd 67468 480162 1 0 3 0x80 select sshd 27056 464706 53880 73 3 0x100090 kqread syslogd 53880 241922 1 0 3 0x100082 netio syslogd 96753 226889 1 77 2 0x100010 dhclient *41093 390341 1 0 7 0 dhclient 42733 205311 0 0 3 0x14200 bored smr 21865 128881 0 0 2 0x14200 zerothread 87736 495991 0 0 3 0x14200 aiodoned aiodoned 39724 215687 0 0 3 0x14200 syncer update 51987 319048 0 0 3 0x14200 cleaner cleaner 57871 331511 0 0 3 0x14200 reaper reaper 41014 811 0 0 3 0x14200 pgdaemon pagedaemon 10635 412220 0 0 3 0x14200 bored crynlk 6788 495877 0 0 3 0x14200 bored crypto 53514 441851 0 0 3 0x40014200 acpi0 acpi0 15213 106429 0 0 3 0x14200 bored softnet 60425 153330 0 0 3 0x14200 bored systqmp 93472 245652 0 0 3 0x14200 bored systq 47426 472566 0 0 2 0x40014200 softclock 11311 298155 0 0 3 0x40014200 idle0 1 119991 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 9514 6356K 6849K 78643K 10980 0 pcb 13 8K 8K 78643K 51 0 rtable 109 4K 5K 78643K 424 0 ifaddr 73 13K 13K 78643K 91 0 counters 21 16K 16K 78643K 22 0 ioctlops 0 0K 4K 78643K 49 0 iov 0 0K 16K 78643K 36 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1387 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 66 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 248 0 sigio 0 0K 0K 78643K 7 0 proc 49 38K 54K 78643K 389 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 9 0 in_multi 29 1K 2K 78643K 55 0 ether_multi 1 0K 0K 78643K 6 0 mrt 0 0K 0K 78643K 8 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 1K 78643K 189 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 126 23K 35K 78643K 1412 0 UVM aobj 19 2K 2K 78643K 23 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 32 0 NDP 13 0K 0K 78643K 20 0 temp 101 3852K 3916K 78643K 8290 0 kqueue 3 4K 9K 78643K 22 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 7 0 0 1 0 1 1 0 8 0 rtpcb 80 195 0 193 1 0 1 1 0 8 0 rtentry 112 58 0 16 2 0 2 2 0 8 0 unpcb 120 131 0 123 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 141 0 141 1 1 0 1 0 8 0 tcpcb 544 66 0 62 1 0 1 1 0 8 0 inpcb 296 320 0 313 4 2 2 2 0 8 1 rttmr 72 4 0 4 1 0 1 1 0 8 1 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 48 10 0 5 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 ppxss 1136 1 0 1 1 1 0 1 0 8 0 pfstscr 40 2 0 1 1 0 1 1 0 8 0 pfrktable 1344 1 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 4 0 2 1 0 1 1 0 8 0 pfstate 328 2 0 1 1 0 1 1 0 8 0 pfrule 1360 6 0 2 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 201 0 18 13 0 13 13 0 8 0 art_table 32 202 0 18 2 0 2 2 0 8 0 art_node 16 55 0 17 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 50 0 40 1 0 1 1 0 8 0 shmpl 112 20 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1707 0 307 88 0 88 88 0 8 0 ffsino 240 1707 0 307 83 0 83 83 0 8 0 nchpl 144 2217 0 610 60 0 60 60 0 8 0 uvmvnodes 72 1884 0 0 35 0 35 35 0 8 0 vnodes 208 1884 0 0 100 0 100 100 0 8 0 namei 1024 5743 0 5743 3 2 1 1 0 8 1 vmpool 528 2 0 2 1 1 0 1 0 8 0 scxspl 192 6518 0 6518 3 2 1 1 0 8 1 plimitpl 152 25 0 18 1 0 1 1 0 8 0 sigapl 424 436 0 407 4 0 4 4 0 8 0 futexpl 56 4451 0 4451 3 2 1 1 0 8 1 knotepl 112 92 0 73 1 0 1 1 0 8 0 kqueuepl 144 27 0 25 1 0 1 1 0 8 0 pipepl 272 102 0 92 1 0 1 1 0 8 0 fdescpl 432 421 0 407 2 0 2 2 0 8 0 filepl 120 2403 0 2307 5 1 4 4 0 8 1 lockfpl 104 43 0 42 1 0 1 1 0 8 0 lockfspl 48 17 0 16 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 22 0 12 1 0 1 1 0 8 0 ucredpl 96 193 0 185 1 0 1 1 0 8 0 zombiepl 144 407 0 407 3 2 1 1 0 8 1 processpl 928 436 0 407 4 0 4 4 0 8 0 procpl 624 699 0 662 6 2 4 4 0 8 1 sockpl 400 652 0 635 5 1 4 4 0 8 2 mcl64k 65536 17 0 17 3 2 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 7 0 7 2 1 1 1 0 8 1 mcl9k 9216 7 0 7 2 1 1 1 0 8 1 mcl8k 8192 7 0 7 3 2 1 1 0 8 1 mcl4k 4096 31 0 31 4 3 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 93439 0 93390 20 12 8 15 0 8 0 mtagpl 96 36 0 7 2 1 1 1 0 8 0 mbufpl 256 149237 0 149074 21 3 18 18 0 8 0 bufpl 280 3646 0 124 252 0 252 252 0 8 0 anonpl 16 55571 0 37481 81 2 79 79 0 107 1 amapchunkpl 152 1686 0 1547 8 1 7 7 0 158 0 amappl16 192 2128 0 1068 56 1 55 55 0 8 1 amappl15 184 2 0 1 1 0 1 1 0 8 0 amappl14 176 23 0 19 1 0 1 1 0 8 0 amappl13 168 34 0 30 1 0 1 1 0 8 0 amappl12 160 14 0 11 1 0 1 1 0 8 0 amappl11 152 48 0 39 1 0 1 1 0 8 0 amappl10 144 123 0 113 1 0 1 1 0 8 0 amappl9 136 491 0 488 1 0 1 1 0 8 0 amappl8 128 338 0 294 2 0 2 2 0 8 0 amappl7 120 209 0 195 1 0 1 1 0 8 0 amappl6 112 22 0 17 1 0 1 1 0 8 0 amappl5 104 352 0 340 1 0 1 1 0 8 0 amappl4 96 422 0 396 1 0 1 1 0 8 0 amappl3 88 112 0 107 1 0 1 1 0 8 0 amappl2 80 2550 0 2482 2 0 2 2 0 8 0 amappl1 72 18352 0 17928 23 13 10 17 0 8 0 amappl 80 929 0 886 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 22 0 4 1 0 1 1 0 8 0 uaddrrnd 24 423 0 409 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 423 0 409 1 0 1 1 0 8 0 vmmpekpl 168 6646 0 6617 2 0 2 2 0 8 0 vmmpepl 168 58171 0 55995 129 28 101 114 0 357 6 vmsppl 272 422 0 409 2 1 1 2 0 8 0 pdppl 4096 852 0 818 6 1 5 6 0 8 0 pvpl 32 176518 0 155441 195 9 186 186 0 265 5 pmappl 200 422 0 409 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 267 0 32 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ce015) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b78f190,0,ffff80001d6e51d8,0,0,ffff80001d6e50e4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805eab8708,ffff80001d6e51d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e51d8,0,ffff80001d6e52c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5270,ffff80001d6e52c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5340) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd0d70, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ce015) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b78f190,0,ffff80001d6e51d8,0,0,ffff80001d6e50e4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805eab8708,ffff80001d6e51d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e51d8,0,ffff80001d6e52c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5270,ffff80001d6e52c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5340) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd0d70, count: -8