login: panic: receive 1a: so 0xfffffd805e54b000, so_type 3, m 0xfffffd8058cb5200, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *212505 35671 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(fffffd805e54b000,0,ffff80001d382c38,0,0,ffff80001d382b44) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd80603fb3c0,ffff80001d382c38,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349008,6,ffff80001d382c38,0,ffff80001d382d20) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349008,ffff80001d382cd0,ffff80001d382d20) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382da0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdd620, 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 0xfffffd805e54b000, so_type 3, m 0xfffffd8058cb5200, 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(fffffd805e54b000,0,ffff80001d382c38,0,0,ffff80001d382b44) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd80603fb3c0,ffff80001d382c38,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349008,6,ffff80001d382c38,0,ffff80001d382d20) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349008,ffff80001d382cd0,ffff80001d382d20) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382da0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdd620, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d382980 rbx 0xffff80001d382a30 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d382940 r9 0x1 r10 0 r11 0x1e5d3f060edfd688 r12 0x3000000008 r13 0xffff80001d382990 r14 0x100 r15 0x1 rip 0xffffffff81651a88 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d382970 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=212505 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d34a388,0xffff80001d349288 process=0xffff8000ffffa390 user=0xffff80001d37d000, vmspace=0xfffffd806bc09220 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 88167 341013 51438 0 2 0 syz-executor.0 88167 100406 51438 0 2 0x4000000 syz-executor.0 47052 446503 17557 0 2 0 syz-executor.1 47052 39647 17557 0 3 0x4000080 lockf syz-executor.1 47052 2863 17557 0 3 0x4000080 kqread syz-executor.1 51438 8422 94977 0 3 0x82 nanosleep syz-executor.0 17557 403882 94977 0 3 0x82 nanosleep syz-executor.1 94977 217536 47763 0 3 0x82 thrsleep syz-fuzzer 94977 216508 47763 0 3 0x4000082 thrsleep syz-fuzzer 94977 252099 47763 0 3 0x4000082 kqread syz-fuzzer 94977 130072 47763 0 3 0x4000082 thrsleep syz-fuzzer 94977 315223 47763 0 3 0x4000082 thrsleep syz-fuzzer 94977 17002 47763 0 3 0x4000082 thrsleep syz-fuzzer 94977 275935 47763 0 3 0x4000082 thrsleep syz-fuzzer 47763 223684 60579 0 3 0x10008a pause ksh 60579 400344 15536 0 3 0x92 select sshd 17783 234764 1 0 3 0x100083 ttyin getty 15536 167650 1 0 3 0x80 select sshd 48838 151069 98251 73 3 0x100090 kqread syslogd 98251 366385 1 0 3 0x100082 netio syslogd 62357 112972 1 77 2 0x100010 dhclient *35671 212505 1 0 7 0 dhclient 15678 238396 0 0 2 0x14200 zerothread 60890 178532 0 0 3 0x14200 aiodoned aiodoned 7392 482679 0 0 3 0x14200 syncer update 27398 486543 0 0 3 0x14200 cleaner cleaner 34404 400998 0 0 3 0x14200 reaper reaper 85454 142177 0 0 3 0x14200 pgdaemon pagedaemon 39857 72006 0 0 3 0x14200 bored crynlk 19422 372607 0 0 3 0x14200 bored crypto 80533 35183 0 0 3 0x40014200 acpi0 acpi0 53919 24767 0 0 2 0x14200 softnet 98151 416201 0 0 3 0x14200 bored systqmp 7398 313988 0 0 3 0x14200 bored systq 25775 367988 0 0 3 0x40014200 bored softclock 14595 212802 0 0 3 0x40014200 idle0 85225 43443 0 0 3 0x14200 bored smr 1 425372 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 9474 6334K 6718K 78643K 10686 0 pcb 13 8K 8K 78643K 33 0 rtable 103 3K 3K 78643K 221 0 ifaddr 62 13K 13K 78643K 73 0 counters 22 16K 16K 78643K 23 0 ioctlops 0 0K 2K 78643K 21 0 iov 0 0K 12K 78643K 20 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1262 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 7 0 VM map 2 0K 0K 78643K 2 0 sem 9 0K 0K 78643K 12 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 98 0 proc 48 38K 63K 78643K 361 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 11 0 in_multi 49 2K 2K 78643K 54 0 ether_multi 1 0K 0K 78643K 2 0 mrt 0 0K 0K 78643K 4 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 193 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 108 37K 37K 78643K 1096 0 UVM aobj 10 2K 3K 78643K 12 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 16 0 NDP 9 0K 0K 78643K 14 0 temp 93 3007K 3071K 78643K 2422 0 kqueue 4 6K 8K 78643K 6 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 1 1 0 1 1 0 8 0 rtpcb 80 25 0 23 1 0 1 1 0 8 0 rtentry 112 51 0 8 2 0 2 2 0 8 0 unpcb 120 51 0 43 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 216 0 216 1 0 1 1 0 8 1 tcpcb 544 40 0 36 1 0 1 1 0 8 0 inpcb 280 200 0 193 2 0 2 2 0 8 1 rttmr 72 2 0 2 1 0 1 1 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 224 0 8 14 0 14 14 0 8 0 art_table 32 225 0 8 2 0 2 2 0 8 0 art_node 16 50 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 10 0 3 1 0 1 1 0 8 0 shmpl 112 10 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1524 0 122 46 0 46 46 0 8 0 ffsino 240 1524 0 122 83 0 83 83 0 8 0 nchpl 144 1855 0 243 60 0 60 60 0 8 0 uvmvnodes 72 1593 0 0 29 0 29 29 0 8 0 vnodes 208 1593 0 0 84 0 84 84 0 8 0 namei 1024 4697 0 4697 1 0 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 2 0 0 1 0 1 1 0 8 0 scxspl 192 5378 0 5378 1 0 1 1 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 432 269 0 255 2 0 2 2 0 8 0 futexpl 56 2125 0 2125 1 0 1 1 0 8 1 knotepl 112 56 0 37 1 0 1 1 0 8 0 kqueuepl 104 10 0 6 1 0 1 1 0 8 0 pipelkpl 16 89 0 79 1 0 1 1 0 8 0 pipepl 120 178 0 159 1 0 1 1 0 8 0 fdescpl 432 270 0 255 2 0 2 2 0 8 0 filepl 120 1642 0 1542 4 0 4 4 0 8 0 lockfpl 104 31 0 28 1 0 1 1 0 8 0 lockfspl 48 15 0 13 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 123 0 116 1 0 1 1 0 8 0 zombiepl 144 255 0 255 1 0 1 1 0 8 1 processpl 896 284 0 255 4 0 4 4 0 8 0 procpl 624 371 0 333 4 0 4 4 0 8 1 sockpl 400 276 0 259 3 0 3 3 0 8 1 mcl64k 65536 11 0 11 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 2 0 2 1 0 1 1 0 8 1 mcl4k 4096 14 0 14 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 64405 0 64354 16 2 14 14 0 8 7 mtagpl 80 7 0 2 2 1 1 1 0 8 0 mbufpl 256 102142 0 102038 11 1 10 10 0 8 1 bufpl 280 4135 0 179 283 0 283 283 0 8 0 anonpl 16 42028 0 25706 67 1 66 66 0 107 0 amapchunkpl 152 1666 0 1528 19 0 19 19 0 158 13 amappl16 192 1258 0 361 45 0 45 45 0 8 0 amappl15 184 58 0 53 1 0 1 1 0 8 0 amappl14 176 26 0 24 1 0 1 1 0 8 0 amappl12 160 8 0 7 2 1 1 1 0 8 0 amappl11 152 48 0 36 1 0 1 1 0 8 0 amappl10 144 48 0 43 1 0 1 1 0 8 0 amappl9 136 554 0 550 1 0 1 1 0 8 0 amappl8 128 101 0 84 1 0 1 1 0 8 0 amappl7 120 127 0 114 1 0 1 1 0 8 0 amappl6 112 64 0 57 1 0 1 1 0 8 0 amappl5 104 147 0 137 1 0 1 1 0 8 0 amappl4 96 479 0 450 1 0 1 1 0 8 0 amappl3 88 119 0 110 1 0 1 1 0 8 0 amappl2 80 1369 0 1293 3 1 2 3 0 8 0 amappl1 72 14759 0 14309 26 13 13 20 0 8 3 amappl 80 625 0 580 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 11 0 2 1 0 1 1 0 8 0 uaddrrnd 24 272 0 255 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 272 0 255 1 0 1 1 0 8 0 vmmpekpl 168 5899 0 5870 2 0 2 2 0 8 0 vmmpepl 168 40185 0 38081 115 4 111 111 0 357 19 vmsppl 272 271 0 255 2 0 2 2 0 8 0 pdppl 4096 550 0 512 6 0 6 6 0 8 1 pvpl 32 140353 0 120715 161 0 161 161 0 265 2 pmappl 200 271 0 255 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 151 0 6 5 0 5 5 0 8 0