panic: uvm_fault_unwire_locked: address not in map Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *235187 38386 32767 0x10 0x4000000 0K syz-executor 199971 7045 32767 0x10 0x4000000 1 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830c6743) at panic+0x1e5 sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806c28a398,20000000,20001000) at uvm_fault_unwire_locked+0x487 sys/uvm/uvm_fault.c:1694 uvm_fault_unwire(fffffd806c28a398,20000000,20001000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1657 kern_sysctl(ffff80003722d204,2,20000100,ffff80003722d238,0,37,80789de88acbf3ac) at kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline] kern_sysctl(ffff80003722d204,2,20000100,ffff80003722d238,0,37,80789de88acbf3ac) at kern_sysctl+0x500 sys/kern/kern_sysctl.c:508 sys_sysctl(ffff8000ffff7bf0,ffff80003722d370,ffff80003722d2c0) at sys_sysctl+0x425 syscall(ffff80003722d370) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff80003722d370) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc4b1fee34d0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault_unwire_locked: address not in map ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830c6743) at panic+0x1e5 sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806c28a398,20000000,20001000) at uvm_fault_unwire_locked+0x487 sys/uvm/uvm_fault.c:1694 uvm_fault_unwire(fffffd806c28a398,20000000,20001000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1657 kern_sysctl(ffff80003722d204,2,20000100,ffff80003722d238,0,37,80789de88acbf3ac) at kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline] kern_sysctl(ffff80003722d204,2,20000100,ffff80003722d238,0,37,80789de88acbf3ac) at kern_sysctl+0x500 sys/kern/kern_sysctl.c:508 sys_sysctl(ffff8000ffff7bf0,ffff80003722d370,ffff80003722d2c0) at sys_sysctl+0x425 syscall(ffff80003722d370) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff80003722d370) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc4b1fee34d0, count: -8 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80003722cec0 rbx 0xffffffff8343ddbf cpu_info_full_primary+0x2dbf rdx 0xffff800001280b40 rcx 0xffff8000ffff7bf0 rax 0xffffffff8343cff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x6d5a861a8e0f276e r11 0xb5583fdfc2e966fe r12 0xffffffff8343dbc0 cpu_info_full_primary+0x2bc0 r13 0 r14 0 r15 0x1 rip 0xffffffff824466b5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003722ceb0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=235187 pid=38386 tcnt=9 stat=onproc flags process=10 proc=4000000 runpri=32, usrpri=77, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff6528,0xffff800037235c18 process=0xffff8000371d0930 user=0xffff800037228000, vmspace=0xfffffd806c28a398 estcpu=27, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 38386 364219 22170 32767 3 0x90 nanoslp syz-executor 38386 187874 22170 32767 2 0x4000010 syz-executor 38386 263578 22170 32767 2 0x4000010 syz-executor 38386 172561 22170 32767 3 0x4000090 fsleep syz-executor 38386 241033 22170 32767 3 0x4000090 fsleep syz-executor 38386 339699 22170 32767 3 0x4000090 fsleep syz-executor *38386 235187 22170 32767 7 0x4000010 syz-executor 38386 182688 22170 32767 3 0x4000090 sysctllk syz-executor 38386 494678 22170 32767 3 0x4000090 fsleep syz-executor 7045 341107 35406 32767 2 0x10 syz-executor 7045 199971 35406 32767 7 0x4000010 syz-executor 49975 230945 30826 32767 3 0x90 nanoslp syz-executor 49975 26318 30826 32767 3 0x4000090 kqsel syz-executor 49975 173808 30826 32767 3 0x4000090 fsleep syz-executor 7876 113392 0 0 3 0x14200 bored sosplice 73943 82503 86522 32767 2 0x10 syz-executor 22170 286432 34115 32767 3 0x90 nanoslp syz-executor 18652 91921 57868 32767 2 0x10 syz-executor 35406 350403 24732 32767 3 0x90 nanoslp syz-executor 23982 168530 17536 32767 2 0x10 syz-executor 74432 354058 71166 32767 2 0x10 syz-executor 53635 384881 52299 32767 2 0x10 syz-executor 30826 299950 32928 32767 3 0x90 nanoslp syz-executor 17536 172857 95255 0 3 0x82 wait syz-executor 57868 379084 95255 0 3 0x82 wait syz-executor 34115 405915 95255 0 3 0x82 wait syz-executor 86522 182608 95255 0 3 0x82 wait syz-executor 24732 356797 95255 0 3 0x82 wait syz-executor 32928 516537 95255 0 3 0x82 wait syz-executor 71166 463155 95255 0 3 0x82 wait syz-executor 52299 15153 95255 0 3 0x82 wait syz-executor 95255 71762 75473 0 3 0x82 kqread syz-executor 75473 293872 90690 0 3 0x10008a sigsusp ksh 90690 439050 9145 0 3 0x98 kqread sshd-session 9145 174037 14471 0 3 0x92 kqread sshd-session 36477 112677 1 0 3 0x100083 ttyin getty 14471 314936 1 0 3 0x88 kqread sshd 35805 451272 9612 73 3 0x1100090 kqread syslogd 9612 55586 1 0 3 0x100082 sbwait syslogd 7154 27539 1 0 3 0x100080 kqread resolvd 20970 371423 29963 77 3 0x100092 kqread dhcpleased 75691 410013 29963 77 3 0x100092 kqread dhcpleased 29963 117381 1 0 3 0x80 kqread dhcpleased 34068 82362 0 0 3 0x14200 bored smr 77390 197449 0 0 2 0x14200 zerothread 92918 212839 0 0 3 0x14200 aiodoned aiodoned 11697 179238 0 0 3 0x14200 syncer update 31425 303577 0 0 3 0x14200 cleaner cleaner 82361 89791 0 0 3 0x14200 reaper reaper 78603 500504 0 0 3 0x14200 pgdaemon pagedaemon 47520 491698 0 0 3 0x14200 bored viomb 13344 418604 0 0 3 0x40014200 acpi0 acpi0 30202 396128 0 0 3 0x40014200 idle1 63307 203926 0 0 3 0x14200 bored softnet3 99386 139093 0 0 3 0x14200 bored softnet2 35874 516269 0 0 3 0x14200 bored softnet1 23393 211781 0 0 2 0x14200 softnet0 92814 173093 0 0 3 0x14200 bored systqmp 83204 4130 0 0 3 0x14200 bored systq 23977 323444 0 0 3 0x14200 tmoslp softclockmp 85578 240364 0 0 3 0x40014200 tmoslp softclock 78092 102502 0 0 3 0x40014200 idle0 1 287738 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 1: exclusive mutex &cq->cq_mtx r = 0 (0xffff800029b7cde8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 mtx_enter_try+0x178 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #3 clockintr_dispatch+0x3b4 sys/kern/kern_clockintr.c:215 #4 lapic_clockintr+0x51 sys/arch/amd64/amd64/lapic.c:489 #5 Xresume_lapic_ltimer+0x2a #6 __sanitizer_cov_trace_const_cmp8+0x14 sys/dev/kcov.c:235 #7 pmap_enter+0x9f #8 uvm_fault_lower+0x8ce sys/uvm/uvm_fault.c:1450 #9 uvm_fault+0x2f0 sys/uvm/uvm_fault.c:637 #10 kpageflttrap+0x2d0 sys/arch/amd64/amd64/trap.c:279 #11 kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 #12 alltraps_kern_meltdown+0x7b #13 _copyin+0x57 #14 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #14 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #15 Xsyscall+0x128 Process 38386 (syz-executor) thread 0xffff8000ffff7bf0 (235187) shared rwlock vmmaplk r = 0 (0xfffffd806c28a490) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 uvm_fault_unwire+0x3e sys/uvm/uvm_fault.c:1656 #2 kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline] #2 kern_sysctl+0x500 sys/kern/kern_sysctl.c:508 #3 sys_sysctl+0x425 #4 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #4 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #5 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff835846e0) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 __mp_acquire_count+0x58 #2 mi_switch+0x4b7 sys/kern/sched_bsd.c:441 #3 sleep_finish+0x2f2 sys/kern/kern_synch.c:425 #4 rw_enter+0x348 sys/kern/kern_rwlock.c:285 #5 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #6 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #7 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #8 vfs_getcwd_common+0xd1 sys/kern/vfs_getcwd.c:287 #9 sysctl_proc_cwd+0x2b2 sys/kern/kern_sysctl.c:2334 #10 kern_sysctl+0x492 sys/kern/kern_sysctl.c:506 #11 sys_sysctl+0x425 #12 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #12 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 exclusive rwlock sysctllk r = 0 (0xffffffff8341b140) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 sysctl_vslock+0x45 sys/kern/kern_sysctl.c:181 #3 kern_sysctl+0x1ad sys/kern/kern_sysctl.c:504 #4 sys_sysctl+0x425 #5 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #5 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #6 Xsyscall+0x128 Process 7045 (syz-executor) thread 0xffff80003639d1d8 (199971) exclusive rwlock amaplk r = 0 (0xfffffd807c40c600) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 uvm_fault_check+0x525 sys/uvm/uvm_fault.c:784 #2 uvm_fault+0xf5 sys/uvm/uvm_fault.c:600 #3 kpageflttrap+0x2d0 sys/arch/amd64/amd64/trap.c:279 #4 kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 #5 alltraps_kern_meltdown+0x7b #6 _copyin+0x57 #7 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #7 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #8 Xsyscall+0x128 shared rwlock vmmaplk r = 0 (0xfffffd806c0c8f18) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 uvmfault_lookup+0x122 sys/uvm/uvm_fault.c:1819 #2 uvm_fault_check+0x49 sys/uvm/uvm_fault.c:672 #3 uvm_fault+0xf5 sys/uvm/uvm_fault.c:600 #4 kpageflttrap+0x2d0 sys/arch/amd64/amd64/trap.c:279 #5 kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 #6 alltraps_kern_meltdown+0x7b #7 _copyin+0x57 #8 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #8 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 73943 (syz-executor) thread 0xffff80003639d6e8 (82503) exclusive rrwlock inode r = 0 (0xfffffd807ccc8f80) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:169 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1230 #6 ffs_inode_alloc+0x283 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_mkdir+0x113 sys/ufs/ufs/ufs_vnops.c:1112 #8 VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394 #9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3099 #10 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #10 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806c7ea4e8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 #6 namei+0x7aa sys/kern/vfs_lookup.c:250 #7 domkdirat+0x8b sys/kern/vfs_syscalls.c:3084 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 18652 (syz-executor) thread 0xffff80003639dbf8 (91921) exclusive rrwlock inode r = 0 (0xfffffd807ccc8c50) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vget+0x2bd sys/kern/vfs_subr.c:678 #6 ufs_ihashget+0x192 sys/ufs/ufs/ufs_ihash.c:98 #7 ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1201 #8 ufs_lookup+0x19f8 sys/ufs/ufs/ufs_lookup.c:478 #9 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #11 namei+0x7aa sys/kern/vfs_lookup.c:250 #12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #13 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #13 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806c7eaf88) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 #6 namei+0x7aa sys/kern/vfs_lookup.c:250 #7 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 23982 (syz-executor) thread 0xffff8000ffff7458 (168530) exclusive rrwlock inode r = 0 (0xfffffd807ccc80a0) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vget+0x2bd sys/kern/vfs_subr.c:678 #6 ufs_ihashget+0x192 sys/ufs/ufs/ufs_ihash.c:98 #7 ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1201 #8 ufs_lookup+0x19f8 sys/ufs/ufs/ufs_lookup.c:478 #9 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #11 namei+0x7aa sys/kern/vfs_lookup.c:250 #12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #13 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #13 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd807ccc8810) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vget+0x2bd sys/kern/vfs_subr.c:678 #6 cache_lookup+0x36e sys/kern/vfs_cache.c:222 #7 ufs_lookup+0x218 sys/ufs/ufs/ufs_lookup.c:160 #8 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #10 namei+0x7aa sys/kern/vfs_lookup.c:250 #11 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #12 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #12 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 Process 74432 (syz-executor) thread 0xffff8000ffff62a0 (354058) exclusive rrwlock inode r = 0 (0xfffffd807ccc84e0) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vget+0x2bd sys/kern/vfs_subr.c:678 #6 ufs_ihashget+0x192 sys/ufs/ufs/ufs_ihash.c:98 #7 ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1201 #8 ufs_lookup+0x19f8 sys/ufs/ufs/ufs_lookup.c:478 #9 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #11 namei+0x7aa sys/kern/vfs_lookup.c:250 #12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #13 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #13 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806c7ead68) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 #6 namei+0x7aa sys/kern/vfs_lookup.c:250 #7 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 53635 (syz-executor) thread 0xffff8000ffff67b0 (384881) exclusive rrwlock inode r = 0 (0xfffffd807ccc8920) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vn_closefile+0x111 vn_close sys/kern/vfs_vnops.c:292 [inline] #5 vn_closefile+0x111 sys/kern/vfs_vnops.c:609 #6 fdrop+0x126 sys/kern/kern_descrip.c:1274 #7 closef+0x192 sys/kern/kern_descrip.c:1258 #8 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #8 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10179 11046K 11059K 166960K 11257 0 pcb 17 12K 12K 166960K 17 0 rtable 236 6K 7K 166960K 354 0 pf 31 16K 16K 166960K 31 0 ifaddr 42 7K 7K 166960K 44 0 ifgroup 50 2K 2K 166960K 50 0 counters 64 36K 36K 166960K 64 0 ioctlops 0 0K 2K 166960K 29 0 iov 0 0K 4K 166960K 1 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1364 86K 86K 166960K 1382 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 4 0K 0K 166960K 4 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 21 77K 125K 166960K 180 0 sigio 0 0K 0K 166960K 1 0 proc 58 79K 127K 166960K 480 0 subproc 104 6K 6K 166960K 104 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 19 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 43 201K 201K 166960K 43 0 exec 0 0K 1K 166960K 378 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 229 73K 74K 166960K 3102 0 UVM aobj 5 2K 2K 166960K 7 0 pinsyscall 42 84K 111K 166960K 1196 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 6 0 NDP 13 0K 2K 166960K 27 0 temp 40 6814K 6878K 166960K 3830 0 kqueue 15 24K 26K 166960K 35 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 40 0 35 1 0 1 1 0 8 0 rtentry 112 112 0 1 4 0 4 4 0 8 0 unpcb 144 69 0 51 1 0 1 1 0 8 0 syncache 336 3 0 3 2 1 1 1 0 8 1 tcpcb 808 30 0 24 2 0 2 2 0 8 0 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 336 111 0 101 2 0 2 2 0 8 0 nd6 136 25 0 0 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 454 0 0 29 0 29 29 0 8 0 art_table 32 455 0 0 4 0 4 4 0 8 0 art_node 16 111 0 10 1 0 1 1 0 8 0 semapl 112 2 0 0 1 0 1 1 0 8 0 shmpl 112 4 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1590 0 89 94 0 94 94 0 8 0 ffsino 272 1590 0 89 101 0 101 101 0 8 0 nchpl 144 1828 0 155 63 0 63 63 0 8 0 uvmvnodes 80 1703 0 0 35 0 35 35 0 8 0 vnodes 216 1703 0 0 95 0 95 95 0 8 0 namei 1024 5467 0 5466 2 0 2 2 0 8 1 percpumem 16 46 0 0 1 0 1 1 0 8 0 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 5239 0 5239 3 1 2 2 1 8 2 plimitpl 152 35 0 11 1 0 1 1 0 8 0 sigapl 424 461 0 409 8 0 8 8 0 8 0 futexpl 64 638 0 633 1 0 1 1 0 8 0 knotepl 120 303 0 0 10 0 10 10 0 8 0 kqueuepl 216 36 0 24 1 0 1 1 0 8 0 pipepl 320 104 0 77 3 0 3 3 0 8 0 fdescpl 496 442 0 409 7 1 6 6 0 8 0 filepl 152 1596 0 1347 13 0 13 13 0 8 2 lockfpl 104 19 0 16 1 0 1 1 0 8 0 lockfspl 48 10 0 7 1 0 1 1 0 8 0 sessionpl 144 21 0 5 1 0 1 1 0 8 0 pgrppl 48 29 0 5 1 0 1 1 0 8 0 ucredpl 104 105 0 86 1 0 1 1 0 8 0 zombiepl 144 409 0 409 1 0 1 1 0 8 1 processpl 1160 461 0 409 5 0 5 5 0 8 0 procpl 648 531 0 468 7 0 7 7 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 664 220 0 187 4 0 4 4 0 8 0 mcl64k 65536 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 134 0 0 17 0 17 17 0 8 0 mcl2k 2048 17 0 0 3 0 3 3 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 241 0 0 16 0 16 16 0 8 0 bufpl 280 2200 0 94 151 0 151 151 0 8 0 anonpl 24 149241 0 144900 28 0 28 28 0 185 0 amapchunkpl 152 10098 0 9617 24 0 24 24 0 158 0 amappl16 200 4186 0 4095 5 0 5 5 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 107 0 97 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 0 1 1 0 8 1 amappl12 168 1086 0 1053 3 0 3 3 0 8 1 amappl11 160 50 0 40 1 0 1 1 0 8 0 amappl10 152 13 0 13 1 0 1 1 0 8 1 amappl9 144 213 0 213 1 0 1 1 0 8 1 amappl8 136 21 0 20 1 0 1 1 0 8 0 amappl7 128 93 0 83 1 0 1 1 0 8 0 amappl6 120 170 0 169 1 0 1 1 0 8 0 amappl5 112 135 0 127 1 0 1 1 0 8 0 amappl4 104 281 0 266 1 0 1 1 0 8 0 amappl3 96 1803 0 1717 3 0 3 3 0 8 0 amappl2 88 707 0 627 3 0 3 3 0 8 0 amappl1 80 7411 0 6891 13 0 13 13 0 8 0 amappl 88 2763 0 2589 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 2 1 0 1 1 0 8 0 uaddrrnd 24 442 0 409 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 442 0 409 1 0 1 1 0 8 0 vmmpekpl 168 4889 0 4853 2 0 2 2 0 8 0 vmmpepl 168 36029 0 34148 92 0 92 92 0 357 0 vmsppl 448 441 0 409 5 0 5 5 0 8 0 rwobjpl 56 16500 0 13901 38 0 38 38 0 8 0 pdppl 4096 891 0 818 115 24 91 97 0 8 18 pvpl 32 10690 0 0 87 0 87 87 0 265 0 pmappl 248 441 0 409 4 1 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 397 0 27 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830c6743) at panic+0x1e5 sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806c28a398,20000000,20001000) at uvm_fault_unwire_locked+0x487 sys/uvm/uvm_fault.c:1694 uvm_fault_unwire(fffffd806c28a398,20000000,20001000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1657 kern_sysctl(ffff80003722d204,2,20000100,ffff80003722d238,0,37,80789de88acbf3ac) at kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline] kern_sysctl(ffff80003722d204,2,20000100,ffff80003722d238,0,37,80789de88acbf3ac) at kern_sysctl+0x500 sys/kern/kern_sysctl.c:508 sys_sysctl(ffff8000ffff7bf0,ffff80003722d370,ffff80003722d2c0) at sys_sysctl+0x425 syscall(ffff80003722d370) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff80003722d370) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc4b1fee34d0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __sanitizer_cov_trace_cmp8(20020000,507000) at __sanitizer_cov_trace_cmp8+0x2e kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_cmp8(20020000,507000) at __sanitizer_cov_trace_cmp8+0x2e sys/dev/kcov.c:212 uvm_map_lookup_entry(fffffd806c0c8e20,507000,ffff8000371f6e50) at uvm_map_lookup_entry+0x120 uvm_map_entrybyaddr sys/uvm/uvm_map.c:528 [inline] uvm_map_lookup_entry(fffffd806c0c8e20,507000,ffff8000371f6e50) at uvm_map_lookup_entry+0x120 sys/uvm/uvm_map.c:1565 uvmfault_lookup(ffff8000371f6e28,0) at uvmfault_lookup+0x133 sys/uvm/uvm_fault.c:1819 uvm_fault_check(ffff8000371f6e28,ffff8000371f6e60,ffff8000371f6e90,0) at uvm_fault_check+0x49 sys/uvm/uvm_fault.c:672 uvm_fault(fffffd806c0c8e20,507000,0,2) at uvm_fault+0xf5 sys/uvm/uvm_fault.c:600 kpageflttrap(ffff8000371f6fd0,507320) at kpageflttrap+0x2d0 sys/arch/amd64/amd64/trap.c:279 kerntrap(ffff8000371f6fd0) at kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x57 syscall(ffff8000371f7420) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371f7420) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x603e3d2d750, count: 1 ddb{1}> trace x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __sanitizer_cov_trace_cmp8(20020000,507000) at __sanitizer_cov_trace_cmp8+0x2e kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_cmp8(20020000,507000) at __sanitizer_cov_trace_cmp8+0x2e sys/dev/kcov.c:212 uvm_map_lookup_entry(fffffd806c0c8e20,507000,ffff8000371f6e50) at uvm_map_lookup_entry+0x120 uvm_map_entrybyaddr sys/uvm/uvm_map.c:528 [inline] uvm_map_lookup_entry(fffffd806c0c8e20,507000,ffff8000371f6e50) at uvm_map_lookup_entry+0x120 sys/uvm/uvm_map.c:1565 uvmfault_lookup(ffff8000371f6e28,0) at uvmfault_lookup+0x133 sys/uvm/uvm_fault.c:1819 uvm_fault_check(ffff8000371f6e28,ffff8000371f6e60,ffff8000371f6e90,0) at uvm_fault_check+0x49 sys/uvm/uvm_fault.c:672 uvm_fault(fffffd806c0c8e20,507000,0,2) at uvm_fault+0xf5 sys/uvm/uvm_fault.c:600 kpageflttrap(ffff8000371f6fd0,507320) at kpageflttrap+0x2d0 sys/arch/amd64/amd64/trap.c:279 kerntrap(ffff8000371f6fd0) at kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x57 syscall(ffff8000371f7420) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371f7420) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x603e3d2d750, count: -14