login: witness: exclusive lock of (rwlock) vmmaplk while share locked panic: share->excl Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 212241 71819 32767 0x10 0 0 syz-executor.3 * 43908 71819 32767 0x10 0x4000000 1K syz-executor.3 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8257690f) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(fffffd8068d70a40,9,0) at witness_checkorder+0x11bd witness_debugger sys/kern/subr_witness.c:2505 [inline] witness_checkorder(fffffd8068d70a40,9,0) at witness_checkorder+0x11bd sys/kern/subr_witness.c:772 rw_enter(fffffd8068d70a30,21) at rw_enter+0xd1 sys/kern/kern_rwlock.c:250 vm_map_lock_ln(fffffd8068d70a28,431,ffff800027ad2000) at vm_map_lock_ln+0xda sys/uvm/uvm_map.c:5466 uvm_map_extract(fffffd8068d70a28,7f7ffffc9000,1000,ffff800026ad1280,0) at uvm_map_extract+0x173 sys/uvm/uvm_map.c:4530 uvm_io(fffffd8068d70a28,ffff800026ad1318,0) at uvm_io+0x127 sys/uvm/uvm_io.c:100 sysctl_proc_args(ffff800026ad1768,2,20000240,ffff800026ad1798,ffff800024687a48) at sysctl_proc_args+0x24b sys/kern/kern_sysctl.c:1790 kern_sysctl(ffff800026ad1764,3,20000240,ffff800026ad1798,0,3,5236d3404fe34a5a) at kern_sysctl+0xfd sys/kern/kern_sysctl.c:449 sys_sysctl(ffff800024687a48,ffff800026ad1808,ffff800026ad1860) at sys_sysctl+0x209 sys/kern/kern_sysctl.c:249 syscall(ffff800026ad18d0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800026ad18d0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf3585dac010, 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: share->excl ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8257690f) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(fffffd8068d70a40,9,0) at witness_checkorder+0x11bd witness_debugger sys/kern/subr_witness.c:2505 [inline] witness_checkorder(fffffd8068d70a40,9,0) at witness_checkorder+0x11bd sys/kern/subr_witness.c:772 rw_enter(fffffd8068d70a30,21) at rw_enter+0xd1 sys/kern/kern_rwlock.c:250 vm_map_lock_ln(fffffd8068d70a28,431,ffff800027ad2000) at vm_map_lock_ln+0xda sys/uvm/uvm_map.c:5466 uvm_map_extract(fffffd8068d70a28,7f7ffffc9000,1000,ffff800026ad1280,0) at uvm_map_extract+0x173 sys/uvm/uvm_map.c:4530 uvm_io(fffffd8068d70a28,ffff800026ad1318,0) at uvm_io+0x127 sys/uvm/uvm_io.c:100 sysctl_proc_args(ffff800026ad1768,2,20000240,ffff800026ad1798,ffff800024687a48) at sysctl_proc_args+0x24b sys/kern/kern_sysctl.c:1790 kern_sysctl(ffff800026ad1764,3,20000240,ffff800026ad1798,0,3,5236d3404fe34a5a) at kern_sysctl+0xfd sys/kern/kern_sysctl.c:449 sys_sysctl(ffff800024687a48,ffff800026ad1808,ffff800026ad1860) at sys_sysctl+0x209 sys/kern/kern_sysctl.c:249 syscall(ffff800026ad18d0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800026ad18d0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf3585dac010, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800026ad0ee0 rbx 0xffff800020ce9bff rdx 0xffff800000bd4740 rcx 0 rax 0xffff800024687a48 r8 0x101010101010101 r9 0x8080808080808080 r10 0xdae558f7c392b51a r11 0xcbbab33315843fd1 r12 0xffff800020ce9a00 r13 0 r14 0 r15 0x1 rip 0xffffffff8138d658 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800026ad0ed0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.3) pid=43908 stat=onproc flags process=10 proc=4000000 pri=32, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff8000246877a8,0xffffffff82b3d400 process=0xffff80002ad38870 user=0xffff800026acc000, vmspace=0xfffffd8068d70a28 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 71819 212241 71531 32767 7 0x10 syz-executor.3 *71819 43908 71531 32767 7 0x4000010 syz-executor.3 85960 429430 31400 32767 2 0x10 syz-executor.7 85960 480405 31400 32767 3 0x4000090 fsleep syz-executor.7 55991 345200 87273 32767 2 0x10 syz-executor.0 55991 344395 87273 32767 3 0x4000090 fsleep syz-executor.0 12668 59790 89203 32767 2 0x10 syz-executor.6 12668 72469 89203 32767 2 0x4000010 syz-executor.6 38626 122530 48750 32767 2 0x10 syz-executor.2 38626 432351 48750 32767 2 0x4000010 syz-executor.2 96905 227749 1397 32767 2 0x10 syz-executor.5 71531 106259 54677 32767 3 0x90 nanoslp syz-executor.3 1397 259104 91859 0 3 0x82 wait syz-executor.5 31400 424410 93307 32767 3 0x90 nanoslp syz-executor.7 89203 139284 98641 32767 3 0x90 nanoslp syz-executor.6 93307 108945 91859 0 3 0x82 wait syz-executor.7 98641 204171 91859 0 3 0x82 wait syz-executor.6 17843 7133 11650 32767 2 0x10 syz-executor.4 48750 318821 47426 32767 3 0x90 nanoslp syz-executor.2 11650 408307 91859 0 3 0x82 wait syz-executor.4 54677 320798 91859 0 3 0x82 wait syz-executor.3 47426 355881 91859 0 3 0x82 wait syz-executor.2 77264 594 65665 32767 3 0x10 biowait syz-executor.1 87273 208947 49807 32767 3 0x90 nanoslp syz-executor.0 65665 508781 91859 0 3 0x82 wait syz-executor.1 49807 1784 91859 0 3 0x82 wait syz-executor.0 91859 410610 39490 0 3 0x82 thrsleep syz-fuzzer 91859 262114 39490 0 3 0x4000082 nanoslp syz-fuzzer 91859 252391 39490 0 3 0x4000082 thrsleep syz-fuzzer 91859 516143 39490 0 3 0x4000082 thrsleep syz-fuzzer 91859 4127 39490 0 3 0x4000082 nanoslp syz-fuzzer 91859 40511 39490 0 3 0x4000082 thrsleep syz-fuzzer 91859 143906 39490 0 3 0x4000082 thrsleep syz-fuzzer 91859 376387 39490 0 3 0x4000082 thrsleep syz-fuzzer 91859 343946 39490 0 3 0x4000082 kqread syz-fuzzer 39490 246901 88868 0 3 0x10008a sigsusp ksh 88868 489744 13784 0 3 0x9a kqread sshd 27637 470922 1 0 3 0x100083 ttyin getty 13784 75887 1 0 3 0x88 kqread sshd 94566 339060 97693 73 3 0x1100090 kqread syslogd 97693 217749 1 0 3 0x100082 netio syslogd 79771 129831 1 0 3 0x100080 kqread resolvd 57832 36985 90747 77 3 0x100092 kqread dhcpleased 4867 410444 90747 77 3 0x100092 kqread dhcpleased 90747 294932 1 0 3 0x80 kqread dhcpleased 29477 77793 0 0 3 0x14200 bored smr 75650 214821 0 0 2 0x14200 zerothread 69022 297327 0 0 3 0x14200 aiodoned aiodoned 77916 498844 0 0 3 0x14200 syncer update 1857 35063 0 0 3 0x14200 cleaner cleaner 29179 29033 0 0 3 0x14200 reaper reaper 94897 1639 0 0 3 0x14200 pgdaemon pagedaemon 76698 440991 0 0 3 0x14200 bored viomb 45777 439861 0 0 3 0x40014200 acpi0 acpi0 29440 19289 0 0 3 0x40014200 idle1 51550 35078 0 0 3 0x14200 bored softnet 67000 74492 0 0 3 0x14200 bored systqmp 89457 235231 0 0 3 0x14200 bored systq 59616 171646 0 0 3 0x40014200 bored softclock 44152 64765 0 0 3 0x40014200 idle0 1 270467 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 71819 (syz-executor.3) thread 0xffff800024687a48 (43908) shared rwlock vmmaplk r = 0 (0xfffffd8068d70a40) #0 witness_lock+0x44d #1 uvm_vslock+0xc8 sys/uvm/uvm_glue.c:129 #2 sys_sysctl+0x2d8 sys/kern/kern_sysctl.c:240 #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 rwlock sysctllk r = 0 (0xffffffff82941f10) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 sys_sysctl+0x1b3 sys/kern/kern_sysctl.c:233 #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 (0xffffffff829de988) #0 witness_lock+0x44d #1 syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline] #1 syscall+0x3ef sys/arch/amd64/amd64/trap.c:585 #2 Xsyscall+0x128 Process 77264 (syz-executor.1) thread 0xffff8000211fe2a0 (594) exclusive rrwlock inode r = 0 (0xfffffd80678cfe78) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:579 #5 vget+0x1d3 sys/kern/vfs_subr.c:677 #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:1850 #13 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806c819a28) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:579 #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:1850 #8 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10167 6406K 6419K 78643K 11257 0 pcb 13 8K 8K 78643K 13 0 rtable 238 6K 7K 78643K 352 0 ifaddr 81 16K 16K 78643K 82 0 counters 56 35K 35K 78643K 56 0 ioctlops 0 0K 2K 78643K 33 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1270 79K 79K 78643K 1283 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 23 85K 125K 78643K 298 0 proc 56 74K 111K 78643K 451 0 subproc 104 6K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 99 6K 6K 78643K 99 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 25 122K 122K 78643K 25 0 exec 0 0K 2K 78643K 613 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 302 81K 91K 78643K 4862 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 11 0K 2K 78643K 27 0 temp 85 4697K 4757K 78643K 4525 0 kqueue 12 18K 20K 78643K 29 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 35 0 32 1 0 1 1 0 8 0 rtentry 112 111 0 1 4 0 4 4 0 8 0 unpcb 136 71 0 56 1 0 1 1 0 8 0 syncache 296 5 0 5 2 1 1 1 0 8 1 tcpqe 32 143 0 143 1 0 1 1 0 8 1 tcpcb 736 11 0 7 1 0 1 1 0 8 0 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 304 62 0 55 1 0 1 1 0 8 0 nd6 48 24 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 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 1648 0 220 90 0 90 90 0 8 0 ffsino 272 1648 0 220 96 0 96 96 0 8 0 nchpl 144 2079 0 420 62 0 62 62 0 8 0 uvmvnodes 80 1761 0 0 36 0 36 36 0 8 0 vnodes 224 1761 0 0 104 0 104 104 0 8 0 namei 1024 6513 0 6513 3 1 2 2 0 8 2 percpumem 16 40 0 0 1 0 1 1 0 8 0 scxspl 216 6512 0 6511 9 1 8 8 0 8 7 plimitpl 152 30 0 8 1 0 1 1 0 8 0 sigapl 424 578 0 530 7 0 7 7 0 8 1 futexpl 64 362 0 360 1 0 1 1 0 8 0 knotepl 120 112 0 0 4 0 4 4 0 8 0 kqueuepl 216 31 0 23 1 0 1 1 0 8 0 pipepl 336 134 0 105 3 0 3 3 0 8 0 fdescpl 496 564 0 530 7 1 6 6 0 8 1 filepl 152 1763 0 1525 10 0 10 10 0 8 0 lockfpl 104 15 0 13 1 0 1 1 0 8 0 lockfspl 48 8 0 6 1 0 1 1 0 8 0 sessionpl 144 23 0 7 1 0 1 1 0 8 0 pgrppl 48 23 0 7 1 0 1 1 0 8 0 ucredpl 96 79 0 61 1 0 1 1 0 8 0 zombiepl 144 530 0 530 1 0 1 1 0 8 1 processpl 1064 578 0 530 5 1 4 4 0 8 0 procpl 672 750 0 689 6 0 6 6 0 8 0 sockpl 480 174 0 149 4 0 4 4 0 8 0 mcl64k 65536 1 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 159 0 0 19 0 19 19 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 307 0 0 19 0 19 19 0 8 0 bufpl 288 3746 0 144 258 0 258 258 0 8 0 anonpl 24 106740 0 94507 89 3 86 87 0 186 6 amapchunkpl 152 10937 0 10196 36 2 34 34 0 158 4 amappl16 200 720 0 420 17 1 16 16 0 8 0 amappl15 192 120 0 114 1 0 1 1 0 8 0 amappl14 184 39 0 36 1 0 1 1 0 8 0 amappl13 176 118 0 114 1 0 1 1 0 8 0 amappl12 168 33 0 30 2 1 1 1 0 8 0 amappl11 160 70 0 57 1 0 1 1 0 8 0 amappl10 152 79 0 69 1 0 1 1 0 8 0 amappl9 144 466 0 463 1 0 1 1 0 8 0 amappl8 136 541 0 499 2 0 2 2 0 8 0 amappl7 128 112 0 102 1 0 1 1 0 8 0 amappl6 120 197 0 178 2 1 1 2 0 8 0 amappl5 112 377 0 351 1 0 1 1 0 8 0 amappl4 104 836 0 808 2 1 1 2 0 8 0 amappl3 96 195 0 181 1 0 1 1 0 8 0 amappl2 88 554 0 511 3 1 2 3 0 8 0 amappl1 80 12806 0 12196 18 4 14 18 0 8 0 amappl 88 4442 0 4201 7 0 7 7 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 564 0 530 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 564 0 530 1 0 1 1 0 8 0 vmmpekpl 168 8490 0 8428 3 0 3 3 0 8 0 vmmpepl 168 53264 0 50854 117 0 117 117 0 357 6 vmsppl 368 563 0 530 4 0 4 4 0 8 0 rwobjpl 56 15056 0 12105 42 0 42 42 0 8 0 pdppl 4096 1135 0 1060 117 36 81 95 0 8 6 pvpl 32 313050 0 295909 261 5 256 259 0 265 112 pmappl 248 563 0 530 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 650 0 39 18 0 18 18 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff829baff0) 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(ffffffff829de780) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829de780) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff80002e377c20,ffff80000004ad00) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge21_untramp() at Xintr_ioapic_edge21_untramp+0x18f end of kernel end trace frame: 0x7f7ffffc9160, count: 9 ddb{0}> trace x86_ipi_db(ffffffff829baff0) 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(ffffffff829de780) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829de780) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff80002e377c20,ffff80000004ad00) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge21_untramp() at Xintr_ioapic_edge21_untramp+0x18f end of kernel end trace frame: 0x7f7ffffc9160, count: -6 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(ffffffff8257690f) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(fffffd8068d70a40,9,0) at witness_checkorder+0x11bd witness_debugger sys/kern/subr_witness.c:2505 [inline] witness_checkorder(fffffd8068d70a40,9,0) at witness_checkorder+0x11bd sys/kern/subr_witness.c:772 rw_enter(fffffd8068d70a30,21) at rw_enter+0xd1 sys/kern/kern_rwlock.c:250 vm_map_lock_ln(fffffd8068d70a28,431,ffff800027ad2000) at vm_map_lock_ln+0xda sys/uvm/uvm_map.c:5466 uvm_map_extract(fffffd8068d70a28,7f7ffffc9000,1000,ffff800026ad1280,0) at uvm_map_extract+0x173 sys/uvm/uvm_map.c:4530 uvm_io(fffffd8068d70a28,ffff800026ad1318,0) at uvm_io+0x127 sys/uvm/uvm_io.c:100 sysctl_proc_args(ffff800026ad1768,2,20000240,ffff800026ad1798,ffff800024687a48) at sysctl_proc_args+0x24b sys/kern/kern_sysctl.c:1790 kern_sysctl(ffff800026ad1764,3,20000240,ffff800026ad1798,0,3,5236d3404fe34a5a) at kern_sysctl+0xfd sys/kern/kern_sysctl.c:449 sys_sysctl(ffff800024687a48,ffff800026ad1808,ffff800026ad1860) at sys_sysctl+0x209 sys/kern/kern_sysctl.c:249 syscall(ffff800026ad18d0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800026ad18d0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf3585dac010, count: 3 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8257690f) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(fffffd8068d70a40,9,0) at witness_checkorder+0x11bd witness_debugger sys/kern/subr_witness.c:2505 [inline] witness_checkorder(fffffd8068d70a40,9,0) at witness_checkorder+0x11bd sys/kern/subr_witness.c:772 rw_enter(fffffd8068d70a30,21) at rw_enter+0xd1 sys/kern/kern_rwlock.c:250 vm_map_lock_ln(fffffd8068d70a28,431,ffff800027ad2000) at vm_map_lock_ln+0xda sys/uvm/uvm_map.c:5466 uvm_map_extract(fffffd8068d70a28,7f7ffffc9000,1000,ffff800026ad1280,0) at uvm_map_extract+0x173 sys/uvm/uvm_map.c:4530 uvm_io(fffffd8068d70a28,ffff800026ad1318,0) at uvm_io+0x127 sys/uvm/uvm_io.c:100 sysctl_proc_args(ffff800026ad1768,2,20000240,ffff800026ad1798,ffff800024687a48) at sysctl_proc_args+0x24b sys/kern/kern_sysctl.c:1790 kern_sysctl(ffff800026ad1764,3,20000240,ffff800026ad1798,0,3,5236d3404fe34a5a) at kern_sysctl+0xfd sys/kern/kern_sysctl.c:449 sys_sysctl(ffff800024687a48,ffff800026ad1808,ffff800026ad1860) at sys_sysctl+0x209 sys/kern/kern_sysctl.c:249 syscall(ffff800026ad18d0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800026ad18d0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf3585dac010, count: -12