Warning: Permanently added '10.128.1.62' (ED25519) to the list of known hosts. 2023/10/30 12:06:18 ignoring optional flag "sandboxArg"="0" 2023/10/30 12:06:18 parsed 1 programs 2023/10/30 12:06:20 executed programs: 0 panic: rw_enter: solock locking against myself Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *325828 98044 32767 0x10 0x4000000 0K syz-executor.6 14496 96938 32767 0x10 0 1 syz-executor.3 db_enter() at db_enter+0x1c panic(ffffffff827f3ead) at panic+0x17b rw_enter(fffffd807b5849b8,1) at rw_enter+0x462 soisconnected(fffffd807b584b98) at soisconnected+0x243 unp_connect2(fffffd807b5849b0,fffffd807b584b98) at unp_connect2+0xca unp_connect(fffffd807b5849b0,fffffd806d2ae900,ffff8000211e57f0) at unp_connect+0x46d sys_connect(ffff8000211e57f0,ffff80002140b9a0,ffff80002140b9f0) at sys_connect+0x207 syscall(ffff80002140ba70) at syscall+0x606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x370b3ec2dd0, count: 6 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: rw_enter: solock locking against myself ddb{0}> trace db_enter() at db_enter+0x1c panic(ffffffff827f3ead) at panic+0x17b rw_enter(fffffd807b5849b8,1) at rw_enter+0x462 soisconnected(fffffd807b584b98) at soisconnected+0x243 unp_connect2(fffffd807b5849b0,fffffd807b584b98) at unp_connect2+0xca unp_connect(fffffd807b5849b0,fffffd806d2ae900,ffff8000211e57f0) at unp_connect+0x46d sys_connect(ffff8000211e57f0,ffff80002140b9a0,ffff80002140b9f0) at sys_connect+0x207 syscall(ffff80002140ba70) at syscall+0x606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x370b3ec2dd0, count: -9 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002140b5e0 rbx 0xffffffff82bc9ba7 cpu_info_full_primary+0x2ba7 rdx 0 rcx 0xffff8000211e57f0 rax 0xffffffff82bc8ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xcf3511720cf6de2f r11 0x8fdd2e3ea7b3ce9a r12 0xffffffff82bc99a8 cpu_info_full_primary+0x29a8 r13 0 r14 0 r15 0x1 rip 0xffffffff8137fedc db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002140b5d0 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.6) tid=325828 pid=98044 tcnt=4 stat=onproc flags process=10 proc=4000000 runpri=32, usrpri=71, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff8000211e5548,0xffff8000211e5aa8 process=0xffff8000213b1518 user=0xffff800021406000, vmspace=0xfffffd80693175b0 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 99324 90485 78097 32767 2 0x10 syz-executor.4 98044 307642 7545 32767 2 0x10 syz-executor.6 *98044 325828 7545 32767 7 0x4000010 syz-executor.6 98044 314616 7545 32767 3 0x4000090 fsleep syz-executor.6 98044 314141 7545 32767 3 0x4000090 fsleep syz-executor.6 10170 172089 52752 32767 2 0x10 syz-executor.7 10170 218441 52752 32767 3 0x4000090 fsleep syz-executor.7 10170 488537 52752 32767 2 0x4000010 syz-executor.7 10170 231346 52752 32767 2 0x4000010 syz-executor.7 95072 231666 65589 32767 2 0x10 syz-executor.1 95072 405612 65589 32767 3 0x4000090 fsleep syz-executor.1 95072 59934 65589 32767 3 0x4000090 fsleep syz-executor.1 95072 86467 65589 32767 3 0x4000090 fsleep syz-executor.1 97620 450084 12385 32767 2 0x10 syz-executor.2 97620 499065 12385 32767 3 0x4000090 fsleep syz-executor.2 52752 160 65148 32767 3 0x90 nanoslp syz-executor.7 65148 107306 77583 0 3 0x82 wait syz-executor.7 78097 411799 2956 32767 3 0x90 nanoslp syz-executor.4 2956 243295 77583 0 3 0x82 wait syz-executor.4 58725 456695 25252 32767 2 0x10 syz-executor.5 96938 14496 35767 32767 7 0x10 syz-executor.3 12385 360786 54275 32767 3 0x90 nanoslp syz-executor.2 35767 111156 77583 0 3 0x82 wait syz-executor.3 25252 311157 77583 0 3 0x82 wait syz-executor.5 7545 418853 93179 32767 3 0x90 nanoslp syz-executor.6 54275 512981 77583 0 3 0x82 wait syz-executor.2 93179 68384 77583 0 3 0x82 wait syz-executor.6 65589 198457 79321 32767 3 0x90 nanoslp syz-executor.1 17119 35570 46161 32767 3 0x90 nanoslp syz-executor.0 46161 454793 77583 0 3 0x82 wait syz-executor.0 79321 73735 77583 0 3 0x82 wait syz-executor.1 77583 154603 98233 0 3 0x2000082 wait syz-execprog 77583 121082 98233 0 3 0x6000082 nanoslp syz-execprog 77583 366266 98233 0 3 0x6000082 wait syz-execprog 77583 142524 98233 0 3 0x6000082 wait syz-execprog 77583 343710 98233 0 3 0x6000082 thrsleep syz-execprog 77583 66732 98233 0 3 0x6000082 wait syz-execprog 77583 199904 98233 0 3 0x6000082 wait syz-execprog 77583 170239 98233 0 3 0x6000082 thrsleep syz-execprog 77583 29036 98233 0 3 0x6000082 wait syz-execprog 77583 386896 98233 0 3 0x6000082 thrsleep syz-execprog 77583 312833 98233 0 3 0x6000082 wait syz-execprog 77583 190490 98233 0 2 0x6000082 syz-execprog 77583 21994 98233 0 3 0x6000082 wait syz-execprog 77583 134578 98233 0 3 0x6000082 thrsleep syz-execprog 77583 229565 98233 0 3 0x6000082 thrsleep syz-execprog 98233 74308 98434 0 3 0x10008a sigsusp ksh 98434 60374 8639 0 3 0x9a kqread sshd 78884 484861 1 0 3 0x100083 ttyin getty 8639 248496 1 0 3 0x88 kqread sshd 96812 221032 76963 73 3 0x1100090 kqread syslogd 76963 86920 1 0 3 0x100082 netio syslogd 29166 312495 1 0 3 0x100080 kqread resolvd 30058 442680 79512 77 3 0x100092 kqread dhcpleased 29769 153482 79512 77 3 0x100092 kqread dhcpleased 79512 468748 1 0 3 0x80 kqread dhcpleased 95160 175445 0 0 3 0x14200 bored smr 25469 445706 0 0 2 0x14200 zerothread 57599 490294 0 0 3 0x14200 aiodoned aiodoned 16681 188934 0 0 3 0x14200 syncer update 91216 31145 0 0 3 0x14200 cleaner cleaner 51104 89053 0 0 3 0x14200 reaper reaper 21683 124147 0 0 3 0x14200 pgdaemon pagedaemon 30435 123740 0 0 3 0x14200 bored viomb 93274 364188 0 0 3 0x40014200 acpi0 acpi0 60864 429293 0 0 3 0x40014200 idle1 92791 21356 0 0 3 0x14200 bored softnet3 90983 176361 0 0 3 0x14200 bored softnet2 39621 159502 0 0 3 0x14200 bored softnet1 90645 319493 0 0 3 0x14200 bored softnet0 38256 503789 0 0 3 0x14200 bored systqmp 63809 94208 0 0 3 0x14200 bored systq 67391 179496 0 0 3 0x14200 tmoslp softclockmp 31718 305179 0 0 3 0x40014200 tmoslp softclock 27834 28313 0 0 3 0x40014200 idle0 1 521982 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 98044 (syz-executor.6) thread 0xffff8000211e57f0 (325828) exclusive rwlock solock r = 0 (0xfffffd807b5849c8) #0 witness_lock+0x447 #1 solock_pair+0x9f #2 unp_connect+0x395 #3 sys_connect+0x207 #4 syscall+0x606 #5 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd807b1cc1a8) #0 witness_lock+0x447 #1 rw_enter+0x3c8 #2 rrw_enter+0x8c #3 VOP_LOCK+0x8b #4 vn_lock+0x84 #5 vget+0x200 #6 ufs_ihashget+0x121 #7 ffs_vget+0x7c #8 ufs_lookup+0x122c #9 VOP_LOOKUP+0x5c #10 vfs_lookup+0x6e2 #11 namei+0x55a #12 unp_connect+0x1ce #13 sys_connect+0x207 #14 syscall+0x606 #15 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82cabf28) #0 witness_lock+0x447 #1 unp_connect+0x1c6 #2 sys_connect+0x207 #3 syscall+0x606 #4 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10180 6408K 6420K 78643K 11261 0 pcb 13 8K 8K 78643K 13 0 rtable 234 6K 6K 78643K 380 0 pf 29 8K 8K 78643K 32 0 ifaddr 44 15K 15K 78643K 50 0 ifgroup 50 2K 2K 78643K 55 0 counters 60 35K 35K 78643K 62 0 ioctlops 0 0K 2K 78643K 30 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1187 74K 74K 78643K 1200 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 1697 195K 286K 78643K 12548 0 file desc 23 85K 117K 78643K 206 0 proc 56 78K 115K 78643K 499 0 subproc 0 0K 0K 78643K 13 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 99 7K 7K 78643K 110 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 25 122K 122K 78643K 25 0 exec 0 0K 1K 78643K 404 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 280 75K 76K 78643K 4841 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 27 2K 2K 78643K 30 0 temp 1 5904K 5968K 78643K 4735 0 kqueue 12 18K 18K 78643K 34 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 38 0 35 1 0 1 1 0 8 0 rtentry 112 122 0 12 4 0 4 4 0 8 0 unpcb 144 267 0 245 1 0 1 1 0 8 0 syncache 304 8 0 8 2 1 1 1 0 8 1 tcpqe 32 317 0 317 2 2 0 1 0 8 0 tcpcb 808 12 0 9 1 0 1 1 0 8 0 arp 120 20 0 2 1 0 1 1 0 8 0 inpcb 368 66 0 60 1 0 1 1 0 8 0 nd6 136 27 0 3 2 1 1 1 0 8 0 kcovpl 48 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 501 0 48 32 3 29 29 0 8 0 art_table 32 502 0 48 5 1 4 4 0 8 0 art_node 16 121 0 21 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1593 0 146 91 0 91 91 0 8 0 ffsino 272 1593 0 146 97 0 97 97 0 8 0 nchpl 144 1955 0 262 63 0 63 63 0 8 0 uvmvnodes 80 1615 0 0 33 0 33 33 0 8 0 vnodes 216 1615 0 0 90 0 90 90 0 8 0 namei 1024 7503 0 7503 3 2 1 2 0 8 1 percpumem 16 44 0 1 1 0 1 1 0 8 0 kstatmem 264 24 0 2 2 0 2 2 0 8 0 scxspl 216 7769 0 7769 10 8 2 8 1 8 2 plimitpl 152 58 0 35 1 0 1 1 0 8 0 sigapl 424 530 0 477 8 1 7 7 0 8 0 futexpl 64 364 0 357 2 1 1 1 0 8 0 knotepl 120 126 0 0 4 0 4 4 0 8 0 kqueuepl 216 30 0 22 1 0 1 1 0 8 0 pipepl 320 182 0 154 5 2 3 3 0 8 0 fdescpl 496 512 0 478 7 1 6 6 0 8 0 filepl 152 2273 0 2136 7 1 6 6 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 32 0 16 1 0 1 1 0 8 0 pgrppl 48 32 0 16 1 0 1 1 0 8 0 ucredpl 104 120 0 102 1 0 1 1 0 8 0 zombiepl 144 478 0 477 2 1 1 1 0 8 0 processpl 1072 530 0 477 6 1 5 5 0 8 0 procpl 680 682 0 605 9 2 7 7 0 8 0 sockpl 488 371 0 340 6 1 5 5 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 10 0 0 2 0 2 2 0 8 0 mcl2k 2048 296 0 0 35 0 35 35 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 306 0 0 19 0 19 19 0 8 0 bufpl 288 4815 0 138 335 0 335 335 0 8 0 anonpl 24 347963 0 343386 66 17 49 51 0 186 19 amapchunkpl 152 17786 0 17087 46 16 30 30 0 158 0 amappl16 200 10393 0 10314 10 4 6 6 0 8 0 amappl15 192 62 0 62 2 2 0 1 0 8 0 amappl14 184 216 0 204 3 1 2 2 0 8 1 amappl13 176 41 0 39 3 2 1 1 0 8 0 amappl12 168 1186 0 1151 3 1 2 2 0 8 0 amappl11 160 66 0 55 1 0 1 1 0 8 0 amappl10 152 129 0 118 3 2 1 1 0 8 0 amappl9 144 333 0 332 2 1 1 1 0 8 0 amappl8 136 278 0 250 3 1 2 2 0 8 0 amappl7 128 240 0 221 3 1 2 2 0 8 0 amappl6 120 339 0 329 1 0 1 1 0 8 0 amappl5 112 171 0 163 1 0 1 1 0 8 0 amappl4 104 607 0 584 3 1 2 2 0 8 1 amappl3 96 4087 0 3988 4 1 3 3 0 8 0 amappl2 88 1138 0 1064 4 1 3 3 0 8 0 amappl1 80 14798 0 14265 31 11 20 22 0 8 7 amappl 88 4181 0 3974 8 2 6 6 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 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 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 512 0 478 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 512 0 478 1 0 1 1 0 8 0 vmmpekpl 168 14341 0 14315 2 0 2 2 0 8 0 vmmpepl 168 69636 0 67795 124 17 107 110 0 357 22 vmsppl 464 511 0 478 9 3 6 6 0 8 0 rwobjpl 56 32994 0 30371 54 10 44 45 0 8 2 pdppl 4096 1032 0 956 138 46 92 92 0 8 16 pvpl 32 668797 0 658757 353 43 310 329 0 265 223 pmappl 248 511 0 478 5 2 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 771 0 55 21 0 21 21 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x1c panic(ffffffff827f3ead) at panic+0x17b rw_enter(fffffd807b5849b8,1) at rw_enter+0x462 soisconnected(fffffd807b584b98) at soisconnected+0x243 unp_connect2(fffffd807b5849b0,fffffd807b584b98) at unp_connect2+0xca unp_connect(fffffd807b5849b0,fffffd806d2ae900,ffff8000211e57f0) at unp_connect+0x46d sys_connect(ffff8000211e57f0,ffff80002140b9a0,ffff80002140b9f0) at sys_connect+0x207 syscall(ffff80002140ba70) at syscall+0x606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x370b3ec2dd0, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffff800020d48ff0) at x86_ipi_db+0x1e x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82cabd20) at __mp_lock+0x122 syscall(ffff800021379cc0) at syscall+0x5cd Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e9882284460, count: 9 ddb{1}> trace x86_ipi_db(ffff800020d48ff0) at x86_ipi_db+0x1e x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82cabd20) at __mp_lock+0x122 syscall(ffff800021379cc0) at syscall+0x5cd Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e9882284460, count: -6