Warning: Permanently added '10.128.10.20' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program panic: rw_enter: unix locking against myself Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 82205 22220 0 0 0x4000000 1 syz-executor2871825532 498541 23923 0 0x14000 0x200 0 zerothread db_enter() at db_enter+0x1c panic(ffffffff828f78a3) at panic+0x17b rw_enter(ffff800000d9e920,1) at rw_enter+0x462 soisconnected(ffff800010fdc6e8) at soisconnected+0x1c2 unp_connect2(ffff800000d9e918,ffff800010fdc6e8) at unp_connect2+0xca unp_connect(ffff800000d9e918,fffffd806d4fc100,ffff80002a18c560) at unp_connect+0x46d sys_connect(ffff80002a18c560,ffff80002a228da0,ffff80002a228cf0) at sys_connect+0x207 syscall(ffff80002a228da0) at syscall+0x5ae Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc2ec244420, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: rw_enter: unix locking against myself ddb{1}> trace db_enter() at db_enter+0x1c panic(ffffffff828f78a3) at panic+0x17b rw_enter(ffff800000d9e920,1) at rw_enter+0x462 soisconnected(ffff800010fdc6e8) at soisconnected+0x1c2 unp_connect2(ffff800000d9e918,ffff800010fdc6e8) at unp_connect2+0xca unp_connect(ffff800000d9e918,fffffd806d4fc100,ffff80002a18c560) at unp_connect+0x46d sys_connect(ffff80002a18c560,ffff80002a228da0,ffff80002a228cf0) at sys_connect+0x207 syscall(ffff80002a228da0) at syscall+0x5ae Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc2ec244420, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a228910 rbx 0xffff800029ceccb7 rdx 0x3fd rcx 0 rax 0x2d r8 0x101010101010101 r9 0x8080808080808080 r10 0x647b3d02a9b05424 r11 0x9abb9ef9f4e4974a r12 0xffff800029cecab8 r13 0 r14 0 r15 0x1 rip 0xffffffff823f13fc db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002a228900 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor2871825532) tid=82205 pid=22220 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=61, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a18cd58,0xffff80002a18cac0 process=0xffff8000ffff3558 user=0xffff80002a223000, vmspace=0xfffffd806c9671d8 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 85411 156482 9295 0 3 0x80 nanoslp syz-executor2871825532 85411 386132 9295 0 3 0x4000080 fsleep syz-executor2871825532 85411 74628 9295 0 3 0x4000080 fsleep syz-executor2871825532 22220 330704 59423 0 2 0 syz-executor2871825532 *22220 82205 59423 0 7 0x4000000 syz-executor2871825532 22220 38179 59423 0 3 0x4000080 fsleep syz-executor2871825532 9073 384322 44116 0 3 0 getblk syz-executor2871825532 17962 383888 44116 0 3 0x80 nanoslp syz-executor2871825532 73534 504963 44116 0 3 0x80 nanoslp syz-executor2871825532 9295 143697 44116 0 3 0x80 nanoslp syz-executor2871825532 56243 124855 44116 0 3 0x80 nanoslp syz-executor2871825532 22001 60714 44116 0 3 0 biowait syz-executor2871825532 59423 158805 44116 0 3 0x80 nanoslp syz-executor2871825532 30412 406836 44116 0 3 0 biowait syz-executor2871825532 44116 162554 77518 0 3 0x82 nanoslp syz-executor2871825532 77518 237839 60754 0 3 0x10008a sigsusp ksh 60754 132750 14797 0 3 0x9a kqread sshd 74692 230222 1 0 3 0x100083 ttyin getty 14797 256383 1 0 3 0x88 kqread sshd 32991 376975 17201 74 3 0x1100092 bpf pflogd 17201 511235 1 0 3 0x80 netio pflogd 68386 206040 95283 73 3 0x1100090 kqread syslogd 95283 433649 1 0 3 0x100082 netio syslogd 84821 90553 1 0 3 0x100080 kqread resolvd 35658 428926 78308 77 3 0x100092 kqread dhcpleased 4725 343287 78308 77 3 0x100092 kqread dhcpleased 78308 13230 1 0 3 0x80 kqread dhcpleased 47909 507256 0 0 3 0x14200 bored smr 23923 498541 0 0 7 0x14200 zerothread 75613 303870 0 0 3 0x14200 aiodoned aiodoned 46602 395693 0 0 3 0x14200 syncer update 53450 75047 0 0 3 0x14200 cleaner cleaner 88410 272600 0 0 3 0x14200 reaper reaper 42642 205153 0 0 3 0x14200 pgdaemon pagedaemon 4408 326106 0 0 3 0x14200 bored viomb 20400 192813 0 0 3 0x40014200 acpi0 acpi0 51850 373139 0 0 3 0x40014200 idle1 47567 181743 0 0 3 0x14200 bored softnet3 60095 219428 0 0 3 0x14200 bored softnet2 41177 251432 0 0 3 0x14200 bored softnet1 12163 102466 0 0 3 0x14200 bored softnet0 78785 345887 0 0 3 0x14200 bored systqmp 57258 501586 0 0 3 0x14200 bored systq 43848 192539 0 0 3 0x14200 tmoslp softclockmp 52886 139463 0 0 3 0x40014200 tmoslp softclock 6471 344480 0 0 3 0x40014200 idle0 1 218568 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 22220 (syz-executor2871825532) thread 0xffff80002a18c560 (82205) exclusive rwlock unix r = 0 (0xffff800000d9e930) #0 witness_lock+0x447 #1 solock_pair+0x9f #2 unp_connect+0x395 #3 sys_connect+0x207 #4 syscall+0x5ae #5 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806cc6a920) #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+0x1188 #9 VOP_LOOKUP+0x5c #10 vfs_lookup+0x6e2 #11 namei+0x55a #12 unp_connect+0x1ce #13 sys_connect+0x207 #14 syscall+0x5ae #15 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82e2a1d0) #0 witness_lock+0x447 #1 unp_connect+0x1c6 #2 sys_connect+0x207 #3 syscall+0x5ae #4 Xsyscall+0x128 Process 9073 (syz-executor2871825532) thread 0xffff80002a188800 (384322) exclusive rrwlock inode r = 0 (0xfffffd806cc6a700) #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+0x1323 #9 VOP_LOOKUP+0x5c #10 vfs_lookup+0x6e2 #11 namei+0x55a #12 dounlinkat+0x9d #13 syscall+0x533 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806d5f51a8) #0 witness_lock+0x447 #1 rw_enter+0x3c8 #2 rrw_enter+0x8c #3 VOP_LOCK+0x8b #4 vn_lock+0x84 #5 vfs_lookup+0xd5 #6 namei+0x55a #7 dounlinkat+0x9d #8 syscall+0x533 #9 Xsyscall+0x128 Process 22001 (syz-executor2871825532) thread 0xffff80002a1872c0 (60714) exclusive rrwlock inode r = 0 (0xfffffd806cc6ad60) #0 witness_lock+0x447 #1 rw_enter+0x3c8 #2 rrw_enter+0x8c #3 VOP_LOCK+0x8b #4 ufs_ihashins+0x46 #5 ffs_vget+0x141 #6 ffs_inode_alloc+0x1c5 #7 ufs_mkdir+0xfb #8 VOP_MKDIR+0xc3 #9 domkdirat+0x125 #10 syscall+0x533 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806d5f5d58) #0 witness_lock+0x447 #1 rw_enter+0x3c8 #2 rrw_enter+0x8c #3 VOP_LOCK+0x8b #4 vn_lock+0x84 #5 vfs_lookup+0xd5 #6 namei+0x55a #7 domkdirat+0x79 #8 syscall+0x533 #9 Xsyscall+0x128 Process 30412 (syz-executor2871825532) thread 0xffff80002a187568 (406836) exclusive rrwlock inode r = 0 (0xfffffd806cc6a3d0) #0 witness_lock+0x447 #1 rw_enter+0x3c8 #2 rrw_enter+0x8c #3 VOP_LOCK+0x8b #4 ufs_ihashins+0x46 #5 ffs_vget+0x141 #6 ffs_inode_alloc+0x1c5 #7 ufs_mkdir+0xfb #8 VOP_MKDIR+0xc3 #9 domkdirat+0x125 #10 syscall+0x533 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd807e914d58) #0 witness_lock+0x447 #1 rw_enter+0x3c8 #2 rrw_enter+0x8c #3 VOP_LOCK+0x8b #4 vn_lock+0x84 #5 vfs_lookup+0xd5 #6 namei+0x55a #7 domkdirat+0x79 #8 syscall+0x533 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10155 6455K 6456K 166960K 11233 0 pcb 15 10K 10K 166960K 15 0 rtable 58 1K 2K 166960K 116 0 pf 15 6K 10K 166960K 26 0 ifaddr 13 9K 9K 166960K 13 0 ifgroup 22 1K 1K 166960K 22 0 counters 48 34K 34K 166960K 48 0 ioctlops 0 0K 4K 166960K 1475 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1176 74K 74K 166960K 1192 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 1 0K 0K 166960K 1 0 proc 67 91K 91K 166960K 302 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 11 0K 0K 166960K 11 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 25 122K 122K 166960K 25 0 exec 0 0K 1K 166960K 272 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 151 7K 8K 166960K 4380 0 UVM aobj 3 2K 2K 166960K 3 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 4 0K 0K 166960K 4 0 temp 1 6756K 6820K 166960K 3663 0 kqueue 11 16K 18K 166960K 24 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 21 0 18 1 0 1 1 0 8 0 rtentry 112 23 0 1 1 0 1 1 0 8 0 unpcb 144 570 0 550 1 0 1 1 0 8 0 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpqe 32 99 0 99 1 1 0 1 0 8 0 tcpcb 808 8 0 5 1 0 1 1 0 8 0 arp 120 2 0 0 1 0 1 1 0 8 0 inpcb 392 33 0 27 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 9 0 0 1 0 1 1 0 8 0 pfstkey 128 9 0 0 1 0 1 1 0 8 0 pfstate 376 9 0 0 1 0 1 1 0 8 0 pfrule 1344 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 97 0 0 7 0 7 7 0 8 0 art_table 32 98 0 0 1 0 1 1 0 8 0 art_node 16 22 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1956 0 541 89 0 89 89 0 8 0 ffsino 272 1956 0 541 95 0 95 95 0 8 0 nchpl 144 2692 0 1104 60 0 60 60 0 8 0 uvmvnodes 80 1970 0 0 41 0 41 41 0 8 0 vnodes 216 1970 0 0 110 0 110 110 0 8 0 namei 1024 6468 0 6466 2 0 2 2 0 8 1 percpumem 16 38 0 0 1 0 1 1 0 8 0 kstatmem 264 8 0 0 1 0 1 1 0 8 0 scxspl 216 7749 0 7747 3 1 2 2 1 8 1 plimitpl 152 17 0 10 1 0 1 1 0 8 0 sigapl 424 616 0 570 6 0 6 6 0 8 0 futexpl 64 1778 0 1775 1 0 1 1 0 8 0 knotepl 120 42 0 0 2 0 2 2 0 8 0 kqueuepl 216 20 0 13 1 0 1 1 0 8 0 pipepl 320 95 0 92 1 0 1 1 0 8 0 fdescpl 496 598 0 571 4 0 4 4 0 8 0 filepl 152 2077 0 2015 3 0 3 3 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 18 0 9 1 0 1 1 0 8 0 pgrppl 48 18 0 9 1 0 1 1 0 8 0 ucredpl 104 71 0 59 1 0 1 1 0 8 0 zombiepl 144 573 0 570 1 0 1 1 0 8 0 processpl 1136 616 0 570 4 0 4 4 0 8 0 procpl 680 1125 0 1075 6 0 6 6 0 8 1 sockpl 584 624 0 595 3 0 3 3 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 291 0 0 37 0 37 37 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 309 0 0 20 0 20 20 0 8 0 bufpl 280 2856 0 90 198 0 198 198 0 8 0 anonpl 24 202214 0 199862 25 2 23 25 0 186 8 amapchunkpl 152 14485 0 14185 14 0 14 14 0 158 2 amappl16 200 5698 0 5686 5 2 3 5 0 8 2 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 121 0 110 1 0 1 1 0 8 0 amappl13 176 17 0 17 1 1 0 1 0 8 0 amappl12 168 1150 0 1124 2 0 2 2 0 8 0 amappl11 160 123 0 109 1 0 1 1 0 8 0 amappl10 152 8 0 8 1 0 1 1 0 8 1 amappl9 144 224 0 224 1 0 1 1 0 8 1 amappl8 136 43 0 41 1 0 1 1 0 8 0 amappl7 128 381 0 356 1 0 1 1 0 8 0 amappl6 120 126 0 121 1 0 1 1 0 8 0 amappl5 112 100 0 89 1 0 1 1 0 8 0 amappl4 104 364 0 343 1 0 1 1 0 8 0 amappl3 96 3448 0 3375 3 0 3 3 0 8 1 amappl2 88 646 0 591 2 0 2 2 0 8 0 amappl1 80 10386 0 9874 12 0 12 12 0 8 0 amappl 88 4066 0 3962 3 0 3 3 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 598 0 571 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 598 0 571 1 0 1 1 0 8 0 vmmpekpl 168 9114 0 9099 1 0 1 1 0 8 0 vmmpepl 168 46338 0 44956 72 5 67 67 0 357 5 vmsppl 448 597 0 571 4 0 4 4 0 8 0 rwobjpl 56 21952 0 19196 40 1 39 39 0 8 0 pdppl 4096 1203 0 1142 87 18 69 69 0 8 8 pvpl 32 6989 0 0 57 0 57 57 0 265 0 pmappl 248 597 0 571 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 361 0 20 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82d27ff0) at x86_ipi_db+0x1e x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82e29fc8) at __mp_lock+0x129 intr_handler(ffff80002a16acb0,ffff80000006bc00) at intr_handler+0x62 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_const_cmp4(2,0) at __sanitizer_cov_trace_const_cmp4+0x15 msleep(ffffffff82e349dc,ffffffff82e34b60,7f,ffffffff828846b0,0) at msleep+0x90 uvm_pagezero_thread(ffff80002a1452b0) at uvm_pagezero_thread+0xb0 end trace frame: 0x0, count: 6 ddb{0}> trace x86_ipi_db(ffffffff82d27ff0) at x86_ipi_db+0x1e x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82e29fc8) at __mp_lock+0x129 intr_handler(ffff80002a16acb0,ffff80000006bc00) at intr_handler+0x62 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_const_cmp4(2,0) at __sanitizer_cov_trace_const_cmp4+0x15 msleep(ffffffff82e349dc,ffffffff82e34b60,7f,ffffffff828846b0,0) at msleep+0x90 uvm_pagezero_thread(ffff80002a1452b0) at uvm_pagezero_thread+0xb0 end trace frame: 0x0, count: -9 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x1c: addq $0x8,%rsp db_enter() at db_enter+0x1c panic(ffffffff828f78a3) at panic+0x17b rw_enter(ffff800000d9e920,1) at rw_enter+0x462 soisconnected(ffff800010fdc6e8) at soisconnected+0x1c2 unp_connect2(ffff800000d9e918,ffff800010fdc6e8) at unp_connect2+0xca unp_connect(ffff800000d9e918,fffffd806d4fc100,ffff80002a18c560) at unp_connect+0x46d sys_connect(ffff80002a18c560,ffff80002a228da0,ffff80002a228cf0) at sys_connect+0x207 syscall(ffff80002a228da0) at syscall+0x5ae Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc2ec244420, count: 6 ddb{1}> trace db_enter() at db_enter+0x1c panic(ffffffff828f78a3) at panic+0x17b rw_enter(ffff800000d9e920,1) at rw_enter+0x462 soisconnected(ffff800010fdc6e8) at soisconnected+0x1c2 unp_connect2(ffff800000d9e918,ffff800010fdc6e8) at unp_connect2+0xca unp_connect(ffff800000d9e918,fffffd806d4fc100,ffff80002a18c560) at unp_connect+0x46d sys_connect(ffff80002a18c560,ffff80002a228da0,ffff80002a228cf0) at sys_connect+0x207 syscall(ffff80002a228da0) at syscall+0x5ae Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc2ec244420, count: -9 ddb{1}>