panic: receive 1: so 0xfffffd8067546640, so_type 3, sb_cc 177 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *286914 24426 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823b4083) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8067546640,0,ffff80001d6e2088,0,0,ffff80001d6e1f94) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd80677f9528,ffff80001d6e2088,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e2088,0,ffff80001d6e2170) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e2120,ffff80001d6e2170) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e21f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeff20, 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 1: so 0xfffffd8067546640, so_type 3, sb_cc 177 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823b4083) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8067546640,0,ffff80001d6e2088,0,0,ffff80001d6e1f94) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd80677f9528,ffff80001d6e2088,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e2088,0,ffff80001d6e2170) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e2120,ffff80001d6e2170) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e21f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeff20, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e1dd0 rbx 0xffff80001d6e1e80 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81fccd5f kprintf+0x15f r9 0x1 r10 0x2 r11 0xde5b840aaee617ae r12 0x3000000008 r13 0xffff80001d6e1de0 r14 0x100 r15 0x1 rip 0xffffffff81b969e8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e1dc0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=286914 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa5f8,0xffff80001d6a9288 process=0xffff8000ffffaad8 user=0xffff80001d6dd000, 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 55966 40577 82508 0 2 0 syz-executor.0 55966 173205 82508 0 2 0x4000000 syz-executor.0 62095 171057 74624 0 2 0 syz-executor.1 62095 215760 74624 0 3 0x4000080 piperd syz-executor.1 62095 67912 74624 0 2 0x4000000 syz-executor.1 77179 373423 0 0 3 0x14280 nfsidl nfsio 75893 391541 0 0 3 0x14280 nfsidl nfsio 52472 272433 0 0 3 0x14280 nfsidl nfsio 19974 196827 0 0 3 0x14280 nfsidl nfsio 96924 90309 0 0 3 0x14280 nfsidl nfsio 69223 23035 0 0 3 0x14280 nfsidl nfsio 80165 284668 0 0 3 0x14280 nfsidl nfsio 8575 481944 0 0 3 0x14280 nfsidl nfsio 10307 506680 0 0 3 0x14280 nfsidl nfsio 92565 351447 0 0 3 0x14280 nfsidl nfsio 92258 169798 0 0 3 0x14280 nfsidl nfsio 16071 502966 0 0 3 0x14280 nfsidl nfsio 7787 122517 0 0 3 0x14280 nfsidl nfsio 55653 430210 0 0 3 0x14280 nfsidl nfsio 57165 213291 0 0 3 0x14280 nfsidl nfsio 77990 403409 0 0 3 0x14280 nfsidl nfsio 2060 405350 0 0 3 0x14280 nfsidl nfsio 54178 472577 0 0 3 0x14280 nfsidl nfsio 44586 41950 0 0 3 0x14280 nfsidl nfsio 40222 401213 0 0 3 0x14280 nfsidl nfsio 63002 372883 1 0 3 0x100083 ttyin getty 74624 69565 88679 0 3 0x82 nanosleep syz-executor.1 16472 341585 0 0 3 0x14200 bored sosplice 82508 194949 88679 0 3 0x82 nanosleep syz-executor.0 88679 99605 45786 0 3 0x82 thrsleep syz-fuzzer 88679 264121 45786 0 3 0x4000082 thrsleep syz-fuzzer 88679 385748 45786 0 3 0x4000082 thrsleep syz-fuzzer 88679 438283 45786 0 3 0x4000082 thrsleep syz-fuzzer 88679 14487 45786 0 3 0x4000082 thrsleep syz-fuzzer 88679 288366 45786 0 3 0x4000082 kqread syz-fuzzer 88679 172829 45786 0 3 0x4000082 thrsleep syz-fuzzer 88679 283237 45786 0 3 0x4000082 thrsleep syz-fuzzer 45786 78676 71561 0 3 0x10008a pause ksh 71561 17201 93189 0 3 0x92 select sshd 93189 199922 1 0 3 0x80 select sshd 80447 350774 75775 73 3 0x100090 kqread syslogd 75775 355258 1 0 3 0x100082 netio syslogd 38557 65537 1 77 3 0x100090 poll dhclient *24426 286914 1 0 7 0 dhclient 29414 145835 0 0 3 0x14200 bored smr 1674 5593 0 0 2 0x14200 zerothread 36457 262793 0 0 3 0x14200 aiodoned aiodoned 91146 196636 0 0 3 0x14200 syncer update 32973 479196 0 0 3 0x14200 cleaner cleaner 94742 373723 0 0 3 0x14200 reaper reaper 82520 492463 0 0 3 0x14200 pgdaemon pagedaemon 41106 389564 0 0 3 0x14200 bored crynlk 60513 39024 0 0 3 0x14200 bored crypto 37713 313561 0 0 3 0x40014200 acpi0 acpi0 9808 52928 0 0 3 0x14200 bored softnet 92367 498041 0 0 3 0x14200 bored systqmp 42333 287449 0 0 3 0x14200 bored systq 41174 455023 0 0 2 0x40014200 softclock 91382 98452 0 0 3 0x40014200 idle0 1 3429 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 9535 6436K 7270K 78643K 13104 0 pcb 13 8K 8K 78643K 242 0 rtable 127 17K 21K 78643K 982 0 ifaddr 107 21K 21K 78643K 379 0 sysctl 2 0K 0K 78643K 2 0 counters 22 16K 16K 78643K 53 0 ioctlops 0 0K 4K 78643K 200 0 iov 1 12K 24K 78643K 184 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1948 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 14 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 239 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 6 17K 25K 78643K 1092 0 sigio 0 0K 0K 78643K 26 0 proc 51 38K 63K 78643K 489 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1092 0 in_multi 86 3K 4K 78643K 271 0 ether_multi 1 0K 0K 78643K 49 0 mrt 0 0K 0K 78643K 6 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 348 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 156 170K 170K 78643K 3508 0 UVM aobj 27 2K 2K 78643K 40 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 251 0 NDP 16 0K 0K 78643K 61 0 temp 151 3859K 4164K 78643K 33864 0 kqueue 3 4K 18K 78643K 77 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 9 0 4 1 0 1 1 0 8 0 rtpcb 80 91 0 89 1 0 1 1 0 8 0 rtentry 112 94 0 57 2 0 2 2 0 8 0 unpcb 120 602 0 593 1 0 1 1 0 8 0 syncache 264 18 0 18 6 5 1 1 0 8 1 tcpqe 32 448 0 448 5 5 0 1 0 8 0 tcpcb 544 485 0 480 1 0 1 1 0 8 0 ipq 40 5 0 5 4 3 1 1 0 8 1 ipqe 40 96 0 96 4 3 1 1 0 8 1 inpcb 280 2257 0 2249 6 4 2 2 0 8 1 rttmr 72 2 0 2 2 2 0 1 0 8 0 nd6 48 20 0 16 1 0 1 1 0 8 0 pkpcb 40 8 0 8 2 2 0 1 0 8 0 ppxss 1128 2 0 2 1 1 0 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 3 0 0 1 0 1 1 0 8 0 pfrktable 1344 193 0 182 5 4 1 2 0 8 0 pftag 88 45 0 40 3 2 1 1 0 8 0 pfrule 1360 62 0 32 3 0 3 3 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 485 0 286 18 4 14 14 0 8 1 art_table 32 486 0 286 2 0 2 2 0 8 0 art_node 16 93 0 58 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 237 0 227 1 0 1 1 0 8 0 shmpl 112 38 0 14 2 1 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2909 0 1512 88 0 88 88 0 8 0 ffsino 240 2909 0 1512 83 0 83 83 0 8 0 nchpl 144 4697 0 3114 60 0 60 60 0 8 0 uvmvnodes 72 3505 0 0 64 0 64 64 0 8 0 vnodes 208 3505 0 0 185 0 185 185 0 8 0 namei 1024 13666 0 13666 5 4 1 1 0 8 1 vcpupl 1984 16 0 0 2 0 2 2 0 8 0 vmpool 528 19 0 3 2 0 2 2 0 8 0 pfiaddrpl 120 66 0 54 3 2 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 15256 0 15256 2 1 1 1 0 8 1 plimitpl 152 117 0 110 1 0 1 1 0 8 0 sigapl 424 1300 0 1250 6 0 6 6 0 8 0 futexpl 56 25553 0 25553 5 4 1 1 0 8 1 knotepl 112 184 0 165 1 0 1 1 0 8 0 kqueuepl 144 179 0 176 1 0 1 1 0 8 0 pipelkpl 16 239 0 228 1 0 1 1 0 8 0 pipepl 120 478 0 457 1 0 1 1 0 8 0 fdescpl 432 1263 0 1248 2 0 2 2 0 8 0 filepl 120 8949 0 8847 4 0 4 4 0 8 0 lockfpl 104 249 0 247 1 0 1 1 0 8 0 lockfspl 48 87 0 85 1 0 1 1 0 8 0 sessionpl 112 20 0 10 1 0 1 1 0 8 0 pgrppl 48 38 0 28 1 0 1 1 0 8 0 ucredpl 96 987 0 980 1 0 1 1 0 8 0 zombiepl 144 1250 0 1250 2 1 1 1 0 8 1 processpl 920 1300 0 1250 7 0 7 7 0 8 0 procpl 624 2692 0 2632 7 2 5 5 0 8 0 sosppl 128 13 0 13 5 4 1 1 0 8 1 sockpl 400 2959 0 2940 8 5 3 4 0 8 0 mcl64k 65536 599 0 599 68 67 1 65 0 8 1 mcl16k 16384 6 0 6 3 2 1 1 0 8 1 mcl12k 12288 40 0 40 6 5 1 1 0 8 1 mcl9k 9216 18 0 18 7 6 1 1 0 8 1 mcl8k 8192 39 0 39 7 6 1 1 0 8 1 mcl4k 4096 134 0 134 6 5 1 1 0 8 1 mcl2k2 2112 15 0 15 4 3 1 1 0 8 1 mcl2k 2048 75707 0 75652 29 20 9 18 0 8 1 mtagpl 80 131 0 50 3 1 2 2 0 8 0 mbufpl 256 131890 0 131594 64 38 26 38 0 8 0 bufpl 280 7308 0 1956 383 0 383 383 0 8 0 anonpl 16 144835 0 128774 100 28 72 80 0 107 6 amapchunkpl 152 6318 0 6190 45 35 10 19 0 158 4 amappl16 192 7974 0 7037 83 35 48 59 0 8 1 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 90 0 83 1 0 1 1 0 8 0 amappl13 168 33 0 30 1 0 1 1 0 8 0 amappl12 160 64 0 63 2 1 1 1 0 8 0 amappl11 152 53 0 44 1 0 1 1 0 8 0 amappl10 144 471 0 463 1 0 1 1 0 8 0 amappl9 136 367 0 366 1 0 1 1 0 8 0 amappl8 128 368 0 322 2 0 2 2 0 8 0 amappl7 120 122 0 110 1 0 1 1 0 8 0 amappl6 112 28 0 21 1 0 1 1 0 8 0 amappl5 104 1223 0 1210 1 0 1 1 0 8 0 amappl4 96 451 0 425 1 0 1 1 0 8 0 amappl3 88 157 0 151 1 0 1 1 0 8 0 amappl2 80 9344 0 9269 2 0 2 2 0 8 0 amappl1 72 32238 0 31802 24 15 9 17 0 8 0 amappl 80 2923 0 2872 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 39 0 13 1 0 1 1 0 8 0 uaddrrnd 24 1282 0 1251 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1282 0 1251 1 0 1 1 0 8 0 vmmpekpl 168 11320 0 11279 3 1 2 2 0 8 0 vmmpepl 168 154904 0 152745 162 67 95 118 0 357 1 vmsppl 272 1281 0 1251 3 0 3 3 0 8 1 pdppl 4096 2570 0 2518 8 1 7 7 0 8 0 pvpl 32 385533 0 366284 234 60 174 189 0 265 17 pmappl 200 1281 0 1251 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 407 0 156 10 1 9 10 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(ffffffff823b4083) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8067546640,0,ffff80001d6e2088,0,0,ffff80001d6e1f94) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd80677f9528,ffff80001d6e2088,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e2088,0,ffff80001d6e2170) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e2120,ffff80001d6e2170) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e21f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeff20, 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(ffffffff823b4083) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8067546640,0,ffff80001d6e2088,0,0,ffff80001d6e1f94) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd80677f9528,ffff80001d6e2088,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e2088,0,ffff80001d6e2170) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e2120,ffff80001d6e2170) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e21f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeff20, count: -8