Warning: Permanently added '10.128.0.80' (ED25519) to the list of known hosts. 2024/05/12 11:17:49 ignoring optional flag "sandboxArg"="0" 2024/05/12 11:17:49 parsed 1 programs 2024/05/12 11:17:55 executed programs: 0 panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *251450 8216 0 0x8000000 0x4000000 0 syz-executor.3 324264 28372 0 0x8000002 0 1K syz-executor.5 db_enter() at db_enter+0x1c panic(ffffffff828e9662) at panic+0x17b witness_checkorder(ffffffff82dce380,9,0) at witness_checkorder+0xd03 __mp_lock(ffffffff82dce178) at __mp_lock+0xa2 intr_handler(ffff80002a33eca0,ffff80000006bc00) at intr_handler+0x62 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f Xspllower() at Xspllower+0x1d mtx_enter_try(ffffffff82e5e5d0) at mtx_enter_try+0x103 mtx_enter(ffffffff82e5e5d0) at mtx_enter+0x4e pool_get(ffffffff82e5e5d0,9) at pool_get+0xc4 uvmspace_alloc(0,1000,1,0) at uvmspace_alloc+0x41 vm_impl_init(ffff80002a3e65f0,ffff80002a2b0028) at vm_impl_init+0x92 vm_create(ffff800000e17000,ffff80002a2b0028) at vm_create+0x13e vmmioctl(a00,c2585601,ffff800000e17000,1,ffff80002a2b0028) at vmmioctl+0x2de end trace frame: 0xffff80002a33f160, 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+0x1c panic(ffffffff828e9662) at panic+0x17b witness_checkorder(ffffffff82dce380,9,0) at witness_checkorder+0xd03 __mp_lock(ffffffff82dce178) at __mp_lock+0xa2 intr_handler(ffff80002a33eca0,ffff80000006bc00) at intr_handler+0x62 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f Xspllower() at Xspllower+0x1d mtx_enter_try(ffffffff82e5e5d0) at mtx_enter_try+0x103 mtx_enter(ffffffff82e5e5d0) at mtx_enter+0x4e pool_get(ffffffff82e5e5d0,9) at pool_get+0xc4 uvmspace_alloc(0,1000,1,0) at uvmspace_alloc+0x41 vm_impl_init(ffff80002a3e65f0,ffff80002a2b0028) at vm_impl_init+0x92 vm_create(ffff800000e17000,ffff80002a2b0028) at vm_create+0x13e vmmioctl(a00,c2585601,ffff800000e17000,1,ffff80002a2b0028) at vmmioctl+0x2de VOP_IOCTL(fffffd806e31dd88,c2585601,ffff800000e17000,1,fffffd807f7d37b8,ffff80002a2b0028) at VOP_IOCTL+0x9a vn_ioctl(fffffd806ab6c980,c2585601,ffff800000e17000,ffff80002a2b0028) at vn_ioctl+0xc0 sys_ioctl(ffff80002a2b0028,ffff80002a33f460,ffff80002a33f3b0) at sys_ioctl+0x4a9 syscall(ffff80002a33f460) at syscall+0x8cf Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7defc96ab70, count: -19 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a33ea90 rbx 0xffffffff82ce2d77 cpu_info_full_primary+0x2d77 rdx 0x3fd rcx 0 rax 0x68 r8 0x101010101010101 r9 0x8080808080808080 r10 0x9e7e1cf8c8526bf3 r11 0x7e647699b0f2b0bf r12 0xffffffff82ce2b78 cpu_info_full_primary+0x2b78 r13 0 r14 0 r15 0x1 rip 0xffffffff81f8cdfc db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002a33ea80 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.3) tid=251450 pid=8216 tcnt=2 stat=onproc flags process=8000000 proc=4000000 runpri=32, usrpri=60, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a2b0f88,0xffffffff82dc2798 process=0xffff80002a292808 user=0xffff80002a33a000, vmspace=0xfffffd80683e51c8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=0, intr=1 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 8216 77558 87804 0 2 0x8000000 syz-executor.3 * 8216 251450 87804 0 7 0xc000000 syz-executor.3 28372 324264 1712 0 7 0x8000002 syz-executor.5 67210 294165 1712 0 2 0x8000002 syz-executor.2 65780 200912 1712 0 3 0x8000002 biowait syz-executor.4 21480 308338 1712 0 3 0x8000082 nanoslp syz-executor.6 37172 341202 1712 0 3 0x8000002 biowait syz-executor.1 81881 296470 1712 0 2 0x8000002 syz-executor.7 87804 350262 1712 0 3 0x8000082 nanoslp syz-executor.3 99374 132563 1712 0 3 0x8000002 biowait syz-executor.0 1712 279399 85904 0 3 0x1a000082 thrsleep syz-execprog 1712 127435 85904 0 3 0x1e000082 nanoslp syz-execprog 1712 191265 85904 0 3 0x1e000082 wait syz-execprog 1712 125093 85904 0 3 0x1e000082 wait syz-execprog 1712 410116 85904 0 3 0x1e000082 thrsleep syz-execprog 1712 321835 85904 0 3 0x1e000082 thrsleep syz-execprog 1712 347205 85904 0 3 0x1e000082 wait syz-execprog 1712 170305 85904 0 3 0x1e000082 wait syz-execprog 1712 467893 85904 0 3 0x1e000082 wait syz-execprog 1712 63539 85904 0 3 0x1e000082 thrsleep syz-execprog 1712 174424 85904 0 3 0x1e000082 thrsleep syz-execprog 1712 130183 85904 0 3 0x1e000082 wait syz-execprog 1712 448790 85904 0 3 0x1e000082 wait syz-execprog 1712 214826 85904 0 3 0x1e000082 wait syz-execprog 1712 220193 85904 0 3 0x1e000082 kqread syz-execprog 85904 35850 33926 0 3 0x810008a sigsusp ksh 33926 305548 1296 0 3 0x1800009a kqread sshd 91315 429968 1 0 3 0x18100083 ttyin getty 1296 112183 1 0 3 0x18000088 kqread sshd 21073 371618 80937 73 3 0x19100090 kqread syslogd 80937 190668 1 0 3 0x18100082 sbwait syslogd 71135 248182 1 0 3 0x18100080 kqread resolvd 5712 474544 31151 77 3 0x18100092 kqread dhcpleased 64370 72292 31151 77 3 0x18100092 kqread dhcpleased 31151 301367 1 0 3 0x18000080 kqread dhcpleased 59415 283847 0 0 3 0x14200 bored smr 90959 115342 0 0 3 0x14200 pgzero zerothread 81377 510726 0 0 3 0x14200 aiodoned aiodoned 82074 409514 0 0 3 0x14200 syncer update 83165 267171 0 0 3 0x14200 cleaner cleaner 54856 482794 0 0 3 0x14200 reaper reaper 32523 25071 0 0 3 0x14200 pgdaemon pagedaemon 56252 286688 0 0 3 0x14200 bored viomb 6455 198467 0 0 3 0x40014200 acpi0 acpi0 68254 25463 0 0 3 0x40014200 idle1 42971 240717 0 0 3 0x14200 bored softnet3 76954 338200 0 0 3 0x14200 bored softnet2 44255 497369 0 0 3 0x14200 bored softnet1 71555 15368 0 0 3 0x14200 bored softnet0 78501 272725 0 0 3 0x14200 bored systqmp 51399 82973 0 0 3 0x14200 bored systq 76478 514597 0 0 3 0x14200 tmoslp softclockmp 15487 143548 0 0 3 0x40014200 tmoslp softclock 78978 94812 0 0 3 0x40014200 idle0 1 190557 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex vmsppl r = 0 (0xffffffff82e5e5e0) #0 witness_lock+0x446 #1 mtx_enter_try+0x103 #2 mtx_enter+0x4e #3 pool_get+0xc4 #4 uvmspace_alloc+0x41 #5 vm_impl_init+0x92 #6 vm_create+0x13e #7 vmmioctl+0x2de #8 VOP_IOCTL+0x9a #9 vn_ioctl+0xc0 #10 sys_ioctl+0x4a9 #11 syscall+0x8cf #12 Xsyscall+0x128 CPU 1: exclusive sched_lock &sched_lock r = 0 (0xffffffff82d8b368) #0 witness_lock+0x446 #1 __mp_acquire_count+0x48 #2 mi_switch+0x4a9 #3 preempt+0x5d #4 ast+0x10b #5 Xsyscall+0x156 Process 65780 (syz-executor.4) thread 0xffff80002a204020 (200912) exclusive rrwlock inode r = 0 (0xfffffd806a7163d8) #0 witness_lock+0x446 #1 rw_enter+0x32d #2 rrw_enter+0x91 #3 VOP_LOCK+0x8b #4 ufs_ihashins+0x46 #5 ffs_vget+0x141 #6 ffs_inode_alloc+0x1e4 #7 ufs_mkdir+0xe6 #8 VOP_MKDIR+0xc3 #9 domkdirat+0x125 #10 syscall+0x854 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80690d60a0) #0 witness_lock+0x446 #1 rw_enter+0x32d #2 rrw_enter+0x91 #3 VOP_LOCK+0x8b #4 vn_lock+0x85 #5 vfs_lookup+0xd3 #6 namei+0x56a #7 domkdirat+0x79 #8 syscall+0x854 #9 Xsyscall+0x128 Process 37172 (syz-executor.1) thread 0xffff8000ffff6ce8 (341202) exclusive rrwlock inode r = 0 (0xfffffd806a7160a8) #0 witness_lock+0x446 #1 rw_enter+0x32d #2 rrw_enter+0x91 #3 VOP_LOCK+0x8b #4 ufs_ihashins+0x46 #5 ffs_vget+0x141 #6 ffs_inode_alloc+0x1e4 #7 ufs_mkdir+0xe6 #8 VOP_MKDIR+0xc3 #9 domkdirat+0x125 #10 syscall+0x854 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80690d6c50) #0 witness_lock+0x446 #1 rw_enter+0x32d #2 rrw_enter+0x91 #3 VOP_LOCK+0x8b #4 vn_lock+0x85 #5 vfs_lookup+0xd3 #6 namei+0x56a #7 domkdirat+0x79 #8 syscall+0x854 #9 Xsyscall+0x128 Process 99374 (syz-executor.0) thread 0xffff8000ffff6018 (132563) exclusive rrwlock inode r = 0 (0xfffffd806a7162c8) #0 witness_lock+0x446 #1 rw_enter+0x32d #2 rrw_enter+0x91 #3 VOP_LOCK+0x8b #4 ufs_ihashins+0x46 #5 ffs_vget+0x141 #6 ffs_inode_alloc+0x1e4 #7 ufs_mkdir+0xe6 #8 VOP_MKDIR+0xc3 #9 domkdirat+0x125 #10 syscall+0x854 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80675fe4d8) #0 witness_lock+0x446 #1 rw_enter+0x32d #2 rrw_enter+0x91 #3 VOP_LOCK+0x8b #4 vn_lock+0x85 #5 vfs_lookup+0xd3 #6 namei+0x56a #7 domkdirat+0x79 #8 syscall+0x854 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10167 6406K 6419K 166960K 11245 0 pcb 17 12K 12K 166960K 17 0 rtable 234 6K 6K 166960K 347 0 pf 29 8K 10K 166960K 40 0 ifaddr 44 15K 15K 166960K 46 0 ifgroup 50 2K 2K 166960K 50 0 counters 64 36K 36K 166960K 64 0 ioctlops 1 1K 4K 166960K 1664 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1260 79K 79K 166960K 1279 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 11 37K 93K 166960K 312 0 proc 55 78K 115K 166960K 480 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 99 7K 7K 166960K 99 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 370 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 412 93K 94K 166960K 5470 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 31 62K 100K 166960K 1456 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 11 0K 2K 166960K 27 0 temp 1 6804K 6868K 166960K 4389 0 kqueue 12 18K 18K 166960K 25 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> 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 33 0 30 1 0 1 1 0 8 0 rtentry 112 111 0 1 4 0 4 4 0 8 0 unpcb 144 33 0 20 1 0 1 1 0 8 0 syncache 336 5 0 5 1 1 0 1 0 8 0 tcpqe 32 57 0 57 1 1 0 1 0 8 0 tcpcb 808 8 0 5 1 0 1 1 0 8 0 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 384 62 0 56 1 0 1 1 0 8 0 nd6 136 24 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 20 0 0 1 0 1 1 0 8 0 pfstkey 128 20 0 0 1 0 1 1 0 8 0 pfstate 376 20 0 0 2 0 2 2 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 452 0 0 29 0 29 29 0 8 0 art_table 32 453 0 0 4 0 4 4 0 8 0 art_node 16 110 0 10 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1753 0 232 96 0 96 96 0 8 0 ffsino 272 1753 0 232 102 0 102 102 0 8 0 nchpl 144 2195 0 426 66 0 66 66 0 8 0 uvmvnodes 80 1766 0 0 37 0 37 37 0 8 0 vnodes 216 1766 0 0 99 0 99 99 0 8 0 namei 1024 7191 0 7188 2 0 2 2 0 8 1 percpumem 16 46 0 0 1 0 1 1 0 8 0 vcpupl 3904 182 0 0 23 0 23 23 0 8 0 vmpool 696 183 0 0 17 0 17 17 0 8 0 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 8201 0 8197 3 2 1 2 1 8 0 plimitpl 152 34 0 19 1 0 1 1 0 8 0 sigapl 424 620 0 579 7 0 7 7 0 8 1 futexpl 64 1104 0 1104 1 0 1 1 0 8 1 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 320 142 0 114 3 0 3 3 0 8 0 fdescpl 496 602 0 580 6 1 5 5 0 8 1 filepl 152 2025 0 1895 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 25 0 9 1 0 1 1 0 8 0 pgrppl 48 25 0 9 1 0 1 1 0 8 0 ucredpl 104 66 0 56 1 0 1 1 0 8 0 zombiepl 144 580 0 579 1 0 1 1 0 8 0 processpl 1136 620 0 579 4 0 4 4 0 8 0 procpl 656 819 0 763 6 0 6 6 0 8 0 sockpl 664 128 0 106 3 0 3 3 0 8 1 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 353 0 0 45 0 45 45 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 379 0 0 25 1 24 25 0 8 0 bufpl 280 4574 0 180 314 0 314 314 0 8 0 anonpl 24 232557 0 227480 58 1 57 58 0 186 22 amapchunkpl 152 18767 0 18244 28 0 28 28 0 158 4 amappl16 200 6181 0 6079 7 0 7 7 0 8 0 amappl15 192 27 0 27 1 1 0 1 0 8 0 amappl14 184 158 0 147 2 0 2 2 0 8 1 amappl13 176 10 0 10 2 2 0 1 0 8 0 amappl12 168 1258 0 1234 2 0 2 2 0 8 0 amappl11 160 76 0 64 1 0 1 1 0 8 0 amappl10 152 53 0 42 1 0 1 1 0 8 0 amappl9 144 188 0 187 1 0 1 1 0 8 0 amappl8 136 151 0 114 2 0 2 2 0 8 0 amappl7 128 47 0 40 1 0 1 1 0 8 0 amappl6 120 329 0 317 2 0 2 2 0 8 1 amappl5 112 175 0 162 1 0 1 1 0 8 0 amappl4 104 553 0 521 2 0 2 2 0 8 0 amappl3 96 3884 0 3650 6 0 6 6 0 8 0 amappl2 88 1010 0 946 3 0 3 3 0 8 1 amappl1 80 11147 0 10670 22 2 20 22 0 8 8 amappl 88 4746 0 4598 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 785 0 581 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 785 0 581 2 0 2 2 0 8 0 vmmpekpl 168 9508 0 9463 3 0 3 3 0 8 0 vmmpepl 168 58382 0 56720 113 0 113 113 0 357 33 vmsppl 440 784 0 581 23 0 23 23 0 8 0 rwobjpl 56 25165 0 22255 48 1 47 47 0 8 5 pdppl 4096 1577 0 1344 256 20 236 236 0 8 3 pvpl 32 46086 0 0 373 1 372 372 0 265 0 pmappl 248 784 0 581 14 1 13 13 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 566 0 24 16 0 16 16 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x1c panic(ffffffff828e9662) at panic+0x17b witness_checkorder(ffffffff82dce380,9,0) at witness_checkorder+0xd03 __mp_lock(ffffffff82dce178) at __mp_lock+0xa2 intr_handler(ffff80002a33eca0,ffff80000006bc00) at intr_handler+0x62 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f Xspllower() at Xspllower+0x1d mtx_enter_try(ffffffff82e5e5d0) at mtx_enter_try+0x103 mtx_enter(ffffffff82e5e5d0) at mtx_enter+0x4e pool_get(ffffffff82e5e5d0,9) at pool_get+0xc4 uvmspace_alloc(0,1000,1,0) at uvmspace_alloc+0x41 vm_impl_init(ffff80002a3e65f0,ffff80002a2b0028) at vm_impl_init+0x92 vm_create(ffff800000e17000,ffff80002a2b0028) at vm_create+0x13e vmmioctl(a00,c2585601,ffff800000e17000,1,ffff80002a2b0028) at vmmioctl+0x2de VOP_IOCTL(fffffd806e31dd88,c2585601,ffff800000e17000,1,fffffd807f7d37b8,ffff80002a2b0028) at VOP_IOCTL+0x9a vn_ioctl(fffffd806ab6c980,c2585601,ffff800000e17000,ffff80002a2b0028) at vn_ioctl+0xc0 sys_ioctl(ffff80002a2b0028,ffff80002a33f460,ffff80002a33f3b0) at sys_ioctl+0x4a9 syscall(ffff80002a33f460) at syscall+0x8cf Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7defc96ab70, count: -19 ddb{0}> machine ddbcpu 1