login: panic: receive 3: so 0xfffffd806f686000, so_type 3, m 0xfffffd8068580800, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 407708 28478 0 0 0x4000000 0 syz-executor.0 *109685 72970 0 0 0 1K dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823e2888) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806f686000,0,ffff800020e1e9a8,0,0,ffff800020e1e8b4) at soreceive+0x1727 soo_read(fffffd80769f8260,ffff800020e1e9a8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddc4e8,6,ffff800020e1e9a8,0,ffff800020e1ea90) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddc4e8,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: 0x7f7fffff8870, 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 0xfffffd806f686000, so_type 3, m 0xfffffd8068580800, m_type 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823e2888) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806f686000,0,ffff800020e1e9a8,0,0,ffff800020e1e8b4) at soreceive+0x1727 soo_read(fffffd80769f8260,ffff800020e1e9a8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddc4e8,6,ffff800020e1e9a8,0,ffff800020e1ea90) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddc4e8,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: 0x7f7fffff8870, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020e1e6f0 rbx 0xffff800020e1e7a0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff8210369f kprintf+0x16f r9 0x1 r10 0x2 r11 0x8a40a2762292400b r12 0x3000000008 r13 0xffff800020e1e700 r14 0x100 r15 0x1 rip 0xffffffff81785548 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020e1e6e0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (dhclient) pid=109685 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddd118,0xffff800020ddc768 process=0xffff800020df0f90 user=0xffff800020e19000, vmspace=0xfffffd807efff450 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 28478 446062 33808 0 2 0 syz-executor.0 28478 407708 33808 0 7 0x4000000 syz-executor.0 46721 20409 0 0 3 0x14280 nfsidl nfsio 52074 458818 0 0 3 0x14280 nfsidl nfsio 58135 46693 0 0 3 0x14280 nfsidl nfsio 91921 288706 0 0 3 0x14280 nfsidl nfsio 65135 481690 0 0 3 0x14280 nfsidl nfsio 86283 293966 0 0 3 0x14280 nfsidl nfsio 25417 432196 0 0 3 0x14280 nfsidl nfsio 71718 433309 0 0 3 0x14280 nfsidl nfsio 56555 257330 0 0 3 0x14280 nfsidl nfsio 27197 484598 0 0 3 0x14280 nfsidl nfsio 55765 260465 0 0 3 0x14280 nfsidl nfsio 93681 363357 0 0 3 0x14280 nfsidl nfsio 16233 94938 0 0 3 0x14280 nfsidl nfsio 26093 371937 0 0 3 0x14280 nfsidl nfsio 29422 506786 0 0 3 0x14280 nfsidl nfsio 63782 519792 0 0 3 0x14280 nfsidl nfsio 24130 7189 0 0 3 0x14280 nfsidl nfsio 99372 382869 0 0 3 0x14280 nfsidl nfsio 74556 356304 0 0 3 0x14280 nfsidl nfsio 71938 320200 0 0 3 0x14280 nfsidl nfsio 26246 426438 31682 0 3 0x82 piperd syz-executor.1 33808 215759 31682 0 3 0x82 nanosleep syz-executor.0 31682 97022 72125 0 3 0x82 thrsleep syz-fuzzer 31682 203680 72125 0 3 0x4000082 nanosleep syz-fuzzer 31682 478723 72125 0 3 0x4000082 thrsleep syz-fuzzer 31682 435267 72125 0 3 0x4000082 thrsleep syz-fuzzer 31682 174491 72125 0 3 0x4000082 thrsleep syz-fuzzer 31682 485070 72125 0 3 0x4000082 thrsleep syz-fuzzer 31682 457584 72125 0 3 0x4000082 thrsleep syz-fuzzer 31682 84884 72125 0 3 0x4000082 nanosleep syz-fuzzer 72125 320733 26140 0 3 0x10008a pause ksh 26140 354765 50743 0 3 0x92 select sshd 84838 327031 1 0 3 0x100083 ttyin getty 50743 142878 1 0 3 0x80 select sshd 34569 119637 24495 74 3 0x100092 bpf pflogd 24495 182571 1 0 3 0x80 netio pflogd 29409 7506 65590 73 3 0x100090 kqread syslogd 65590 22422 1 0 3 0x100082 netio syslogd 94872 215233 1 77 3 0x100090 poll dhclient *72970 109685 1 0 7 0 dhclient 26475 322555 0 0 3 0x14200 bored smr 12900 303293 0 0 3 0x14200 pgzero zerothread 51596 465736 0 0 3 0x14200 aiodoned aiodoned 33245 118251 0 0 3 0x14200 syncer update 3058 235319 0 0 3 0x14200 cleaner cleaner 86475 504418 0 0 3 0x14200 reaper reaper 37311 240334 0 0 3 0x14200 pgdaemon pagedaemon 74596 409078 0 0 3 0x14200 bored crynlk 83675 116438 0 0 3 0x14200 bored crypto 68623 125168 0 0 3 0x40014200 acpi0 acpi0 60240 391924 0 0 3 0x40014200 idle1 54087 337809 0 0 3 0x14200 bored softnet 45995 247460 0 0 3 0x14200 bored systqmp 26482 520520 0 0 3 0x14200 bored systq 20201 353389 0 0 3 0x40014200 bored softclock 32281 11322 0 0 3 0x40014200 idle0 1 50265 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 72970 (dhclient) thread 0xffff800020ddc4e8 (109685) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82935f10) #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 9472 6397K 6656K 78643K 10635 0 pcb 13 8K 8K 78643K 23 0 rtable 112 4K 4K 78643K 214 0 ifaddr 53 12K 12K 78643K 61 0 counters 43 33K 33K 78643K 43 0 ioctlops 0 0K 4K 78643K 1494 0 iov 0 0K 12K 78643K 6 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1247 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 20 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 100 0 proc 59 63K 83K 78643K 438 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 6 0 in_multi 43 2K 2K 78643K 54 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 49 228K 228K 78643K 49 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 153 26K 27K 78643K 1306 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 6 0 NDP 6 0K 0K 78643K 10 0 temp 79 3854K 3918K 78643K 2193 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 7 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 27 0 25 1 0 1 1 0 8 0 rtentry 112 49 0 3 2 0 2 2 0 8 0 unpcb 120 127 0 117 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 60 0 60 1 1 0 1 0 8 0 tcpcb 544 25 0 18 1 0 1 1 0 8 0 inpcb 296 114 0 106 2 1 1 2 0 8 0 nd6 48 8 0 2 1 0 1 1 0 8 0 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 1 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 15 0 3 1 0 1 1 0 8 0 pfstkey 112 17 0 5 1 0 1 1 0 8 0 pfstate 328 16 0 4 2 0 2 2 0 8 0 pfrule 1360 25 0 17 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 195 0 0 13 0 13 13 0 8 0 art_table 32 196 0 0 2 0 2 2 0 8 0 art_node 16 48 0 7 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 7 1 0 1 1 0 8 0 semupl 112 5 0 5 1 1 0 1 0 8 0 semapl 112 10 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1511 0 105 89 0 89 89 0 8 1 ffsino 272 1511 0 105 95 1 94 94 0 8 0 nchpl 144 1807 0 198 60 0 60 60 0 8 0 uvmvnodes 72 1575 0 0 29 0 29 29 0 8 0 vnodes 208 1575 0 0 83 0 83 83 0 8 0 namei 1024 4873 0 4873 2 1 1 1 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 192 5340 0 5340 6 4 2 4 0 8 2 plimitpl 152 19 0 11 1 0 1 1 0 8 0 sigapl 424 335 0 284 6 0 6 6 0 8 0 futexpl 56 1034 0 1034 2 1 1 1 0 8 1 knotepl 112 62 0 42 1 0 1 1 0 8 0 kqueuepl 144 6 0 4 1 0 1 1 0 8 0 pipepl 304 84 0 73 2 1 1 2 0 8 0 fdescpl 496 300 0 284 3 0 3 3 0 8 0 filepl 152 1637 0 1534 5 0 5 5 0 8 1 lockfpl 104 21 0 20 1 0 1 1 0 8 0 lockfspl 48 6 0 5 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 167 0 158 1 0 1 1 0 8 0 zombiepl 144 284 0 284 2 1 1 1 0 8 1 processpl 992 335 0 284 8 1 7 7 0 8 0 procpl 624 511 0 452 7 1 6 6 0 8 1 sockpl 400 268 0 248 5 2 3 4 0 8 1 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 343 0 0 42 0 42 42 0 8 0 mtagpl 96 8 0 0 1 0 1 1 0 8 0 mbufpl 256 355 0 0 22 0 22 22 0 8 0 bufpl 280 3394 0 132 233 0 233 233 0 8 0 anonpl 16 44967 0 27257 73 1 72 72 0 124 0 amapchunkpl 152 1733 0 1435 14 0 14 14 0 158 0 amappl16 192 1199 0 391 41 0 41 41 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 58 0 53 1 0 1 1 0 8 0 amappl13 168 28 0 25 1 0 1 1 0 8 0 amappl12 160 15 0 12 2 1 1 1 0 8 0 amappl11 152 84 0 67 1 0 1 1 0 8 0 amappl10 144 19 0 12 1 0 1 1 0 8 0 amappl9 136 378 0 375 1 0 1 1 0 8 0 amappl8 128 342 0 305 2 0 2 2 0 8 0 amappl7 120 121 0 105 1 0 1 1 0 8 0 amappl6 112 55 0 49 2 1 1 1 0 8 0 amappl5 104 202 0 185 1 0 1 1 0 8 0 amappl4 96 484 0 456 1 0 1 1 0 8 0 amappl3 88 139 0 133 1 0 1 1 0 8 0 amappl2 80 1471 0 1401 2 0 2 2 0 8 0 amappl1 72 17396 0 16932 23 13 10 18 0 8 0 amappl 80 786 0 709 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 300 0 284 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 300 0 284 1 0 1 1 0 8 0 vmmpekpl 168 6484 0 6446 2 0 2 2 0 8 0 vmmpepl 168 44957 0 42919 126 27 99 116 0 357 8 vmsppl 368 299 0 284 2 0 2 2 0 8 0 pdppl 4096 607 0 568 7 1 6 6 0 8 1 pvpl 32 154740 0 133793 173 0 173 173 0 265 3 pmappl 232 299 0 284 2 1 1 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 296 0 9 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82779ff0) 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 __sanitizer_cov_trace_cmp4(89865,89866) at __sanitizer_cov_trace_cmp4+0x10 sys/dev/kcov.c:134 __mp_lock(ffffffff82935d08) at __mp_lock+0x139 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82935d08) at __mp_lock+0x139 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(ffffffff82935d08,ffffffff82935d08) at __sanitizer_cov_trace_cmp4+0xb sys/dev/kcov.c:134 sys_futex(ffff800020e383a0,ffff800021f03a90,ffff800021f03ae0) at sys_futex+0xf6 sys/kern/sys_futex.c:109 syscall(ffff800021f03b60) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f03b60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x66db70b4150, count: 4 ddb{0}> trace x86_ipi_db(ffffffff82779ff0) 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 __sanitizer_cov_trace_cmp4(89865,89866) at __sanitizer_cov_trace_cmp4+0x10 sys/dev/kcov.c:134 __mp_lock(ffffffff82935d08) at __mp_lock+0x139 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82935d08) at __mp_lock+0x139 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(ffffffff82935d08,ffffffff82935d08) at __sanitizer_cov_trace_cmp4+0xb sys/dev/kcov.c:134 sys_futex(ffff800020e383a0,ffff800021f03a90,ffff800021f03ae0) at sys_futex+0xf6 sys/kern/sys_futex.c:109 syscall(ffff800021f03b60) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f03b60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x66db70b4150, 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(ffffffff823e2888) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806f686000,0,ffff800020e1e9a8,0,0,ffff800020e1e8b4) at soreceive+0x1727 soo_read(fffffd80769f8260,ffff800020e1e9a8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddc4e8,6,ffff800020e1e9a8,0,ffff800020e1ea90) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddc4e8,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: 0x7f7fffff8870, count: 7 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823e2888) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806f686000,0,ffff800020e1e9a8,0,0,ffff800020e1e8b4) at soreceive+0x1727 soo_read(fffffd80769f8260,ffff800020e1e9a8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddc4e8,6,ffff800020e1e9a8,0,ffff800020e1ea90) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddc4e8,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: 0x7f7fffff8870, count: -8