login: panic: receive 1a: so 0xfffffd806f682320, so_type 3, m 0xfffffd8069ff1b00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 381888 17577 0 0 0 0 syz-executor.0 *225147 47165 0 0 0 1K dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ec8d5) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f682320,0,ffff800020e1ec18,0,0,ffff800020e1eb24) at soreceive+0x174a sys/kern/uipc_socket.c:983 soo_read(fffffd807cff61c8,ffff800020e1ec18,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddc9c8,6,ffff800020e1ec18,0,ffff800020e1ed00) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddc9c8,ffff800020e1ecb0,ffff800020e1ed00) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020e1ed80) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e1ed80) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd2a70, 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 1a: so 0xfffffd806f682320, so_type 3, m 0xfffffd8069ff1b00, m_type 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ec8d5) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f682320,0,ffff800020e1ec18,0,0,ffff800020e1eb24) at soreceive+0x174a sys/kern/uipc_socket.c:983 soo_read(fffffd807cff61c8,ffff800020e1ec18,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddc9c8,6,ffff800020e1ec18,0,ffff800020e1ed00) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddc9c8,ffff800020e1ecb0,ffff800020e1ed00) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020e1ed80) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e1ed80) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd2a70, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020e1e960 rbx 0xffff800020e1ea10 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81ec8d2f kprintf+0x16f r9 0x1 r10 0x2 r11 0xf5797d8aded9c616 r12 0x3000000008 r13 0xffff800020e1e970 r14 0x100 r15 0x1 rip 0xffffffff81efc068 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020e1e950 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (dhclient) pid=225147 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddcc38,0xffff800020ddd128 process=0xffff800020df0bb0 user=0xffff800020e19000, vmspace=0xfffffd807efff170 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 68279 235043 49605 0 2 0 syz-executor.1 68279 364129 49605 0 3 0x4000080 fsleep syz-executor.1 17577 381888 66244 0 7 0 syz-executor.0 17577 331264 66244 0 2 0x4000000 syz-executor.0 49605 13473 52829 0 3 0x82 nanosleep syz-executor.1 66244 404269 52829 0 3 0x82 nanosleep syz-executor.0 52829 358816 29929 0 3 0x82 thrsleep syz-fuzzer 52829 266032 29929 0 3 0x4000082 thrsleep syz-fuzzer 52829 509711 29929 0 3 0x4000082 thrsleep syz-fuzzer 52829 239267 29929 0 3 0x4000082 thrsleep syz-fuzzer 52829 149146 29929 0 3 0x4000082 thrsleep syz-fuzzer 52829 270044 29929 0 3 0x4000082 kqread syz-fuzzer 52829 145160 29929 0 3 0x4000082 thrsleep syz-fuzzer 52829 102085 29929 0 3 0x4000082 thrsleep syz-fuzzer 52829 233179 29929 0 3 0x4000082 thrsleep syz-fuzzer 52829 480133 29929 0 3 0x4000082 thrsleep syz-fuzzer 29929 277290 89751 0 3 0x10008a pause ksh 89751 458889 66503 0 3 0x92 select sshd 82401 456528 1 0 3 0x100083 ttyin getty 66503 394612 1 0 3 0x80 select sshd 4560 53734 44715 74 3 0x100092 bpf pflogd 44715 146262 1 0 3 0x80 netio pflogd 47972 281719 34979 73 3 0x100090 kqread syslogd 34979 52665 1 0 3 0x100082 netio syslogd 35072 294437 1 77 3 0x100090 poll dhclient *47165 225147 1 0 7 0 dhclient 98596 95624 0 0 3 0x14200 bored smr 22320 395256 0 0 2 0x14200 zerothread 29040 251981 0 0 3 0x14200 aiodoned aiodoned 17840 295584 0 0 3 0x14200 syncer update 43059 176324 0 0 3 0x14200 cleaner cleaner 268 148541 0 0 3 0x14200 reaper reaper 31609 300381 0 0 3 0x14200 pgdaemon pagedaemon 6372 487423 0 0 3 0x14200 bored crynlk 15043 350683 0 0 3 0x14200 bored crypto 6247 432432 0 0 3 0x40014200 acpi0 acpi0 70833 158628 0 0 3 0x40014200 idle1 90688 233161 0 0 3 0x14200 bored softnet 1924 200334 0 0 3 0x14200 bored systqmp 99753 409174 0 0 3 0x14200 bored systq 85757 471766 0 0 3 0x40014200 bored softclock 35876 107549 0 0 3 0x40014200 idle0 1 204558 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 47165 (dhclient) thread 0xffff800020ddc9c8 (225147) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff828c8768) #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+0x114 sys/kern/uipc_socket.c:737 #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 9479 6401K 6528K 78643K 10582 0 pcb 13 8K 8K 78643K 13 0 rtable 105 3K 3K 78643K 201 0 ifaddr 49 11K 11K 78643K 52 0 counters 43 33K 33K 78643K 43 0 ioctlops 0 0K 4K 78643K 1472 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1225 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 41 0 proc 60 63K 95K 78643K 439 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 33 2K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 19 95K 95K 78643K 19 0 exec 0 0K 1K 78643K 207 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 109 22K 22K 78643K 1030 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 11 0K 0K 78643K 11 0 temp 72 3856K 3919K 78643K 2030 0 kqueue 3 4K 4K 78643K 3 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 19 0 17 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 29 0 19 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 426 0 426 1 0 1 1 0 8 1 tcpcb 544 10 0 6 1 0 1 1 0 8 0 inpcb 296 41 0 34 1 0 1 1 0 8 0 nd6 48 6 0 0 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 11 0 0 1 0 1 1 0 8 0 pfstkey 112 11 0 0 1 0 1 1 0 8 0 pfstate 328 11 0 0 1 0 1 1 0 8 0 pfrule 1360 21 0 16 2 1 1 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 44 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1436 0 29 88 0 88 88 0 8 0 ffsino 272 1436 0 29 94 0 94 94 0 8 0 nchpl 144 1666 0 54 60 0 60 60 0 8 0 uvmvnodes 72 1482 0 0 27 0 27 27 0 8 0 vnodes 208 1482 0 0 78 0 78 78 0 8 0 namei 1024 4355 0 4355 1 0 1 1 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 192 4787 0 4787 2 1 1 2 0 8 1 plimitpl 152 15 0 7 1 0 1 1 0 8 0 sigapl 424 256 0 224 4 0 4 4 0 8 0 futexpl 56 94 0 93 1 0 1 1 0 8 0 knotepl 112 61 0 42 1 0 1 1 0 8 0 kqueuepl 144 4 0 2 1 0 1 1 0 8 0 pipepl 304 77 0 67 1 0 1 1 0 8 0 fdescpl 496 241 0 224 3 0 3 3 0 8 0 filepl 152 1168 0 1067 5 0 5 5 0 8 1 lockfpl 104 14 0 13 1 0 1 1 0 8 0 lockfspl 48 5 0 4 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 55 0 46 1 0 1 1 0 8 0 zombiepl 144 224 0 224 1 0 1 1 0 8 1 processpl 992 256 0 224 5 0 5 5 0 8 0 procpl 624 279 0 236 4 0 4 4 0 8 0 sockpl 400 89 0 70 4 1 3 3 0 8 1 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 194 0 0 24 0 24 24 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 217 0 0 15 1 14 14 0 8 0 bufpl 280 3370 0 132 232 0 232 232 0 8 0 anonpl 16 37481 0 23319 58 1 57 57 0 124 0 amapchunkpl 152 1038 0 899 8 0 8 8 0 158 1 amappl16 192 916 0 157 38 0 38 38 0 8 0 amappl15 184 6 0 4 2 1 1 1 0 8 0 amappl14 176 25 0 19 1 0 1 1 0 8 0 amappl13 168 30 0 26 1 0 1 1 0 8 0 amappl12 160 16 0 14 1 0 1 1 0 8 0 amappl11 152 62 0 45 1 0 1 1 0 8 0 amappl10 144 21 0 16 1 0 1 1 0 8 0 amappl9 136 389 0 388 1 0 1 1 0 8 0 amappl8 128 343 0 317 1 0 1 1 0 8 0 amappl7 120 117 0 105 1 0 1 1 0 8 0 amappl6 112 29 0 23 1 0 1 1 0 8 0 amappl5 104 131 0 116 1 0 1 1 0 8 0 amappl4 96 490 0 459 1 0 1 1 0 8 0 amappl3 88 104 0 95 1 0 1 1 0 8 0 amappl2 80 964 0 886 2 0 2 2 0 8 0 amappl1 72 15762 0 15301 23 7 16 18 0 8 6 amappl 80 525 0 481 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 241 0 224 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 241 0 224 1 0 1 1 0 8 0 vmmpekpl 168 6033 0 5999 2 0 2 2 0 8 0 vmmpepl 168 37161 0 35135 118 6 112 112 0 357 23 vmsppl 368 240 0 224 2 0 2 2 0 8 0 pdppl 4096 489 0 448 7 1 6 6 0 8 0 pvpl 32 131797 0 114469 142 0 142 142 0 265 2 pmappl 232 240 0 224 2 0 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 261 0 6 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff827a2ff0) 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(ffffffff828c8560) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828c8560) at __mp_lock+0x127 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f end of kernel end trace frame: 0x7f7ffffd5be0, count: 9 ddb{0}> trace x86_ipi_db(ffffffff827a2ff0) 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(ffffffff828c8560) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828c8560) at __mp_lock+0x127 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f end of kernel end trace frame: 0x7f7ffffd5be0, count: -6 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(ffffffff823ec8d5) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f682320,0,ffff800020e1ec18,0,0,ffff800020e1eb24) at soreceive+0x174a sys/kern/uipc_socket.c:983 soo_read(fffffd807cff61c8,ffff800020e1ec18,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddc9c8,6,ffff800020e1ec18,0,ffff800020e1ed00) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddc9c8,ffff800020e1ecb0,ffff800020e1ed00) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020e1ed80) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e1ed80) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd2a70, count: 7 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ec8d5) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f682320,0,ffff800020e1ec18,0,0,ffff800020e1eb24) at soreceive+0x174a sys/kern/uipc_socket.c:983 soo_read(fffffd807cff61c8,ffff800020e1ec18,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddc9c8,6,ffff800020e1ec18,0,ffff800020e1ed00) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddc9c8,ffff800020e1ecb0,ffff800020e1ed00) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020e1ed80) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e1ed80) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd2a70, count: -8