login: "C#DT9o|IryCsIp9VإJxmj  ./file0"C#DT9o|IryCsIp9VإJxmj  ./file0panic: receive 3: so 0xfffffd806f68a320, so_type 3, m 0xfffffd806b6ba900, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 21868 94460 0 0 0x4000000 0 syz-executor.1 *444540 74547 0 0 0 1K dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823dcaf6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f68a320,0,ffff800020e1e9a8,0,0,ffff800020e1e8b4) at soreceive+0x1727 soo_read(fffffd806fc382f8,ffff800020e1e9a8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddcc38,6,ffff800020e1e9a8,0,ffff800020e1ea90) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddcc38,ffff800020e1ea40,ffff800020e1ea90) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020e1eb10) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e1eb10) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc2ab0, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic receive 3: so 0xfffffd806f68a320, so_type 3, m 0xfffffd806b6ba900, m_type 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823dcaf6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f68a320,0,ffff800020e1e9a8,0,0,ffff800020e1e8b4) at soreceive+0x1727 soo_read(fffffd806fc382f8,ffff800020e1e9a8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddcc38,6,ffff800020e1e9a8,0,ffff800020e1ea90) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddcc38,ffff800020e1ea40,ffff800020e1ea90) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020e1eb10) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e1eb10) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc2ab0, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020e1e6f0 rbx 0xffff800020e1e7a0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff8169567f kprintf+0x16f r9 0x1 r10 0x2 r11 0xd971e0b92e5d776 r12 0x3000000008 r13 0xffff800020e1e700 r14 0x100 r15 0x1 rip 0xffffffff8138f5b8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020e1e6e0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (dhclient) pid=444540 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddc758,0xffff800020ddceb8 process=0xffff800020df0010 user=0xffff800020e19000, vmspace=0xfffffd807f000000 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 57228 465246 2475 0 2 0 syz-executor.0 57228 518275 2475 0 3 0x4000080 fsleep syz-executor.0 94460 62364 72267 0 2 0 syz-executor.1 94460 21868 72267 0 7 0x4000000 syz-executor.1 94460 101408 72267 0 3 0x4000080 fsleep syz-executor.1 94460 52381 72267 0 3 0x4000080 fsleep syz-executor.1 72267 502034 74434 0 3 0x82 nanosleep syz-executor.1 2475 460219 74434 0 3 0x82 nanosleep syz-executor.0 74434 441907 40494 0 3 0x82 thrsleep syz-fuzzer 74434 163982 40494 0 3 0x4000082 nanosleep syz-fuzzer 74434 213634 40494 0 3 0x4000082 thrsleep syz-fuzzer 74434 242117 40494 0 3 0x4000082 kqread syz-fuzzer 74434 89410 40494 0 3 0x4000082 thrsleep syz-fuzzer 74434 459232 40494 0 3 0x4000082 thrsleep syz-fuzzer 74434 143502 40494 0 3 0x4000082 thrsleep syz-fuzzer 74434 375963 40494 0 3 0x4000082 thrsleep syz-fuzzer 74434 345033 40494 0 3 0x4000082 thrsleep syz-fuzzer 74434 423390 40494 0 3 0x4000082 thrsleep syz-fuzzer 40494 146297 18832 0 3 0x10008a pause ksh 18832 406296 26061 0 3 0x92 select sshd 62142 2083 1 0 3 0x100083 ttyin getty 26061 28743 1 0 3 0x80 select sshd 85874 259675 70348 74 3 0x100092 bpf pflogd 70348 25690 1 0 3 0x80 netio pflogd 51438 441355 4571 73 3 0x100090 kqread syslogd 4571 79798 1 0 3 0x100082 netio syslogd 36176 315415 1 77 3 0x100090 poll dhclient *74547 444540 1 0 7 0 dhclient 61515 129518 0 0 3 0x14200 bored smr 5262 494152 0 0 2 0x14200 zerothread 31960 434997 0 0 3 0x14200 aiodoned aiodoned 9033 39375 0 0 3 0x14200 syncer update 24208 183749 0 0 3 0x14200 cleaner cleaner 35251 415080 0 0 3 0x14200 reaper reaper 51740 508582 0 0 3 0x14200 pgdaemon pagedaemon 48804 3998 0 0 3 0x14200 bored crynlk 89071 209924 0 0 3 0x14200 bored crypto 72819 342607 0 0 3 0x40014200 acpi0 acpi0 96137 248891 0 0 3 0x40014200 idle1 51072 290133 0 0 3 0x14200 bored softnet 47556 145542 0 0 3 0x14200 bored systqmp 85717 208661 0 0 3 0x14200 bored systq 23139 392666 0 0 3 0x40014200 bored softclock 67098 521444 0 0 3 0x40014200 idle0 1 64709 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 74547 (dhclient) thread 0xffff800020ddcc38 (444540) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff828eb410) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 solock+0x66 sys/kern/uipc_socket2.c:292 #2 soreceive+0xb3a sys/kern/uipc_socket.c:956 #3 soo_read+0x53 sys/kern/sys_socket.c:70 #4 dofilereadv+0x1a1 sys/kern/sys_generic.c:237 #5 sys_read+0x83 sys/kern/sys_generic.c:157 #6 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #6 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #7 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9487 6467K 6660K 78643K 10676 0 pcb 14 8K 8K 78643K 32 0 rtable 105 3K 3K 78643K 213 0 ifaddr 49 11K 12K 78643K 61 0 counters 43 33K 34K 78643K 45 0 ioctlops 0 0K 4K 78643K 1490 0 iov 0 0K 12K 78643K 14 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1263 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 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 44 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 109 0 proc 60 63K 95K 78643K 442 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 3 0 in_multi 33 2K 2K 78643K 42 0 ether_multi 1 0K 0K 78643K 2 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 209 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 120 38K 38K 78643K 1282 0 UVM aobj 7 2K 2K 78643K 7 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 8 0 NDP 7 0K 0K 78643K 12 0 temp 78 3853K 3918K 78643K 2691 0 kqueue 3 4K 8K 78643K 7 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 23 0 21 1 0 1 1 0 8 0 rtentry 112 47 0 3 2 0 2 2 0 8 0 unpcb 120 84 0 73 1 0 1 1 0 8 0 syncache 264 6 0 6 2 1 1 1 0 8 1 tcpqe 32 633 0 633 1 1 0 1 0 8 0 tcpcb 544 40 0 36 1 0 1 1 0 8 0 inpcb 296 247 0 236 3 1 2 2 0 8 0 nd6 48 7 0 1 1 0 1 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 14 0 2 1 0 1 1 0 8 0 pfstkey 112 14 0 2 1 0 1 1 0 8 0 pfstate 328 14 0 2 2 0 2 2 0 8 0 pfrule 1360 22 0 16 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 189 0 0 12 0 12 12 0 8 0 art_table 32 190 0 0 2 0 2 2 0 8 0 art_node 16 46 0 6 1 0 1 1 0 8 0 semapl 112 40 0 30 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1535 0 132 90 2 88 89 0 8 0 ffsino 272 1535 0 132 95 1 94 94 0 8 0 nchpl 144 1873 0 263 60 0 60 60 0 8 0 uvmvnodes 72 1604 0 0 30 0 30 30 0 8 0 vnodes 208 1604 0 0 85 0 85 85 0 8 0 namei 1024 4930 0 4930 3 2 1 1 0 8 1 percpumem 16 33 0 1 1 0 1 1 0 8 0 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 560 1 0 0 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 0 1 1 0 8 1 scxspl 192 5485 0 5485 8 4 4 6 0 8 4 plimitpl 152 19 0 11 1 0 1 1 0 8 0 sigapl 424 324 0 292 4 0 4 4 0 8 0 futexpl 56 1393 0 1390 2 1 1 1 0 8 0 knotepl 112 65 0 46 1 0 1 1 0 8 0 kqueuepl 144 12 0 10 1 0 1 1 0 8 0 pipepl 304 79 0 69 1 0 1 1 0 8 0 fdescpl 496 309 0 292 3 0 3 3 0 8 0 filepl 152 1699 0 1594 7 2 5 5 0 8 0 lockfpl 104 25 0 24 1 0 1 1 0 8 0 lockfspl 48 10 0 9 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 103 0 94 1 0 1 1 0 8 0 zombiepl 144 292 0 292 3 2 1 1 0 8 1 processpl 992 324 0 292 7 2 5 5 0 8 1 procpl 624 510 0 465 4 0 4 4 0 8 0 srpgc 64 2 0 0 1 0 1 1 0 8 0 sockpl 400 354 0 330 6 2 4 4 0 8 1 mcl64k 65536 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 208 0 0 25 0 25 25 0 8 0 mtagpl 96 9 0 0 1 0 1 1 0 8 0 mbufpl 256 218 0 0 14 0 14 14 0 8 0 bufpl 280 3456 0 133 238 0 238 238 0 8 0 anonpl 16 45087 0 28311 69 1 68 68 0 124 0 amapchunkpl 152 1773 0 1620 20 12 8 20 0 158 0 amappl16 192 1295 0 395 45 0 45 45 0 8 0 amappl15 184 2 0 1 1 0 1 1 0 8 0 amappl14 176 67 0 62 1 0 1 1 0 8 0 amappl13 168 30 0 26 1 0 1 1 0 8 0 amappl12 160 46 0 41 2 1 1 1 0 8 0 amappl11 152 99 0 81 1 0 1 1 0 8 0 amappl10 144 18 0 13 1 0 1 1 0 8 0 amappl9 136 387 0 386 1 0 1 1 0 8 0 amappl8 128 346 0 317 2 0 2 2 0 8 0 amappl7 120 117 0 105 1 0 1 1 0 8 0 amappl6 112 62 0 56 2 1 1 1 0 8 0 amappl5 104 207 0 189 1 0 1 1 0 8 0 amappl4 96 527 0 493 1 0 1 1 0 8 0 amappl3 88 105 0 100 1 0 1 1 0 8 0 amappl2 80 1528 0 1449 2 0 2 2 0 8 0 amappl1 72 17570 0 17089 23 13 10 18 0 8 0 amappl 80 769 0 720 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 310 0 292 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 310 0 292 1 0 1 1 0 8 0 vmmpekpl 168 6481 0 6444 2 0 2 2 0 8 0 vmmpepl 168 45872 0 43666 132 34 98 119 0 357 2 vmsppl 368 309 0 292 2 0 2 2 0 8 0 pdppl 4096 627 0 585 7 1 6 6 0 8 0 pvpl 32 153515 0 133500 164 2 162 162 0 265 0 pmappl 232 309 0 292 3 1 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 270 0 10 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff8271dff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828eb208) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828eb208) at __mp_lock+0x12e sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f __sanitizer_cov_trace_cmp4(87840,87841) at __sanitizer_cov_trace_cmp4+0x11 kd_curproc sys/dev/kcov.c:397 [inline] __sanitizer_cov_trace_cmp4(87840,87841) at __sanitizer_cov_trace_cmp4+0x11 trace_cmp sys/dev/kcov.c:104 [inline] __sanitizer_cov_trace_cmp4(87840,87841) at __sanitizer_cov_trace_cmp4+0x11 sys/dev/kcov.c:135 __mp_lock(ffffffff828eb208) at __mp_lock+0x139 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828eb208) at __mp_lock+0x139 sys/kern/kern_lock.c:147 sys_futex(ffff800020e37eb8,ffff8000230f3dc0,ffff8000230f3e10) at sys_futex+0xf6 sys/kern/sys_futex.c:109 syscall(ffff8000230f3e90) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000230f3e90) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x91168789a00, count: 4 ddb{0}> trace x86_ipi_db(ffffffff8271dff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828eb208) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828eb208) at __mp_lock+0x12e sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f __sanitizer_cov_trace_cmp4(87840,87841) at __sanitizer_cov_trace_cmp4+0x11 kd_curproc sys/dev/kcov.c:397 [inline] __sanitizer_cov_trace_cmp4(87840,87841) at __sanitizer_cov_trace_cmp4+0x11 trace_cmp sys/dev/kcov.c:104 [inline] __sanitizer_cov_trace_cmp4(87840,87841) at __sanitizer_cov_trace_cmp4+0x11 sys/dev/kcov.c:135 __mp_lock(ffffffff828eb208) at __mp_lock+0x139 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828eb208) at __mp_lock+0x139 sys/kern/kern_lock.c:147 sys_futex(ffff800020e37eb8,ffff8000230f3dc0,ffff8000230f3e10) at sys_futex+0xf6 sys/kern/sys_futex.c:109 syscall(ffff8000230f3e90) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000230f3e90) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x91168789a00, count: -11 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823dcaf6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f68a320,0,ffff800020e1e9a8,0,0,ffff800020e1e8b4) at soreceive+0x1727 soo_read(fffffd806fc382f8,ffff800020e1e9a8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddcc38,6,ffff800020e1e9a8,0,ffff800020e1ea90) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddcc38,ffff800020e1ea40,ffff800020e1ea90) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020e1eb10) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e1eb10) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc2ab0, count: 7 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823dcaf6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f68a320,0,ffff800020e1e9a8,0,0,ffff800020e1e8b4) at soreceive+0x1727 soo_read(fffffd806fc382f8,ffff800020e1e9a8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddcc38,6,ffff800020e1e9a8,0,ffff800020e1ea90) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddcc38,ffff800020e1ea40,ffff800020e1ea90) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020e1eb10) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e1eb10) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc2ab0, count: -8