panic: receive 1a: so 0xfffffd805e554320, so_type 3, m 0xfffffd8059937800, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *223123 27612 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219f800) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e554320,0,ffff80001d382cf8,0,0,ffff80001d382c04) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb0b3c0,ffff80001d382cf8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349008,6,ffff80001d382cf8,0,ffff80001d382de0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349008,ffff80001d382d90,ffff80001d382de0) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382e60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe6e80, 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 0xfffffd805e554320, so_type 3, m 0xfffffd8059937800, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219f800) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e554320,0,ffff80001d382cf8,0,0,ffff80001d382c04) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb0b3c0,ffff80001d382cf8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349008,6,ffff80001d382cf8,0,ffff80001d382de0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349008,ffff80001d382d90,ffff80001d382de0) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382e60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe6e80, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d382a40 rbx 0xffff80001d382af0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d382a00 r9 0x1 r10 0 r11 0xa7f1185bf0b96889 r12 0x3000000008 r13 0xffff80001d382a50 r14 0x100 r15 0x1 rip 0xffffffff811bd8a8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d382a30 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=223123 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d34a868,0xffff80001d3499d8 process=0xffff8000ffffa010 user=0xffff80001d37d000, vmspace=0xfffffd806bc09770 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 7575 236341 76685 0 2 0 syz-executor.0 7575 221732 76685 0 2 0x4000000 syz-executor.0 57814 451629 96978 0 2 0 syz-executor.1 57814 153945 96978 0 3 0x4000080 switchread syz-executor.1 76685 304086 37665 0 2 0x482 syz-executor.0 30346 426817 0 0 3 0x14200 bored sosplice 94079 58621 1 0 3 0x100083 ttyin getty 96978 37 37665 0 3 0x82 nanosleep syz-executor.1 37665 494616 27408 0 3 0x82 thrsleep syz-fuzzer 37665 285565 27408 0 3 0x4000082 thrsleep syz-fuzzer 37665 170711 27408 0 3 0x4000082 thrsleep syz-fuzzer 37665 254401 27408 0 3 0x4000082 thrsleep syz-fuzzer 37665 482493 27408 0 3 0x4000082 thrsleep syz-fuzzer 37665 348454 27408 0 3 0x4000082 kqread syz-fuzzer 37665 121405 27408 0 3 0x4000082 thrsleep syz-fuzzer 37665 472454 27408 0 3 0x4000082 thrsleep syz-fuzzer 27408 13773 31116 0 3 0x10008a pause ksh 31116 62471 32346 0 3 0x92 select sshd 32346 453952 1 0 3 0x80 select sshd 47927 47782 65706 73 3 0x100090 kqread syslogd 65706 200770 1 0 3 0x100082 netio syslogd 84335 263551 1 77 2 0x100010 dhclient *27612 223123 1 0 7 0 dhclient 32157 429499 0 0 2 0x14200 zerothread 47965 9833 0 0 3 0x14200 aiodoned aiodoned 92534 280687 0 0 3 0x14200 syncer update 65657 118591 0 0 3 0x14200 cleaner cleaner 95378 248468 0 0 3 0x14200 reaper reaper 32073 129761 0 0 3 0x14200 pgdaemon pagedaemon 48614 162815 0 0 3 0x14200 bored crynlk 53573 466595 0 0 3 0x14200 bored crypto 29127 402346 0 0 3 0x40014200 acpi0 acpi0 39460 505109 0 0 3 0x14200 bored softnet 83608 121799 0 0 3 0x14200 bored systqmp 3069 400175 0 0 3 0x14200 bored systq 2767 397158 0 0 3 0x40014200 bored softclock 79950 293121 0 0 3 0x40014200 idle0 10932 205678 0 0 3 0x14200 bored smr 1 163277 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 9529 6361K 7832K 78643K 13142 0 pcb 13 8K 8K 78643K 121 0 rtable 104 3K 4K 78643K 431 0 ifaddr 92 17K 17K 78643K 175 0 counters 21 16K 17K 78643K 34 0 ioctlops 0 0K 2K 78643K 37 0 iov 0 0K 16K 78643K 112 0 mount 1 1K 1K 78643K 1 0 vnodes 1225 77K 77K 78643K 1920 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 15 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 88 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 493 0 sigio 1 0K 0K 78643K 20 0 proc 49 38K 63K 78643K 473 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 80 0 in_multi 75 3K 4K 78643K 145 0 ether_multi 1 0K 0K 78643K 14 0 mrt 0 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 73 334K 334K 78643K 73 0 exec 0 0K 1K 78643K 258 0 pfkey data 0 0K 0K 78643K 2 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 21K 37K 78643K 2079 0 UVM aobj 44 7K 7K 78643K 84 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 106 0 NDP 15 0K 0K 78643K 38 0 temp 144 3018K 3083K 78643K 13326 0 kqueue 3 4K 12K 78643K 31 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 11 0 5 1 0 1 1 0 8 0 rtpcb 80 77 0 75 1 0 1 1 0 8 0 rtentry 112 82 0 40 2 0 2 2 0 8 0 unpcb 120 433 0 425 3 2 1 3 0 8 0 syncache 264 12 0 12 3 2 1 1 0 8 1 tcpqe 32 33 0 33 3 2 1 1 0 8 1 tcpcb 544 241 0 237 1 0 1 1 0 8 0 ipq 40 3 0 3 1 1 0 1 0 8 0 ipqe 40 135 0 135 1 1 0 1 0 8 0 inpcb 280 765 0 758 5 4 1 4 0 8 0 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 11 0 8 1 0 1 1 0 8 0 pkpcb 40 12 0 12 1 1 0 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 384 0 183 15 1 14 14 0 8 1 art_table 32 385 0 183 2 0 2 2 0 8 0 art_node 16 81 0 42 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 8 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 86 0 76 1 0 1 1 0 8 0 shmpl 112 82 0 40 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2096 0 698 46 0 46 46 0 8 0 ffsino 240 2096 0 698 83 0 83 83 0 8 0 nchpl 144 2967 0 1371 60 0 60 60 0 8 0 uvmvnodes 72 2727 0 0 50 0 50 50 0 8 0 vnodes 208 2727 0 0 144 0 144 144 0 8 0 namei 1024 9463 0 9463 1 0 1 1 0 8 1 vmpool 528 2 0 2 1 1 0 1 0 8 0 scxspl 192 9071 0 9071 1 0 1 1 0 8 1 plimitpl 152 63 0 56 1 0 1 1 0 8 0 sigapl 432 659 0 645 2 0 2 2 0 8 0 futexpl 56 14350 0 14350 1 0 1 1 0 8 1 knotepl 112 112 0 93 1 0 1 1 0 8 0 kqueuepl 104 111 0 109 1 0 1 1 0 8 0 pipelkpl 16 187 0 177 1 0 1 1 0 8 0 pipepl 120 374 0 355 2 1 1 2 0 8 0 fdescpl 432 660 0 645 2 0 2 2 0 8 0 filepl 120 5575 0 5478 8 4 4 6 0 8 1 lockfpl 104 105 0 104 1 0 1 1 0 8 0 lockfspl 48 42 0 41 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 812 0 805 1 0 1 1 0 8 0 zombiepl 144 645 0 645 1 0 1 1 0 8 1 processpl 896 675 0 645 4 0 4 4 0 8 0 procpl 624 1257 0 1218 4 0 4 4 0 8 0 sosppl 128 9 0 9 2 1 1 1 0 8 1 sockpl 400 1302 0 1285 12 8 4 9 0 8 2 mcl64k 65536 73 0 73 1 0 1 1 0 8 1 mcl16k 16384 6 0 6 2 1 1 1 0 8 1 mcl12k 12288 20 0 20 2 1 1 1 0 8 1 mcl9k 9216 9 0 9 4 3 1 1 0 8 1 mcl8k 8192 20 0 20 2 1 1 1 0 8 1 mcl4k 4096 86 0 86 2 1 1 1 0 8 1 mcl2k2 2112 3 0 3 2 2 0 1 0 8 0 mcl2k 2048 66128 0 66085 15 8 7 13 0 8 1 mtagpl 80 61 0 41 2 1 1 1 0 8 0 mbufpl 256 109830 0 109669 28 8 20 26 0 8 7 bufpl 280 4927 0 184 339 0 339 339 0 8 0 anonpl 16 89975 0 74224 101 19 82 82 0 107 16 amapchunkpl 152 3381 0 3246 14 7 7 12 0 158 0 amappl16 192 3765 0 2876 79 26 53 57 0 8 8 amappl15 184 55 0 51 1 0 1 1 0 8 0 amappl14 176 47 0 45 1 0 1 1 0 8 0 amappl13 168 2 0 1 1 0 1 1 0 8 0 amappl12 160 348 0 346 2 1 1 1 0 8 0 amappl11 152 57 0 46 1 0 1 1 0 8 0 amappl10 144 32 0 28 1 0 1 1 0 8 0 amappl9 136 632 0 629 1 0 1 1 0 8 0 amappl8 128 200 0 175 1 0 1 1 0 8 0 amappl7 120 104 0 94 1 0 1 1 0 8 0 amappl6 112 62 0 54 1 0 1 1 0 8 0 amappl5 104 523 0 511 1 0 1 1 0 8 0 amappl4 96 886 0 854 1 0 1 1 0 8 0 amappl3 88 137 0 130 1 0 1 1 0 8 0 amappl2 80 4381 0 4301 3 1 2 3 0 8 0 amappl1 72 21433 0 21008 26 16 10 20 0 8 0 amappl 80 1531 0 1487 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 83 0 40 1 0 1 1 0 8 0 uaddrrnd 24 662 0 647 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 662 0 647 1 0 1 1 0 8 0 vmmpekpl 168 8075 0 8050 2 0 2 2 0 8 0 vmmpepl 168 87201 0 85118 161 41 120 145 0 357 27 vmsppl 272 661 0 647 2 1 1 2 0 8 0 pdppl 4096 1330 0 1294 6 1 5 6 0 8 0 pvpl 32 252175 0 233331 211 19 192 192 0 265 35 pmappl 200 661 0 647 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 180 0 32 5 0 5 5 0 8 0