panic: receive 3: so 0xfffffd805d69f190, so_type 1, m 0xfffffd805684af00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *300010 37627 0 0 0x4000000 0 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8218e46e) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805d69f190,ffff80001e444cb0,ffff80001e444c78,0,0,ffff80001e444e24) at soreceive+0x16e7 recvit(ffff8000ffff29f8,4,ffff80001e444df8,0,ffff80001e444ee0) at recvit+0x32c sys/kern/uipc_syscalls.c:817 sys_recvmsg(ffff8000ffff29f8,ffff80001e444e98,ffff80001e444ee0) at sys_recvmsg+0x14b sys/kern/uipc_syscalls.c:753 syscall(ffff80001e444f60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xce4fb335b20, count: 8 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 3: so 0xfffffd805d69f190, so_type 1, m 0xfffffd805684af00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8218e46e) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805d69f190,ffff80001e444cb0,ffff80001e444c78,0,0,ffff80001e444e24) at soreceive+0x16e7 recvit(ffff8000ffff29f8,4,ffff80001e444df8,0,ffff80001e444ee0) at recvit+0x32c sys/kern/uipc_syscalls.c:817 sys_recvmsg(ffff8000ffff29f8,ffff80001e444e98,ffff80001e444ee0) at sys_recvmsg+0x14b sys/kern/uipc_syscalls.c:753 syscall(ffff80001e444f60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xce4fb335b20, count: -7 ddb> show registers rdi 0xffffffff813e0da7 db_enter+0x17 rsi 0x2c6c __ALIGN_SIZE+0x1c6c rbp 0xffff80001e444ac0 rbx 0xffff80001e444b70 rdx 0x2c6d __ALIGN_SIZE+0x1c6d rcx 0xffff80001f657000 rax 0xffff80001f657000 r8 0xffff80001e444a80 r9 0x1 r10 0xffff8000009ecf40 r11 0x5d5bdce51708b708 r12 0x3000000008 r13 0xffff80001e444ad0 r14 0x100 r15 0x1 rip 0xffffffff813e0da8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001e444ab0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=300010 stat=onproc flags process=0 proc=4000000 pri=24, usrpri=75, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff33d8,0xffff8000ffff2518 process=0xffff8000ffff70f0 user=0xffff80001e440000, vmspace=0xfffffd8051e5dcd0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 37627 315985 74572 0 2 0 syz-executor.0 *37627 300010 74572 0 7 0x4000000 syz-executor.0 37627 100530 74572 0 3 0x4000080 netlck syz-executor.0 37627 175432 74572 0 2 0x4000000 syz-executor.0 23928 313763 51358 0 2 0 syz-executor.1 23928 187279 51358 0 3 0x4000080 ttyout syz-executor.1 23928 317275 51358 0 3 0x4000080 fsleep syz-executor.1 26778 433328 0 0 3 0x14200 bored sosplice 74572 391657 66758 0 3 0x82 nanosleep syz-executor.0 51358 101484 66758 0 2 0x482 syz-executor.1 66758 401320 30045 0 3 0x82 thrsleep syz-fuzzer 66758 281028 30045 0 3 0x4000082 thrsleep syz-fuzzer 66758 193598 30045 0 3 0x4000082 thrsleep syz-fuzzer 66758 432622 30045 0 3 0x4000082 thrsleep syz-fuzzer 66758 233055 30045 0 3 0x4000082 kqread syz-fuzzer 66758 42362 30045 0 3 0x4000082 thrsleep syz-fuzzer 66758 316448 30045 0 3 0x4000082 thrsleep syz-fuzzer 66758 82778 30045 0 3 0x4000082 thrsleep syz-fuzzer 30045 347145 69061 0 3 0x10008a pause ksh 69061 366923 18645 0 3 0x92 select sshd 85949 139988 1 0 3 0x100083 ttyin getty 18645 29893 1 0 3 0x80 select sshd 16423 200028 93570 73 3 0x100090 kqread syslogd 93570 65518 1 0 3 0x100082 netio syslogd 49837 123848 1 77 3 0x100090 poll dhclient 56483 291535 1 0 3 0x80 poll dhclient 41344 53638 0 0 2 0x14200 zerothread 62196 480641 0 0 3 0x14200 aiodoned aiodoned 20205 516269 0 0 3 0x14200 syncer update 44514 143776 0 0 3 0x14200 cleaner cleaner 70809 394564 0 0 3 0x14200 reaper reaper 83048 35403 0 0 3 0x14200 pgdaemon pagedaemon 901 281217 0 0 3 0x14200 bored crynlk 8053 361160 0 0 3 0x14200 bored crypto 21917 522557 0 0 3 0x40014200 acpi0 acpi0 79724 407403 0 0 3 0x14200 bored softnet 31098 427898 0 0 3 0x14200 bored systqmp 85541 162144 0 0 3 0x14200 bored systq 90416 442007 0 0 3 0x40014200 bored softclock 86130 461469 0 0 3 0x40014200 idle0 7913 69062 0 0 3 0x14200 bored smr 1 389214 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 9521 6350K 7118K 78643K 11316 0 pcb 13 8K 8K 78643K 51 0 rtable 95 4K 5K 78643K 347 0 ifaddr 79 14K 15K 78643K 155 0 counters 19 16K 16K 78643K 19 0 ioctlops 0 0K 2K 78643K 21 0 iov 1 12K 16K 78643K 52 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1458 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 56 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 240 0 sigio 1 0K 0K 78643K 13 0 proc 49 38K 63K 78643K 391 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 27 0 in_multi 44 2K 2K 78643K 77 0 ether_multi 1 0K 0K 78643K 5 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 97 440K 440K 78643K 97 0 exec 0 0K 1K 78643K 214 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 112 37K 38K 78643K 1511 0 UVM aobj 11 2K 2K 78643K 11 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 103 0 NDP 14 0K 0K 78643K 35 0 temp 131 3012K 3076K 78643K 32097 0 kqueue 5 8K 31K 78643K 79 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 3 1 0 1 1 0 8 0 rtpcb 80 33 0 31 1 0 1 1 0 8 0 rtentry 112 58 0 22 2 0 2 2 0 8 0 unpcb 120 257 0 245 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 783 0 783 3 3 0 1 0 8 0 tcpcb 544 208 0 202 3 1 2 2 0 8 1 ipq 40 3 0 3 1 1 0 1 0 8 0 ipqe 40 51 0 51 1 1 0 1 0 8 0 inpcb 280 407 0 397 2 0 2 2 0 8 1 nd6 48 6 0 4 1 0 1 1 0 8 0 ppxss 1128 13 0 13 2 1 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 286 0 90 14 0 14 14 0 8 0 art_table 32 287 0 90 2 0 2 2 0 8 0 art_node 16 57 0 23 1 0 1 1 0 8 0 sysvmsgpl 40 42 0 26 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 51 0 41 1 0 1 1 0 8 0 shmpl 112 9 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1781 0 382 46 0 46 46 0 8 0 ffsino 240 1781 0 382 83 0 83 83 0 8 0 nchpl 144 2330 0 719 60 0 60 60 0 8 0 uvmvnodes 72 1997 0 0 37 0 37 37 0 8 0 vnodes 208 1997 0 0 106 0 106 106 0 8 0 namei 1024 6708 0 6708 2 1 1 1 0 8 1 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 528 3 0 2 1 0 1 1 0 8 0 scxspl 192 6519 0 6519 1 0 1 1 0 8 1 plimitpl 152 34 0 27 1 0 1 1 0 8 0 sigapl 432 411 0 397 2 0 2 2 0 8 0 futexpl 56 6631 0 6630 1 0 1 1 0 8 0 knotepl 112 137 0 116 2 1 1 2 0 8 0 kqueuepl 104 121 0 117 1 0 1 1 0 8 0 pipelkpl 16 186 0 176 1 0 1 1 0 8 0 pipepl 120 372 0 353 3 1 2 2 0 8 1 fdescpl 432 412 0 397 2 0 2 2 0 8 0 filepl 120 3484 0 3376 7 3 4 6 0 8 0 lockfpl 104 68 0 67 1 0 1 1 0 8 0 lockfspl 48 24 0 23 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 607 0 600 1 0 1 1 0 8 0 zombiepl 144 397 0 397 2 1 1 1 0 8 1 processpl 864 427 0 397 4 0 4 4 0 8 0 procpl 632 814 0 772 5 0 5 5 0 8 1 sosppl 128 3 0 3 1 1 0 1 0 8 0 sockpl 384 702 0 678 6 2 4 5 0 8 0 mcl64k 65536 19 0 19 1 0 1 1 0 8 1 mcl16k 16384 2 0 2 2 2 0 1 0 8 0 mcl12k 12288 3 0 3 1 0 1 1 0 8 1 mcl9k 9216 5 0 5 2 1 1 1 0 8 1 mcl8k 8192 18 0 18 1 0 1 1 0 8 1 mcl4k 4096 45 0 45 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 62759 0 62699 33 24 9 27 0 8 1 mtagpl 80 11 0 2 2 1 1 1 0 8 0 mbufpl 256 102355 0 102213 23 11 12 17 0 8 0 bufpl 280 6776 0 1328 390 0 390 390 0 8 0 anonpl 16 53630 0 38285 79 2 77 77 0 107 15 amapchunkpl 152 2488 0 2347 20 13 7 19 0 158 1 amappl16 192 2069 0 1231 53 3 50 53 0 8 8 amappl15 184 161 0 155 1 0 1 1 0 8 0 amappl14 176 25 0 23 1 0 1 1 0 8 0 amappl12 160 98 0 95 1 0 1 1 0 8 0 amappl11 152 46 0 34 1 0 1 1 0 8 0 amappl10 144 18 0 16 1 0 1 1 0 8 0 amappl9 136 204 0 201 1 0 1 1 0 8 0 amappl8 128 104 0 85 1 0 1 1 0 8 0 amappl7 120 97 0 86 1 0 1 1 0 8 0 amappl6 112 58 0 50 1 0 1 1 0 8 0 amappl5 104 953 0 942 1 0 1 1 0 8 0 amappl4 96 625 0 595 1 0 1 1 0 8 0 amappl3 88 125 0 116 1 0 1 1 0 8 0 amappl2 80 2661 0 2583 3 1 2 3 0 8 0 amappl1 72 17210 0 16767 26 16 10 20 0 8 0 amappl 80 1034 0 987 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 10 0 0 1 0 1 1 0 8 0 uaddrrnd 24 415 0 399 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 415 0 399 1 0 1 1 0 8 0 vmmpekpl 168 7117 0 7089 2 0 2 2 0 8 0 vmmpepl 168 57143 0 55093 127 28 99 110 0 357 9 vmsppl 272 414 0 399 3 1 2 2 0 8 0 pdppl 4096 836 0 799 6 1 5 6 0 8 0 pvpl 32 180378 0 161541 193 10 183 183 0 265 31 pmappl 200 414 0 399 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 179 0 44 5 0 5 5 0 8 0