panic: kernel diagnostic assertion "next != NULL && next->start <= entry->end" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_fault.c", line 1604 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *257100 87837 32767 0x10 0x4000000 1K syz-executor.1 274213 87837 32767 0x10 0x4000000 0 syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8244a0ca) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff824bdd78,ffffffff8241eef8,644,ffffffff8242d54d) at __assert+0x25 sys/kern/subr_prf.c:161 uvm_fault_unwire_locked(fffffd807f0085c0,20000000,20029000) at uvm_fault_unwire_locked+0x29b sys/uvm/uvm_fault.c:1601 uvm_fault_unwire(fffffd807f0085c0,20000000,20029000) at uvm_fault_unwire+0x3f sys/uvm/uvm_fault.c:1559 sys_sysctl(ffff8000212522a0,ffff8000246daf28,ffff8000246daf80) at sys_sysctl+0x229 sys/kern/kern_sysctl.c:255 syscall(ffff8000246daff0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000246daff0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc46b2eb60d0, count: 7 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 "next != NULL && next->start <= entry->end" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_fault.c", line 1604 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8244a0ca) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff824bdd78,ffffffff8241eef8,644,ffffffff8242d54d) at __assert+0x25 sys/kern/subr_prf.c:161 uvm_fault_unwire_locked(fffffd807f0085c0,20000000,20029000) at uvm_fault_unwire_locked+0x29b sys/uvm/uvm_fault.c:1601 uvm_fault_unwire(fffffd807f0085c0,20000000,20029000) at uvm_fault_unwire+0x3f sys/uvm/uvm_fault.c:1559 sys_sysctl(ffff8000212522a0,ffff8000246daf28,ffff8000246daf80) at sys_sysctl+0x229 sys/kern/kern_sysctl.c:255 syscall(ffff8000246daff0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000246daff0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc46b2eb60d0, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000246dacc0 rbx 0xffff800020d39bff rdx 0x8b rcx 0x2 rax 0x9f r8 0xffffffff8108bbb4 kprintf+0x144 r9 0x1 r10 0x910565fb3c2fa42d r11 0x4b1711e76fd99569 r12 0xffff800020d39a00 r13 0 r14 0 r15 0x1 rip 0xffffffff81c45bc8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000246dacb0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=257100 stat=onproc flags process=10 proc=4000000 pri=32, usrpri=73, nice=20 forw=0xffffffffffffffff, list=0xffff800021253a40,0xffff800021253510 process=0xffff800021212150 user=0xffff8000246d6000, vmspace=0xfffffd807f0085c0 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 87837 280012 97758 32767 2 0x10 syz-executor.1 *87837 257100 97758 32767 7 0x4000010 syz-executor.1 87837 449497 97758 32767 2 0x4000010 syz-executor.1 87837 274213 97758 32767 7 0x4000010 syz-executor.1 97758 194251 79775 32767 3 0x90 nanoslp syz-executor.1 79775 301633 69817 0 3 0x82 wait syz-executor.1 52725 498120 0 0 3 0x14200 bored sosplice 49990 328549 32754 32767 2 0x10 syz-executor.0 32754 497288 69817 0 3 0x82 wait syz-executor.0 69817 470028 50967 0 3 0x82 kqread syz-fuzzer 69817 226242 50967 0 3 0x4000082 thrsleep syz-fuzzer 69817 263340 50967 0 3 0x4000082 thrsleep syz-fuzzer 69817 166198 50967 0 3 0x4000082 thrsleep syz-fuzzer 69817 175122 50967 0 3 0x4000082 thrsleep syz-fuzzer 69817 486490 50967 0 3 0x4000082 thrsleep syz-fuzzer 69817 142415 50967 0 3 0x4000082 thrsleep syz-fuzzer 69817 372754 50967 0 3 0x4000082 thrsleep syz-fuzzer 50967 280225 11014 0 3 0x10008a sigsusp ksh 11014 225276 49976 0 3 0x9a kqread sshd 22787 80354 1 0 3 0x100083 ttyin getty 49976 142996 1 0 3 0x88 kqread sshd 33466 62508 63332 73 3 0x100090 kqread syslogd 63332 182230 1 0 3 0x100082 netio syslogd 87693 385220 1 0 3 0x100080 kqread resolvd 99215 233306 48953 77 3 0x100092 kqread dhcpleased 61101 256645 48953 77 3 0x100092 kqread dhcpleased 48953 203851 1 0 3 0x80 kqread dhcpleased 49113 11225 0 0 3 0x14200 bored smr 47231 297426 0 0 2 0x14200 zerothread 77938 255890 0 0 3 0x14200 aiodoned aiodoned 81767 491974 0 0 3 0x14200 syncer update 58019 284017 0 0 3 0x14200 cleaner cleaner 85908 245853 0 0 3 0x14200 reaper reaper 76826 468270 0 0 3 0x14200 pgdaemon pagedaemon 39372 352113 0 0 3 0x14200 bored viomb 79842 398565 0 0 3 0x40014200 acpi0 acpi0 37214 340737 0 0 3 0x40014200 idle1 74327 79985 0 0 3 0x14200 bored softnet 96299 31720 0 0 3 0x14200 bored systqmp 45807 433482 0 0 3 0x14200 bored systq 24011 475915 0 0 3 0x40014200 bored softclock 54145 430220 0 0 3 0x40014200 idle0 1 193623 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &uvm.pageqlock r = 0 (0xffffffff829f9690) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 uvm_fault_unwire_locked+0x5d sys/uvm/uvm_fault.c:1590 #4 uvm_fault_unwire+0x3f sys/uvm/uvm_fault.c:1559 #5 sys_sysctl+0x229 sys/kern/kern_sysctl.c:255 #6 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #6 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #7 Xsyscall+0x128 Process 87837 (syz-executor.1) thread 0xffff8000212522a0 (257100) shared rwlock vmmaplk r = 0 (0xfffffd807f0085d8) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 uvm_fault_unwire+0x31 sys/uvm/uvm_fault.c:1558 #2 sys_sysctl+0x229 sys/kern/kern_sysctl.c:255 #3 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #3 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #4 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8296a3e0) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 __mp_acquire_count+0x4c sys/kern/kern_lock.c:227 #2 mi_switch+0x3d3 sys/kern/sched_bsd.c:416 #3 sleep_finish+0x1b2 sys/kern/kern_synch.c:433 #4 rw_enter+0x35b sys/kern/kern_rwlock.c:286 #5 vm_map_lock_ln+0xda sys/uvm/uvm_map.c:5422 #6 uvmfault_lookup+0xb9 sys/uvm/uvm_fault.c:1695 #7 uvm_fault_check+0x607 uvmfault_amapcopy sys/uvm/uvm_fault.c:236 [inline] #7 uvm_fault_check+0x607 sys/uvm/uvm_fault.c:712 #8 uvm_fault+0x102 sys/uvm/uvm_fault.c:601 #9 uvm_fault_wire+0x63 sys/uvm/uvm_fault.c:1538 #10 sys_sysctl+0x2d8 sys/kern/kern_sysctl.c:241 #11 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #11 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #12 Xsyscall+0x128 exclusive rwlock sysctllk r = 0 (0xffffffff827670f0) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 rw_enter+0x3e2 sys/kern/kern_rwlock.c:310 #2 sys_sysctl+0x1b3 sys/kern/kern_sysctl.c:234 #3 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #3 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #4 Xsyscall+0x128 exclusive mutex &uvm.pageqlock r = 0 (0xffffffff829f9690) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 uvm_fault_unwire_locked+0x5d sys/uvm/uvm_fault.c:1590 #4 uvm_fault_unwire+0x3f sys/uvm/uvm_fault.c:1559 #5 sys_sysctl+0x229 sys/kern/kern_sysctl.c:255 #6 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #6 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #7 Xsyscall+0x128 Process 87837 (syz-executor.1) thread 0xffff8000212537a0 (274213) exclusive rwlock futex r = 0 (0xffffffff827ef040) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 sys_futex+0x5c sys/kern/sys_futex.c:108 #2 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #2 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #3 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10148 6358K 6379K 78643K 11243 0 pcb 13 10K 12K 78643K 15 0 rtable 114 3K 4K 78643K 2682 0 ifaddr 39 10K 10K 78643K 46 0 sysctl 1 1K 1K 78643K 1 0 counters 44 34K 34K 78643K 46 0 ioctlops 0 0K 2K 78643K 100 0 iov 0 0K 24K 78643K 557 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1208 76K 76K 78643K 2174 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 61 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 1409 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 7 21K 33K 78643K 4288 0 sigio 0 0K 0K 78643K 277 0 proc 56 74K 99K 78643K 629 0 subproc 26 1K 1K 78643K 39 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 341 0 in_multi 33 2K 2K 78643K 120 0 ether_multi 1 0K 0K 78643K 30 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 247 1102K 1102K 78643K 247 0 exec 0 0K 2K 78643K 721 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 227 32K 44K 78643K 58629 0 UVM aobj 131 4K 4K 78643K 137 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 126 0 NDP 5 0K 0K 78643K 12 0 temp 76 4195K 4307K 78643K 12202 0 kqueue 12 18K 26K 78643K 268 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 3289 0 3286 24 21 3 4 0 8 2 rtentry 112 66 0 18 2 0 2 2 0 8 0 unpcb 128 3007 0 2994 28 25 3 5 0 8 2 syncache 296 25 0 25 9 9 0 1 0 8 0 tcpqe 32 10 0 10 4 4 0 1 0 8 0 tcpcb 736 1937 0 1928 80 69 11 15 0 8 9 arp 120 9 0 3 1 0 1 1 0 8 0 ipq 40 16 0 16 4 4 0 1 0 8 0 ipqe 40 368 0 368 4 4 0 1 0 8 0 inpcb 304 4286 0 4277 63 57 6 11 0 8 4 rttmr 72 4 0 3 1 0 1 1 0 8 0 ip6q 72 6 0 6 3 3 0 1 0 8 0 ip6af 40 14 0 14 3 3 0 1 0 8 0 nd6 48 17 0 8 1 0 1 1 0 8 0 kcovpl 48 3 0 1 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 316 0 65 17 0 17 17 0 8 1 art_table 32 317 0 65 3 0 3 3 0 8 0 art_node 16 65 0 21 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 1 0 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 1404 0 1394 1 0 1 1 0 8 0 shmpl 112 134 0 6 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 7359 0 5950 92 3 89 89 0 8 0 ffsino 272 7359 0 5950 96 1 95 95 0 8 0 nchpl 144 13377 0 11776 61 1 60 61 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 44392 0 44392 1 0 1 1 0 8 1 percpumem 16 35 0 1 1 0 1 1 0 8 0 scxspl 216 39718 0 39718 24 21 3 8 0 8 3 plimitpl 152 846 0 836 1 0 1 1 0 8 0 sigapl 424 4507 0 4474 4 0 4 4 0 8 0 futexpl 64 31162 0 31161 1 0 1 1 0 8 0 knotepl 112 100 0 0 2 0 2 2 0 8 0 kqueuepl 216 1495 0 1481 32 27 5 5 0 8 4 pipepl 336 1081 0 1071 44 42 2 11 0 8 1 fdescpl 496 4492 0 4474 3 0 3 3 0 8 0 filepl 152 33660 0 33559 72 64 8 14 0 8 4 lockfpl 104 588 0 586 2 1 1 2 0 8 0 lockfspl 48 175 0 173 1 0 1 1 0 8 0 sessionpl 144 18 0 8 1 0 1 1 0 8 0 pgrppl 48 28 0 18 1 0 1 1 0 8 0 ucredpl 96 6100 0 6088 1 0 1 1 0 8 0 zombiepl 144 4474 0 4473 1 0 1 1 0 8 0 processpl 1064 4507 0 4473 3 0 3 3 0 8 0 procpl 672 13908 0 13864 10 5 5 5 0 8 1 srpgc 96 3 0 3 2 2 0 1 0 8 0 sosppl 168 66 0 66 10 10 0 1 0 8 0 sockpl 480 10702 0 10677 179 167 12 28 0 8 8 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl16k 16384 9 0 0 2 0 2 2 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 16 0 0 2 0 2 2 0 8 0 mcl8k 8192 22 0 0 3 1 2 3 0 8 0 mcl4k 4096 25 0 0 4 1 3 3 0 8 0 mcl2k2 2112 9 0 0 1 0 1 1 0 8 0 mcl2k 2048 204 0 0 21 3 18 21 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 7295 0 0 452 0 452 452 0 8 0 bufpl 280 11557 0 5235 452 0 452 452 0 8 0 anonpl 24 1313775 0 1301988 175 95 80 100 0 186 3 amapchunkpl 152 143181 0 142626 64 40 24 33 0 158 1 amappl16 200 12071 0 11723 71 51 20 31 0 8 1 amappl15 192 71 0 65 1 0 1 1 0 8 0 amappl14 184 2085 0 2081 1 0 1 1 0 8 0 amappl13 176 36 0 34 1 0 1 1 0 8 0 amappl12 168 17 0 12 1 0 1 1 0 8 0 amappl11 160 137 0 121 1 0 1 1 0 8 0 amappl10 152 11 0 10 1 0 1 1 0 8 0 amappl9 144 2343 0 2340 1 0 1 1 0 8 0 amappl8 136 410 0 362 2 0 2 2 0 8 0 amappl7 128 57 0 47 1 0 1 1 0 8 0 amappl6 120 2155 0 2145 1 0 1 1 0 8 0 amappl5 112 4505 0 4488 1 0 1 1 0 8 0 amappl4 104 741 0 708 1 0 1 1 0 8 0 amappl3 96 485 0 469 1 0 1 1 0 8 0 amappl2 88 4873 0 4830 9 7 2 2 0 8 1 amappl1 80 84129 0 83686 12 2 10 12 0 8 0 amappl 88 58174 0 58015 4 0 4 4 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 64 136 0 6 3 0 3 3 0 8 0 uaddrrnd 24 4492 0 4474 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4492 0 4474 1 0 1 1 0 8 0 vmmpekpl 168 36451 0 36423 2 0 2 2 0 8 0 vmmpepl 168 419531 0 417890 141 52 89 89 0 357 16 vmsppl 368 4491 0 4474 2 0 2 2 0 8 0 rwobjpl 56 105097 0 104008 27 11 16 19 0 8 0 pdppl 4096 8992 0 8948 64 18 46 50 0 8 2 pvpl 32 2158491 0 2143282 285 146 139 164 0 265 5 pmappl 224 4491 0 4474 2 0 2 2 0 8 1 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 888 0 140 22 0 22 22 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82772ff0) 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(ffffffff8296a1d8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8296a1d8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f __mp_lock(ffffffff8296a1d8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8296a1d8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 sleep_setup(ffff8000246917d0,ffff8000212537a0,120,ffffffff824489e8,0) at sleep_setup+0xd3 sys/kern/kern_synch.c:370 rwsleep(ffff8000212537a0,ffffffff827ef030,120,ffffffff824489e8,0) at rwsleep+0xc1 sys/kern/kern_synch.c:311 futex_wait(c468c050d70,1,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000212537a0,ffff800024691960,ffff8000246919c0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800024691a30) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024691a30) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc467f77f370, count: 2 ddb{0}> trace x86_ipi_db(ffffffff82772ff0) 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(ffffffff8296a1d8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8296a1d8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f __mp_lock(ffffffff8296a1d8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8296a1d8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 sleep_setup(ffff8000246917d0,ffff8000212537a0,120,ffffffff824489e8,0) at sleep_setup+0xd3 sys/kern/kern_synch.c:370 rwsleep(ffff8000212537a0,ffffffff827ef030,120,ffffffff824489e8,0) at rwsleep+0xc1 sys/kern/kern_synch.c:311 futex_wait(c468c050d70,1,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000212537a0,ffff800024691960,ffff8000246919c0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800024691a30) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024691a30) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc467f77f370, 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:440 panic(ffffffff8244a0ca) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff824bdd78,ffffffff8241eef8,644,ffffffff8242d54d) at __assert+0x25 sys/kern/subr_prf.c:161 uvm_fault_unwire_locked(fffffd807f0085c0,20000000,20029000) at uvm_fault_unwire_locked+0x29b sys/uvm/uvm_fault.c:1601 uvm_fault_unwire(fffffd807f0085c0,20000000,20029000) at uvm_fault_unwire+0x3f sys/uvm/uvm_fault.c:1559 sys_sysctl(ffff8000212522a0,ffff8000246daf28,ffff8000246daf80) at sys_sysctl+0x229 sys/kern/kern_sysctl.c:255 syscall(ffff8000246daff0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000246daff0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc46b2eb60d0, count: 7 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8244a0ca) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff824bdd78,ffffffff8241eef8,644,ffffffff8242d54d) at __assert+0x25 sys/kern/subr_prf.c:161 uvm_fault_unwire_locked(fffffd807f0085c0,20000000,20029000) at uvm_fault_unwire_locked+0x29b sys/uvm/uvm_fault.c:1601 uvm_fault_unwire(fffffd807f0085c0,20000000,20029000) at uvm_fault_unwire+0x3f sys/uvm/uvm_fault.c:1559 sys_sysctl(ffff8000212522a0,ffff8000246daf28,ffff8000246daf80) at sys_sysctl+0x229 sys/kern/kern_sysctl.c:255 syscall(ffff8000246daff0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000246daff0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc46b2eb60d0, count: -8