panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_lock.c", line 63 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 368978 41041 32767 0x10 0 1 syz-executor.1 *161587 46885 32767 0x1810 0x4080080 0 syz-executor.5 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8259bd82) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff8261504d,ffffffff8261b5a3,3f,ffffffff8264d4fb) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff80002478efd0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002478efd0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002478c9a0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002478c9a0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002478efd0,ffffffff82957750,120,ffffffff82595e88,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(965da97b1e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002478efd0,ffff80002478cb30,ffff80002478cb90) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002478cc00) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002478cc00) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9657b7694f0, count: 3 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: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_lock.c", line 63 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8259bd82) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff8261504d,ffffffff8261b5a3,3f,ffffffff8264d4fb) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff80002478efd0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002478efd0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002478c9a0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002478c9a0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002478efd0,ffffffff82957750,120,ffffffff82595e88,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(965da97b1e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002478efd0,ffff80002478cb30,ffff80002478cb90) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002478cc00) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002478cc00) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9657b7694f0, count: -12 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002478c760 rbx 0xffffffff8292bbb7 cpu_info_full_primary+0x2bb7 rdx 0xffff800000bc9d80 rcx 0 rax 0xffff80002478efd0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x4f23f9527430640c r11 0xc36e7768792b9aba r12 0xffffffff8292b9b8 cpu_info_full_primary+0x29b8 r13 0 r14 0 r15 0x1 rip 0xffffffff81477f68 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002478c750 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.5) pid=161587 stat=onproc flags process=1810 proc=4080080 pri=77, usrpri=77, nice=20 forw=0xffffffffffffffff, list=0xffff80002478f510,0xffff80002478e560 process=0xffff80002680d4e8 user=0xffff800024787000, vmspace=0xfffffd80687d2018 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 41041 368978 58133 32767 7 0x10 syz-executor.1 79172 120053 90391 32767 2 0x10 syz-executor.0 79172 470807 90391 32767 2 0x4000010 syz-executor.0 67868 513850 88159 32767 2 0x10 syz-executor.3 67868 103060 88159 32767 2 0x4000010 syz-executor.3 46885 85848 91873 32767 2 0x3810 syz-executor.5 *46885 161587 91873 32767 7 0x4081890 syz-executor.5 4094 80205 77910 32767 2 0x10 syz-executor.2 4094 288911 77910 32767 3 0x4000090 fsleep syz-executor.2 28485 322641 29633 32767 2 0x10 syz-executor.6 28485 370469 29633 32767 2 0x4000010 syz-executor.6 30967 206218 0 0 3 0x14200 bored sosplice 91873 97585 97280 32767 3 0x90 nanoslp syz-executor.5 29633 123348 1569 32767 3 0x90 nanoslp syz-executor.6 36207 253732 98701 32767 3 0x10 biowait syz-executor.7 77910 153041 24198 32767 3 0x90 nanoslp syz-executor.2 98701 189937 62545 0 3 0x82 wait syz-executor.7 14899 68657 18458 32767 3 0x10 biowait syz-executor.4 97280 154012 62545 0 3 0x82 wait syz-executor.5 1569 354227 62545 0 3 0x82 wait syz-executor.6 88159 320029 89005 32767 3 0x90 nanoslp syz-executor.3 18458 795 62545 0 3 0x82 wait syz-executor.4 89005 431783 62545 0 3 0x82 wait syz-executor.3 58133 501531 35910 32767 3 0x90 nanoslp syz-executor.1 24198 7108 62545 0 3 0x82 wait syz-executor.2 90391 499869 46549 32767 3 0x90 nanoslp syz-executor.0 35910 301436 62545 0 3 0x82 wait syz-executor.1 46549 197493 62545 0 3 0x82 wait syz-executor.0 62545 44289 61011 0 3 0x82 thrsleep syz-fuzzer 62545 6131 61011 0 3 0x4000082 nanoslp syz-fuzzer 62545 359758 61011 0 3 0x4000082 thrsleep syz-fuzzer 62545 1824 61011 0 3 0x4000082 thrsleep syz-fuzzer 62545 356928 61011 0 3 0x4000082 kqread syz-fuzzer 62545 449324 61011 0 3 0x4000082 thrsleep syz-fuzzer 62545 333471 61011 0 3 0x4000082 thrsleep syz-fuzzer 62545 140645 61011 0 3 0x4000082 thrsleep syz-fuzzer 62545 359572 61011 0 3 0x4000082 thrsleep syz-fuzzer 61011 249413 95858 0 3 0x10008a sigsusp ksh 95858 412901 91705 0 3 0x9a kqread sshd 27682 463530 1 0 3 0x100083 ttyin getty 91705 270525 1 0 3 0x88 kqread sshd 19910 170656 95477 73 3 0x1100090 kqread syslogd 95477 288131 1 0 3 0x100082 netio syslogd 92983 509430 1 0 3 0x100080 kqread resolvd 13731 343132 69049 77 3 0x100092 kqread dhcpleased 43568 482030 69049 77 3 0x100092 kqread dhcpleased 69049 289450 1 0 3 0x80 kqread dhcpleased 27205 69678 0 0 3 0x14200 bored smr 77731 221284 0 0 2 0x14200 zerothread 36017 481989 0 0 3 0x14200 aiodoned aiodoned 83779 488209 0 0 3 0x14200 syncer update 98178 278683 0 0 3 0x14200 cleaner cleaner 84389 267278 0 0 3 0x14200 reaper reaper 33823 125928 0 0 3 0x14200 pgdaemon pagedaemon 38279 42544 0 0 3 0x14200 bored viomb 49125 107462 0 0 3 0x40014200 acpi0 acpi0 19890 298024 0 0 3 0x40014200 idle1 57112 88373 0 0 3 0x14200 bored softnet 53239 342764 0 0 3 0x14200 bored softnet 42074 452730 0 0 3 0x14200 bored softnet 35058 91328 0 0 3 0x14200 bored softnet 63436 161318 0 0 3 0x14200 bored systqmp 9790 31319 0 0 3 0x14200 bored systq 91113 135645 0 0 3 0x40014200 bored softclock 23253 397830 0 0 3 0x40014200 idle0 1 83368 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive sched_lock &sched_lock r = 0 (0xffffffff82b5eeb8) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3d4 sys/kern/sched_bsd.c:419 #3 single_thread_check_locked+0x17f sys/kern/kern_sig.c:2045 #4 single_thread_check+0x4b sys/kern/kern_sig.c:2057 #5 sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] #5 sleep_finish+0x75 sys/kern/kern_synch.c:400 #6 rwsleep+0xd5 sys/kern/kern_synch.c:314 #7 futex_wait+0x13c sys/kern/sys_futex.c:260 #8 sys_futex+0xf8 sys/kern/sys_futex.c:111 #9 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #10 Xsyscall+0x128 CPU 1: exclusive mutex &pmap->pm_mtx r = 0 (0xfffffd806563e9c0) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 pmap_enter+0x1b8 rcr3 machine/cpufunc.h:141 [inline] #3 pmap_enter+0x1b8 pmap_map_ptes sys/arch/amd64/amd64/pmap.c:414 [inline] #3 pmap_enter+0x1b8 sys/arch/amd64/amd64/pmap.c:2691 #4 uvm_fault_upper_lookup+0x2b3 sys/uvm/uvm_fault.c:896 #5 uvm_fault+0x129 sys/uvm/uvm_fault.c:606 #6 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #7 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #8 recall_trap+0x8 Process 41041 (syz-executor.1) thread 0xffff80002478f510 (368978) exclusive rwlock amaplk r = 0 (0xfffffd806c6ed8d0) #0 witness_lock+0x44d #1 uvm_fault_check+0x422 sys/uvm/uvm_fault.c:783 #2 uvm_fault+0xf2 sys/uvm/uvm_fault.c:601 #3 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #4 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #5 recall_trap+0x8 shared rwlock vmmaplk r = 0 (0xfffffd80687d28d0) #0 witness_lock+0x44d #1 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1771 #2 uvm_fault_check+0x3a sys/uvm/uvm_fault.c:673 #3 uvm_fault+0xf2 sys/uvm/uvm_fault.c:601 #4 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #5 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #6 recall_trap+0x8 Process 36207 (syz-executor.7) thread 0xffff800023f51ce8 (253732) exclusive rrwlock inode r = 0 (0xfffffd80661a6b40) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:567 #5 vget+0x1d3 sys/kern/vfs_subr.c:678 #6 ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1318 #8 ufs_lookup+0x13ba sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 #11 namei+0x36a sys/kern/vfs_lookup.c:245 #12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1852 #13 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80661a61b0) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:567 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:413 #6 namei+0x36a sys/kern/vfs_lookup.c:245 #7 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1852 #8 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 Process 14899 (syz-executor.4) thread 0xffff800023f50a88 (68657) exclusive rrwlock inode r = 0 (0xfffffd806aa405f8) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1347 #6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1150 #8 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388 #9 domkdirat+0x121 sys/kern/vfs_syscalls.c:3116 #10 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #10 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80661a6700) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:567 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:413 #6 namei+0x36a sys/kern/vfs_lookup.c:245 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3101 #8 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10196 6410K 6420K 78643K 11287 0 pcb 13 8K 8K 78643K 13 0 rtable 236 6K 6K 78643K 381 0 ifaddr 81 16K 16K 78643K 82 0 counters 56 35K 35K 78643K 56 0 ioctlops 0 0K 2K 78643K 72 0 iov 0 0K 16K 78643K 263 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1271 79K 79K 78643K 1622 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 8 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 465 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 24 89K 117K 78643K 1346 0 sigio 0 0K 0K 78643K 7 0 proc 56 78K 115K 78643K 574 0 subproc 104 6K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 297 0 in_multi 99 6K 6K 78643K 116 0 ether_multi 1 0K 0K 78643K 7 0 mrt 2 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 175 784K 784K 78643K 175 0 exec 0 0K 2K 78643K 834 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 254 83K 87K 78643K 9742 0 UVM aobj 29 2K 2K 78643K 38 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 19 0 NDP 11 0K 2K 78643K 27 0 temp 124 4722K 4842K 78643K 6294 0 kqueue 12 18K 24K 78643K 126 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 77 0 74 1 0 1 1 0 8 0 rtentry 112 114 0 3 4 0 4 4 0 8 0 unpcb 136 1392 0 1376 11 10 1 6 0 8 0 syncache 296 16 0 16 4 4 0 1 0 8 0 sackhl 24 1 0 1 1 0 1 1 0 8 1 tcpqe 32 9 0 9 2 2 0 1 0 8 0 tcpcb 736 456 0 438 16 14 2 8 0 8 0 arp 120 19 0 0 1 0 1 1 0 8 0 inpcb 320 948 0 932 11 9 2 7 0 8 0 nd6 48 26 0 2 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 468 0 15 30 1 29 30 0 8 0 art_table 32 469 0 15 4 0 4 4 0 8 0 art_node 16 113 0 12 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 5 1 0 1 1 0 8 0 semapl 112 462 0 452 1 0 1 1 0 8 0 shmpl 112 35 0 9 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3302 0 1869 90 0 90 90 0 8 0 ffsino 272 3302 0 1869 96 0 96 96 0 8 0 nchpl 144 5287 0 3610 63 0 63 63 0 8 0 uvmvnodes 80 3415 0 0 70 0 70 70 0 8 0 vnodes 224 3415 0 0 201 0 201 201 0 8 0 namei 1024 18558 0 18557 2 1 1 2 0 8 0 percpumem 16 40 0 0 1 0 1 1 0 8 0 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 14838 0 14836 9 8 1 8 0 8 0 plimitpl 152 185 0 162 2 1 1 2 0 8 0 sigapl 424 1624 0 1571 7 0 7 7 0 8 0 futexpl 64 12318 0 12316 1 0 1 1 0 8 0 knotepl 120 338 0 0 10 0 10 10 0 8 0 kqueuepl 224 1359 0 1350 19 17 2 13 0 8 1 pipepl 336 372 0 344 13 10 3 7 0 8 0 fdescpl 496 1606 0 1571 7 1 6 6 0 8 0 filepl 152 11410 0 11169 27 17 10 19 0 8 0 lockfpl 104 314 0 309 1 0 1 1 0 8 0 lockfspl 48 65 0 62 1 0 1 1 0 8 0 sessionpl 144 23 0 7 1 0 1 1 0 8 0 pgrppl 48 129 0 113 1 0 1 1 0 8 0 ucredpl 104 1837 0 1819 1 0 1 1 0 8 0 zombiepl 144 1571 0 1571 1 0 1 1 0 8 1 processpl 1064 1624 0 1571 5 0 5 5 0 8 0 procpl 672 4155 0 4089 9 2 7 8 0 8 0 sosppl 168 23 0 23 4 3 1 1 0 8 1 sockpl 480 2425 0 2393 51 43 8 21 0 8 3 mcl64k 65536 18 0 0 3 1 2 3 0 8 0 mcl16k 16384 7 0 0 1 0 1 1 0 8 0 mcl12k 12288 11 0 0 2 0 2 2 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 143 0 0 17 0 17 17 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 485 0 0 30 0 30 30 0 8 0 bufpl 288 5490 0 140 383 0 383 383 0 8 0 anonpl 24 308050 0 295836 103 18 85 101 0 186 0 amapchunkpl 152 26406 0 25782 30 3 27 28 0 158 0 amappl16 200 4473 0 4149 33 15 18 32 0 8 0 amappl15 192 145 0 142 1 0 1 1 0 8 0 amappl14 184 153 0 151 2 1 1 1 0 8 0 amappl13 176 390 0 383 1 0 1 1 0 8 0 amappl12 168 312 0 304 1 0 1 1 0 8 0 amappl11 160 80 0 65 1 0 1 1 0 8 0 amappl10 152 31 0 28 1 0 1 1 0 8 0 amappl9 144 825 0 816 1 0 1 1 0 8 0 amappl8 136 746 0 688 3 0 3 3 0 8 0 amappl7 128 278 0 267 1 0 1 1 0 8 0 amappl6 120 537 0 516 2 1 1 2 0 8 0 amappl5 112 869 0 853 1 0 1 1 0 8 0 amappl4 104 1006 0 979 2 0 2 2 0 8 0 amappl3 96 4794 0 4730 2 0 2 2 0 8 0 amappl2 88 2423 0 2346 3 1 2 3 0 8 0 amappl1 80 40222 0 39515 20 4 16 20 0 8 0 amappl 88 9220 0 9049 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 37 0 9 1 0 1 1 0 8 0 uaddrrnd 24 1606 0 1571 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1606 0 1571 1 0 1 1 0 8 0 vmmpekpl 168 17287 0 17231 3 0 3 3 0 8 0 vmmpepl 168 158902 0 156273 140 15 125 135 0 357 3 vmsppl 368 1605 0 1571 4 0 4 4 0 8 0 rwobjpl 56 44399 0 39647 71 3 68 69 0 8 0 pdppl 4096 3219 0 3142 118 37 81 91 0 8 4 pvpl 32 681768 0 664449 245 61 184 245 0 265 29 pmappl 248 1605 0 1571 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 816 0 66 22 0 22 22 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8259bd82) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff8261504d,ffffffff8261b5a3,3f,ffffffff8264d4fb) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff80002478efd0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002478efd0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002478c9a0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002478c9a0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002478efd0,ffffffff82957750,120,ffffffff82595e88,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(965da97b1e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002478efd0,ffff80002478cb30,ffff80002478cb90) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002478cc00) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002478cc00) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9657b7694f0, count: -12 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff80002e4a8580) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff80002e4a8580) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0x7f7ffffd2bb0, count: 8 ddb{1}> trace x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff80002e4a8580) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff80002e4a8580) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0x7f7ffffd2bb0, count: -7