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 * 24976 9637 32767 0x1810 0x4080080 1 syz-executor.4 112291 85963 32767 0x10 0 0K syz-executor.6 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) 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(ffff8000fffed508,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000fffed508,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800029840810,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800029840810,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000fffed508,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(1c7d3c851e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000fffed508,ffff8000298409a0,ffff800029840a00) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800029840a70) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800029840a70) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1c7eef8d160, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_lock.c", line 63 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) 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(ffff8000fffed508,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000fffed508,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800029840810,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800029840810,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000fffed508,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(1c7d3c851e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000fffed508,ffff8000298409a0,ffff800029840a00) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800029840a70) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800029840a70) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1c7eef8d160, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000298405d0 rbx 0xffff800020de9bb7 rdx 0xffff800000bedbc0 rcx 0 rax 0xffff8000fffed508 r8 0x101010101010101 r9 0x8080808080808080 r10 0xe4de4a66def135ef r11 0xd7ce3b32c448340c r12 0xffff800020de99b8 r13 0 r14 0 r15 0x1 rip 0xffffffff813e2898 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000298405c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.4) pid=24976 stat=onproc flags process=1810 proc=4080080 pri=82, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffefa40,0xffff8000fffec7f8 process=0xffff8000ffff8858 user=0xffff80002983b000, vmspace=0xfffffd807b5498b0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 73302 470970 89191 32767 2 0x10 syz-executor.0 9637 342470 35643 32767 2 0x3810 syz-executor.4 * 9637 24976 35643 32767 7 0x4081890 syz-executor.4 90062 456164 61186 32767 2 0x10 syz-executor.3 90062 497117 61186 32767 3 0x4000090 fsleep syz-executor.3 9962 12770 21697 32767 2 0x10 syz-executor.7 85963 112291 16771 32767 7 0x10 syz-executor.6 85963 17161 16771 32767 2 0x4000090 syz-executor.6 85963 484752 16771 32767 2 0x4000010 syz-executor.6 21879 336927 70431 32767 2 0x10 syz-executor.2 21879 172989 70431 32767 3 0x4000090 fsleep syz-executor.2 16771 495447 47893 32767 3 0x90 nanoslp syz-executor.6 47893 436769 54904 0 3 0x82 wait syz-executor.6 35643 517279 68701 32767 3 0x90 nanoslp syz-executor.4 68701 519822 54904 0 3 0x82 wait syz-executor.4 89191 261204 40219 32767 3 0x90 nanoslp syz-executor.0 40219 458294 54904 0 3 0x82 wait syz-executor.0 70431 26250 16352 32767 3 0x90 nanoslp syz-executor.2 16352 294260 54904 0 3 0x82 wait syz-executor.2 3063 3329 0 0 3 0x14200 bored sosplice 61186 110257 81756 32767 3 0x90 nanoslp syz-executor.3 81756 413469 54904 0 3 0x82 wait syz-executor.3 21510 150736 63093 32767 3 0x10 biowait syz-executor.5 21697 63363 30506 32767 3 0x90 nanoslp syz-executor.7 30506 464370 54904 0 3 0x82 wait syz-executor.7 63093 235038 54904 0 3 0x82 wait syz-executor.5 15422 28586 87180 32767 2 0x10 syz-executor.1 87180 171253 54904 0 3 0x82 wait syz-executor.1 54904 439248 59580 0 3 0x82 thrsleep syz-fuzzer 54904 220306 59580 0 3 0x4000082 nanoslp syz-fuzzer 54904 438895 59580 0 3 0x4000082 nanoslp syz-fuzzer 54904 26917 59580 0 3 0x4000082 thrsleep syz-fuzzer 54904 31759 59580 0 3 0x4000082 thrsleep syz-fuzzer 54904 47002 59580 0 3 0x4000082 thrsleep syz-fuzzer 54904 128942 59580 0 3 0x4000082 kqread syz-fuzzer 54904 107786 59580 0 3 0x4000082 thrsleep syz-fuzzer 54904 227007 59580 0 3 0x4000082 thrsleep syz-fuzzer 59580 457558 96085 0 3 0x10008a sigsusp ksh 96085 249462 32828 0 3 0x9a kqread sshd 20524 283023 1 0 3 0x100083 ttyin getty 32828 225638 1 0 3 0x88 kqread sshd 6357 460084 17193 73 3 0x1100090 kqread syslogd 17193 521760 1 0 3 0x100082 netio syslogd 65060 188344 1 0 3 0x100080 kqread resolvd 26614 302085 55904 77 3 0x100092 kqread dhcpleased 11134 325414 55904 77 3 0x100092 kqread dhcpleased 55904 255026 1 0 3 0x80 kqread dhcpleased 74122 404514 0 0 3 0x14200 bored smr 53352 3853 0 0 2 0x14200 zerothread 73513 510031 0 0 3 0x14200 aiodoned aiodoned 66346 148713 0 0 3 0x14200 syncer update 24540 496487 0 0 3 0x14200 cleaner cleaner 74863 448377 0 0 3 0x14200 reaper reaper 8280 483257 0 0 3 0x14200 pgdaemon pagedaemon 89117 475638 0 0 3 0x14200 bored viomb 26662 121823 0 0 3 0x40014200 acpi0 acpi0 51893 207882 0 0 3 0x40014200 idle1 71656 149867 0 0 3 0x14200 bored softnet 15327 514079 0 0 3 0x14200 bored softnet 95250 124893 0 0 3 0x14200 bored softnet 39225 434695 0 0 3 0x14200 bored softnet 46755 307412 0 0 3 0x14200 bored systqmp 12496 59639 0 0 3 0x14200 bored systq 60709 425445 0 0 3 0x40014200 bored softclock 69622 370807 0 0 3 0x40014200 idle0 1 184951 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive sched_lock &sched_lock r = 0 (0xffffffff82a153e0) #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 Process 85963 (syz-executor.6) thread 0xffff8000fffee540 (112291) exclusive rwlock futex r = 0 (0xffffffff8296a1b0) #0 witness_lock+0x44d #1 sys_futex+0x5c sys/kern/sys_futex.c:108 #2 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #2 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #3 Xsyscall+0x128 Process 21510 (syz-executor.5) thread 0xffff8000fffe6550 (150736) exclusive rrwlock inode r = 0 (0xfffffd8068cab810) #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 (0xfffffd806550b3d0) #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 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10205 6412K 6420K 78643K 11336 0 pcb 13 12K 14K 78643K 17 0 rtable 238 6K 7K 78643K 1095 0 ifaddr 81 17K 17K 78643K 174 0 sysctl 3 1K 1K 78643K 7 0 counters 56 35K 35K 78643K 82 0 ioctlops 0 0K 2K 78643K 134 0 iov 0 0K 32K 78643K 584 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1271 79K 79K 78643K 2918 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 44 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 1188 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 24 89K 109K 78643K 5101 0 sigio 0 0K 0K 78643K 76 0 proc 56 78K 115K 78643K 1286 0 subproc 104 6K 6K 78643K 273 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 388 0 in_multi 99 6K 6K 78643K 301 0 ether_multi 1 0K 0K 78643K 28 0 mrt 1 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 229 1023K 1023K 78643K 229 0 exec 0 0K 2K 78643K 1778 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 258 84K 99K 78643K 32189 0 UVM aobj 7 6K 6K 78643K 7 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 174 0 NDP 11 0K 2K 78643K 66 0 temp 124 4722K 4806K 78643K 16715 0 kqueue 12 18K 26K 78643K 490 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> 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 408 0 405 6 5 1 3 0 8 0 rtentry 112 260 0 148 4 0 4 4 0 8 0 unpcb 136 3145 0 3132 40 35 5 9 0 8 4 syncache 296 70 0 70 13 12 1 1 0 8 1 tcpqe 32 244 0 244 7 6 1 1 0 8 1 tcpcb 736 2165 0 2149 60 58 2 14 0 8 0 arp 120 46 0 27 1 0 1 1 0 8 0 inpcb 320 4421 0 4409 63 61 2 13 0 8 0 nd6 48 67 0 42 1 0 1 1 0 8 0 kcovpl 48 21 0 13 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1081 0 611 31 1 30 30 0 8 0 art_table 32 1082 0 611 4 0 4 4 0 8 0 art_node 16 259 0 157 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 11 1 0 1 1 0 8 0 semapl 112 1186 0 1176 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 9202 0 7752 92 0 92 92 0 8 0 ffsino 272 9202 0 7752 98 0 98 98 0 8 0 nchpl 144 17500 0 15859 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 78282 0 78282 5 4 1 2 0 8 1 percpumem 16 53 0 13 1 0 1 1 0 8 0 kstatmem 264 48 0 26 2 0 2 2 0 8 0 scxspl 216 47673 0 47672 25 22 3 8 0 8 2 plimitpl 152 1174 0 1150 6 4 2 2 0 8 1 sigapl 424 5355 0 5302 7 0 7 7 0 8 0 futexpl 64 48955 0 48952 1 0 1 1 0 8 0 knotepl 120 417 0 0 12 0 12 12 0 8 0 kqueuepl 224 1109 0 1101 19 16 3 5 0 8 2 pipepl 336 1108 0 1080 33 30 3 11 0 8 0 fdescpl 496 5337 0 5302 7 2 5 6 0 8 0 filepl 152 43637 0 43400 74 58 16 21 0 8 6 lockfpl 104 1014 0 1011 3 2 1 2 0 8 0 lockfspl 48 255 0 252 1 0 1 1 0 8 0 sessionpl 144 36 0 20 1 0 1 1 0 8 0 pgrppl 48 39 0 23 1 0 1 1 0 8 0 ucredpl 104 9502 0 9484 1 0 1 1 0 8 0 zombiepl 144 5302 0 5302 2 1 1 1 0 8 1 processpl 1064 5355 0 5302 4 0 4 4 0 8 0 procpl 672 15378 0 15312 14 7 7 8 0 8 0 sosppl 168 84 0 84 9 9 0 1 0 8 0 sockpl 480 8179 0 8153 177 165 12 34 0 8 8 mcl64k 65536 25 0 0 4 1 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 10 0 0 1 0 1 1 0 8 0 mcl8k 8192 18 0 0 3 0 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 273 0 0 28 2 26 28 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 8837 0 0 545 0 545 545 0 8 0 bufpl 288 12211 0 5880 453 0 453 453 0 8 0 anonpl 24 1090995 0 1078289 180 76 104 104 0 186 9 amapchunkpl 152 94462 0 93870 71 38 33 38 0 158 7 amappl16 200 17746 0 17351 92 61 31 33 0 8 8 amappl15 192 588 0 585 1 0 1 1 0 8 0 amappl14 184 631 0 626 1 0 1 1 0 8 0 amappl13 176 167 0 163 2 1 1 1 0 8 0 amappl12 168 774 0 767 1 0 1 1 0 8 0 amappl11 160 1336 0 1317 1 0 1 1 0 8 0 amappl10 152 44 0 40 1 0 1 1 0 8 0 amappl9 144 1242 0 1236 1 0 1 1 0 8 0 amappl8 136 2472 0 2393 4 1 3 3 0 8 0 amappl7 128 1734 0 1719 1 0 1 1 0 8 0 amappl6 120 1026 0 1000 2 1 1 2 0 8 0 amappl5 112 3029 0 3012 1 0 1 1 0 8 0 amappl4 104 3566 0 3533 3 2 1 2 0 8 0 amappl3 96 16287 0 16230 2 0 2 2 0 8 0 amappl2 88 6577 0 6503 3 1 2 3 0 8 0 amappl1 80 128757 0 128064 25 8 17 19 0 8 1 amappl 88 31380 0 31211 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 5337 0 5302 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5337 0 5302 1 0 1 1 0 8 0 vmmpekpl 168 46901 0 46854 3 0 3 3 0 8 0 vmmpepl 168 536594 0 533907 196 59 137 139 0 357 14 vmsppl 368 5336 0 5302 4 0 4 4 0 8 0 rwobjpl 56 138852 0 131550 116 8 108 108 0 8 2 pdppl 4096 10681 0 10604 255 174 81 87 0 8 4 pvpl 32 2126407 0 2108420 347 164 183 255 0 265 16 pmappl 248 5336 0 5302 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1624 0 272 39 0 39 39 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82988ff0) 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 __mp_lock(ffffffff82a151d8) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a151d8) at __mp_lock+0x129 sys/kern/kern_lock.c:147 wakeup_n(ffffffff82ba36d4,ffffffff) at wakeup_n+0x37 uvm_pmr_getpages(6,0,0,1,0,6,b7a2f06734503f3f,ffffffffffffffff) at uvm_pmr_getpages+0xeef sys/uvm/uvm_pmemrange.c:1207 uvm_pglistalloc(6000,0,ffffffffffffffff,0,0,ffff800027ba3fb8,f5d9de96f88cca23,6000) at uvm_pglistalloc+0x282 sys/uvm/uvm_page.c:783 uvm_km_kmemalloc_pla(ffffffff82addaa8,ffffffff82b0ba48,6000,0,8,0,e9254c9f798250c1,44,a01,7fff) at uvm_km_kmemalloc_pla+0x246 sys/uvm/uvm_km.c:381 uvm_uarea_alloc() at uvm_uarea_alloc+0x4a sys/uvm/uvm_glue.c:275 thread_fork(ffff8000fffee540,eb11db05100,eb17b72f200,eb17b72f230,ffff800027ba4230) at thread_fork+0xd7 sys/kern/kern_fork.c:532 sys___tfork(ffff8000fffee540,ffff800027ba41d0,ffff800027ba4230) at sys___tfork+0x13b sys/kern/kern_fork.c:140 syscall(ffff800027ba42a0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027ba42a0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc8f10, count: 2 ddb{0}> trace x86_ipi_db(ffffffff82988ff0) 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 __mp_lock(ffffffff82a151d8) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a151d8) at __mp_lock+0x129 sys/kern/kern_lock.c:147 wakeup_n(ffffffff82ba36d4,ffffffff) at wakeup_n+0x37 uvm_pmr_getpages(6,0,0,1,0,6,b7a2f06734503f3f,ffffffffffffffff) at uvm_pmr_getpages+0xeef sys/uvm/uvm_pmemrange.c:1207 uvm_pglistalloc(6000,0,ffffffffffffffff,0,0,ffff800027ba3fb8,f5d9de96f88cca23,6000) at uvm_pglistalloc+0x282 sys/uvm/uvm_page.c:783 uvm_km_kmemalloc_pla(ffffffff82addaa8,ffffffff82b0ba48,6000,0,8,0,e9254c9f798250c1,44,a01,7fff) at uvm_km_kmemalloc_pla+0x246 sys/uvm/uvm_km.c:381 uvm_uarea_alloc() at uvm_uarea_alloc+0x4a sys/uvm/uvm_glue.c:275 thread_fork(ffff8000fffee540,eb11db05100,eb17b72f200,eb17b72f230,ffff800027ba4230) at thread_fork+0xd7 sys/kern/kern_fork.c:532 sys___tfork(ffff8000fffee540,ffff800027ba41d0,ffff800027ba4230) at sys___tfork+0x13b sys/kern/kern_fork.c:140 syscall(ffff800027ba42a0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027ba42a0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc8f10, count: -13 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) 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(ffff8000fffed508,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000fffed508,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800029840810,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800029840810,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000fffed508,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(1c7d3c851e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000fffed508,ffff8000298409a0,ffff800029840a00) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800029840a70) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800029840a70) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1c7eef8d160, count: 3 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) 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(ffff8000fffed508,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000fffed508,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800029840810,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800029840810,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000fffed508,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(1c7d3c851e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000fffed508,ffff8000298409a0,ffff800029840a00) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800029840a70) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800029840a70) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1c7eef8d160, count: -12