Warning: Permanently added '10.128.0.102' (ED25519) to the list of known hosts. 2022/03/22 12:12:48 parsed 1 programs 2022/03/22 12:12:52 executed programs: 0 login: panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 84121 2174 0 0 0 1 syz-executor.5 *453016 52187 0 0 0x4000000 0 syz-executor.4 db_enter() at db_enter+0x18 panic(ffffffff825a2db5) at panic+0x177 witness_checkorder(ffffffff829f3ad8,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 selwakeup(fffffd806fc008b0) at selwakeup+0x16 sorwakeup(fffffd806fc00798) at sorwakeup+0xc9 rip_input(ffff800021337c58,ffff800021337c64,0,2) at rip_input+0x3b0 ip_deliver(ffff800021337c58,ffff800021337c64,0,2) at ip_deliver+0x322 ip_ours(ffff800021337c58,ffff800021337c64,fffffd806a542648,0) at ip_ours+0x3ba ip_input_if(ffff800021337c58,ffff800021337c64,4,0,ffff80000019f2a8) at ip_input_if+0x2a1 ipv4_input(ffff80000019f2a8,fffffd806c1f2600) at ipv4_input+0x48 if_input_local(ffff80000019f2a8,fffffd806c1f2600,2) at if_input_local+0x10e ether_resolve(ffff80000019f2a8,fffffd8074fe3d00,fffffd806f67e1c0,fffffd806f37a460,ffff800021337da8) at ether_resolve+0x4ac ether_output(ffff80000019f2a8,fffffd8074fe3d00,fffffd806f67e1c0,fffffd806f37a460) at ether_output+0x47 end trace frame: 0xffff800021337f20, count: 0 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: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock ddb{0}> trace db_enter() at db_enter+0x18 panic(ffffffff825a2db5) at panic+0x177 witness_checkorder(ffffffff829f3ad8,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 selwakeup(fffffd806fc008b0) at selwakeup+0x16 sorwakeup(fffffd806fc00798) at sorwakeup+0xc9 rip_input(ffff800021337c58,ffff800021337c64,0,2) at rip_input+0x3b0 ip_deliver(ffff800021337c58,ffff800021337c64,0,2) at ip_deliver+0x322 ip_ours(ffff800021337c58,ffff800021337c64,fffffd806a542648,0) at ip_ours+0x3ba ip_input_if(ffff800021337c58,ffff800021337c64,4,0,ffff80000019f2a8) at ip_input_if+0x2a1 ipv4_input(ffff80000019f2a8,fffffd806c1f2600) at ipv4_input+0x48 if_input_local(ffff80000019f2a8,fffffd806c1f2600,2) at if_input_local+0x10e ether_resolve(ffff80000019f2a8,fffffd8074fe3d00,fffffd806f67e1c0,fffffd806f37a460,ffff800021337da8) at ether_resolve+0x4ac ether_output(ffff80000019f2a8,fffffd8074fe3d00,fffffd806f67e1c0,fffffd806f37a460) at ether_output+0x47 ip_output(fffffd8074fe3d00,0,fffffd806f67e1b0,20,0,fffffd806f67e138,69db4827a0b3f5f7) at ip_output+0x106b rip_output(fffffd8074fe3d00,fffffd806fc001f8,ffff800021337fc0,1) at rip_output+0x2cb rip_usrreq(fffffd806fc001f8,9,fffffd8074fe3d00,0,0,ffff8000fffee7f0) at rip_usrreq+0x49c sosend(fffffd806fc001f8,0,ffff800021338250,0,0,0) at sosend+0x632 dofilewritev(ffff8000fffee7f0,3,ffff800021338250,0,ffff800021338350) at dofilewritev+0x19c sys_writev(ffff8000fffee7f0,ffff8000213382f8,ffff800021338350) at sys_writev+0xa7 syscall(ffff8000213383c0) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf7cfe169830, count: -22 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff8000213377e0 rbx 0xffffffff8298dbff cpu_info_full_primary+0x2bff rdx 0x3fd rcx 0 rax 0x68 r8 0x101010101010101 r9 0x8080808080808080 r10 0xa3a8398179f9e7f0 r11 0xce40dc8a574d9d43 r12 0xffffffff8298da00 cpu_info_full_primary+0x2a00 r13 0 r14 0 r15 0x1 rip 0xffffffff811e4c58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000213377d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.4) pid=453016 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffee550,0xffff8000fffef280 process=0xffff8000ffff1908 user=0xffff800021333000, vmspace=0xfffffd806a8c0d00 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 2174 84121 70036 0 7 0 syz-executor.5 2174 386749 70036 0 2 0x4000000 syz-executor.5 34527 73291 46269 0 2 0x100000 sh 87926 498133 53662 0 2 0 syz-executor.1 87926 438058 53662 0 3 0x4000080 fsleep syz-executor.1 34441 5643 59714 0 2 0 syz-executor.7 52187 257224 65639 0 2 0 syz-executor.4 *52187 453016 65639 0 7 0x4000000 syz-executor.4 35878 87156 37500 0 2 0 syz-executor.0 35878 79474 37500 0 3 0x4000080 fsleep syz-executor.0 46269 53187 64137 0 3 0x10008a sigsusp sh 47043 118143 74254 0 3 0x100082 netio arp 74254 165312 82902 0 3 0x10008a sigsusp sh 53662 359068 61167 0 3 0x82 nanoslp syz-executor.1 59714 485882 61167 0 3 0x82 nanoslp syz-executor.7 82902 448019 61167 0 3 0x82 wait syz-executor.2 37486 476047 61167 0 2 0x2 syz-executor.3 70036 12063 61167 0 3 0x82 nanoslp syz-executor.5 64137 258436 61167 0 3 0x82 wait syz-executor.6 65639 4165 61167 0 3 0x82 nanoslp syz-executor.4 37500 293985 61167 0 3 0x82 nanoslp syz-executor.0 61167 469445 10461 0 3 0x82 nanoslp syz-execprog 61167 155944 10461 0 3 0x4000082 nanoslp syz-execprog 61167 285856 10461 0 3 0x4000082 thrsleep syz-execprog 61167 135080 10461 0 2 0x4000002 syz-execprog 61167 264823 10461 0 3 0x4000082 thrsleep syz-execprog 61167 238865 10461 0 3 0x4000082 thrsleep syz-execprog 61167 204199 10461 0 3 0x4000082 thrsleep syz-execprog 61167 255167 10461 0 3 0x4000082 thrsleep syz-execprog 10461 430450 84506 0 3 0x10008a sigsusp ksh 84506 470448 13316 0 3 0x9a kqread sshd 47593 206686 1 0 3 0x100083 ttyin getty 13316 233550 1 0 3 0x88 kqread sshd 58664 79708 27931 74 3 0x1100092 bpf pflogd 27931 112013 1 0 3 0x80 netio pflogd 54579 73751 97048 73 3 0x1100090 kqread syslogd 97048 401986 1 0 3 0x100082 netio syslogd 5410 440824 1 0 3 0x100080 kqread resolvd 64194 105337 55575 77 3 0x100092 kqread dhcpleased 78265 523567 55575 77 3 0x100092 kqread dhcpleased 55575 337263 1 0 3 0x80 kqread dhcpleased 86712 218011 0 0 3 0x14200 bored smr 28952 475849 0 0 2 0x14200 zerothread 61355 327350 0 0 3 0x14200 aiodoned aiodoned 26873 223901 0 0 3 0x14200 syncer update 38120 122009 0 0 3 0x14200 cleaner cleaner 77460 86497 0 0 3 0x14200 reaper reaper 19112 345546 0 0 3 0x14200 pgdaemon pagedaemon 72723 197507 0 0 3 0x14200 bored viomb 25063 131379 0 0 3 0x40014200 acpi0 acpi0 21263 115099 0 0 3 0x40014200 idle1 71381 247293 0 0 3 0x14200 bored softnet 42815 153809 0 0 3 0x14200 bored systqmp 37176 107800 0 0 3 0x14200 bored systq 27399 199707 0 0 3 0x40014200 bored softclock 79928 53847 0 0 3 0x40014200 idle0 1 187496 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &table->inpt_mtx r = 0 (0xffffffff82b03010) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b #3 rip_input+0x135 #4 ip_deliver+0x322 #5 ip_ours+0x3ba #6 ip_input_if+0x2a1 #7 ipv4_input+0x48 #8 if_input_local+0x10e #9 ether_resolve+0x4ac #10 ether_output+0x47 #11 ip_output+0x106b #12 rip_output+0x2cb #13 rip_usrreq+0x49c #14 sosend+0x632 #15 dofilewritev+0x19c #16 sys_writev+0xa7 #17 syscall+0x489 #18 Xsyscall+0x128 Process 52187 (syz-executor.4) thread 0xffff8000fffee7f0 (453016) exclusive rwlock netlock r = 0 (0xffffffff82904160) #0 witness_lock+0x44d #1 solock+0x86 #2 sosend+0x517 #3 dofilewritev+0x19c #4 sys_writev+0xa7 #5 syscall+0x489 #6 Xsyscall+0x128 exclusive mutex &table->inpt_mtx r = 0 (0xffffffff82b03010) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b #3 rip_input+0x135 #4 ip_deliver+0x322 #5 ip_ours+0x3ba #6 ip_input_if+0x2a1 #7 ipv4_input+0x48 #8 if_input_local+0x10e #9 ether_resolve+0x4ac #10 ether_output+0x47 #11 ip_output+0x106b #12 rip_output+0x2cb #13 rip_usrreq+0x49c #14 sosend+0x632 #15 dofilewritev+0x19c #16 sys_writev+0xa7 #17 syscall+0x489 #18 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10173 6473K 6473K 78643K 11263 0 pcb 13 8K 8K 78643K 17 0 rtable 220 6K 6K 78643K 324 0 ifaddr 84 17K 17K 78643K 88 0 counters 56 35K 35K 78643K 56 0 ioctlops 0 0K 4K 78643K 1486 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1167 73K 73K 78643K 1180 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 19 69K 89K 78643K 135 0 proc 67 87K 111K 78643K 499 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 89 6K 6K 78643K 89 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 2K 78643K 639 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 7 26K 26K 78643K 7 0 UVM amap 245 73K 74K 78643K 3170 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 26 2K 2K 78643K 26 0 temp 57 4695K 4759K 78643K 4218 0 kqueue 12 18K 18K 78643K 25 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 31 0 27 1 0 1 1 0 8 0 rtentry 112 102 0 1 3 0 3 3 0 8 0 unpcb 136 35 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 1 0 1 1 0 8 1 tcpcb 736 8 0 5 1 0 1 1 0 8 0 arp 120 17 0 0 1 0 1 1 0 8 0 inpcb 312 71 0 62 1 0 1 1 0 8 0 nd6 48 20 0 0 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 19 0 0 1 0 1 1 0 8 0 pfstkey 112 19 0 0 1 0 1 1 0 8 0 pfstate 320 19 0 0 2 0 2 2 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 410 0 0 26 0 26 26 0 8 0 art_table 32 411 0 0 4 0 4 4 0 8 0 art_node 16 101 0 9 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1488 0 53 90 0 90 90 0 8 0 ffsino 272 1488 0 53 96 0 96 96 0 8 0 nchpl 144 1741 0 71 62 0 62 62 0 8 0 uvmvnodes 80 1498 0 0 31 0 31 31 0 8 0 vnodes 224 1498 0 0 89 0 89 89 0 8 0 namei 1024 5958 0 5958 2 0 2 2 0 8 2 percpumem 16 40 0 0 1 0 1 1 0 8 0 scxspl 216 5360 0 5360 2 1 1 2 0 8 1 plimitpl 152 24 0 9 1 0 1 1 0 8 0 sigapl 424 442 0 396 6 0 6 6 0 8 0 futexpl 64 24 0 22 1 0 1 1 0 8 0 knotepl 120 102 0 0 4 0 4 4 0 8 0 kqueuepl 216 21 0 13 1 0 1 1 0 8 0 pipepl 336 134 0 106 3 0 3 3 0 8 0 fdescpl 496 428 0 396 5 0 5 5 0 8 0 filepl 152 1533 0 1396 6 0 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 26 0 9 1 0 1 1 0 8 0 pgrppl 48 26 0 9 1 0 1 1 0 8 0 ucredpl 96 69 0 57 1 0 1 1 0 8 0 zombiepl 144 396 0 396 1 0 1 1 0 8 1 processpl 1064 442 0 396 4 0 4 4 0 8 0 procpl 672 458 0 401 6 0 6 6 0 8 0 sockpl 480 137 0 109 4 0 4 4 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 58 0 0 8 0 8 8 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 380 0 0 24 0 24 24 0 8 0 bufpl 288 3630 0 146 249 0 249 249 0 8 0 anonpl 24 60733 0 54824 49 3 46 46 0 186 9 amapchunkpl 152 6378 0 5860 20 0 20 20 0 158 0 amappl16 200 211 0 138 5 1 4 4 0 8 0 amappl15 192 101 0 95 1 0 1 1 0 8 0 amappl14 184 3 0 1 1 0 1 1 0 8 0 amappl13 176 108 0 100 1 0 1 1 0 8 0 amappl12 168 28 0 24 2 1 1 1 0 8 0 amappl11 160 55 0 39 1 0 1 1 0 8 0 amappl10 152 41 0 36 1 0 1 1 0 8 0 amappl9 144 444 0 438 1 0 1 1 0 8 0 amappl8 136 553 0 518 2 0 2 2 0 8 0 amappl7 128 131 0 119 1 0 1 1 0 8 0 amappl6 120 228 0 206 2 0 2 2 0 8 1 amappl5 112 192 0 175 1 0 1 1 0 8 0 amappl4 104 852 0 823 2 0 2 2 0 8 1 amappl3 96 186 0 171 1 0 1 1 0 8 0 amappl2 88 538 0 491 3 0 3 3 0 8 1 amappl1 80 11399 0 10792 19 0 19 19 0 8 4 amappl 88 2750 0 2555 5 0 5 5 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 428 0 396 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 428 0 396 1 0 1 1 0 8 0 vmmpekpl 168 8560 0 8533 2 0 2 2 0 8 0 vmmpepl 168 39617 0 37759 90 0 90 90 0 357 8 vmsppl 368 427 0 396 4 0 4 4 0 8 0 rwobjpl 56 12744 0 10254 42 1 41 42 0 8 3 pdppl 4096 863 0 792 91 10 81 81 0 8 10 pvpl 32 246981 0 236958 258 1 257 257 0 265 172 pmappl 248 427 0 396 3 0 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 606 0 13 17 0 17 17 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 panic(ffffffff825a2db5) at panic+0x177 witness_checkorder(ffffffff829f3ad8,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 selwakeup(fffffd806fc008b0) at selwakeup+0x16 sorwakeup(fffffd806fc00798) at sorwakeup+0xc9 rip_input(ffff800021337c58,ffff800021337c64,0,2) at rip_input+0x3b0 ip_deliver(ffff800021337c58,ffff800021337c64,0,2) at ip_deliver+0x322 ip_ours(ffff800021337c58,ffff800021337c64,fffffd806a542648,0) at ip_ours+0x3ba ip_input_if(ffff800021337c58,ffff800021337c64,4,0,ffff80000019f2a8) at ip_input_if+0x2a1 ipv4_input(ffff80000019f2a8,fffffd806c1f2600) at ipv4_input+0x48 if_input_local(ffff80000019f2a8,fffffd806c1f2600,2) at if_input_local+0x10e ether_resolve(ffff80000019f2a8,fffffd8074fe3d00,fffffd806f67e1c0,fffffd806f37a460,ffff800021337da8) at ether_resolve+0x4ac ether_output(ffff80000019f2a8,fffffd8074fe3d00,fffffd806f67e1c0,fffffd806f37a460) at ether_output+0x47 ip_output(fffffd8074fe3d00,0,fffffd806f67e1b0,20,0,fffffd806f67e138,69db4827a0b3f5f7) at ip_output+0x106b rip_output(fffffd8074fe3d00,fffffd806fc001f8,ffff800021337fc0,1) at rip_output+0x2cb rip_usrreq(fffffd806fc001f8,9,fffffd8074fe3d00,0,0,ffff8000fffee7f0) at rip_usrreq+0x49c sosend(fffffd806fc001f8,0,ffff800021338250,0,0,0) at sosend+0x632 dofilewritev(ffff8000fffee7f0,3,ffff800021338250,0,ffff800021338350) at dofilewritev+0x19c sys_writev(ffff8000fffee7f0,ffff8000213382f8,ffff800021338350) at sys_writev+0xa7 syscall(ffff8000213383c0) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf7cfe169830, count: -22 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 syscall(ffff80002131ac20) at syscall+0x48 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3a00, count: 10 ddb{1}> trace x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 syscall(ffff80002131ac20) at syscall+0x48 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3a00, count: -5 ddb{1}>