panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *335937 86211 32767 0x10 0x4000000 1 syz-executor 411788 14731 32767 0x10 0x4000000 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830753b0) at panic+0x1e5 sys/kern/subr_prf.c:198 witness_checkorder(fffffd806bd2d7d8,1,0) at witness_checkorder+0x1113 sys/kern/subr_witness.c:843 rw_enter(fffffd806bd2d7c8,2) at rw_enter+0x122 uvmfault_lookup(ffff80002a3d9110,0) at uvmfault_lookup+0x122 sys/uvm/uvm_fault.c:1785 uvm_fault_check(ffff80002a3d9110,ffff80002a3d9148,ffff80002a3d9170) at uvm_fault_check+0x47 sys/uvm/uvm_fault.c:672 uvm_fault(fffffd806bd2d6e8,20000000,0,2) at uvm_fault+0x112 sys/uvm/uvm_fault.c:600 kpageflttrap(ffff80002a3d92b0,20000100) at kpageflttrap+0x2d0 sys/arch/amd64/amd64/trap.c:279 kerntrap(ffff80002a3d92b0) at kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x62 kern_sysctl(ffff80002a3d9634,5,20000100,ffff80002a3d9668,0,37,d607ac0bce8c09e6) at kern_sysctl+0x320 sys/kern/kern_sysctl.c:500 sys_sysctl(ffff8000ffff5460,ffff80002a3d97a0,ffff80002a3d96f0) at sys_sysctl+0x422 syscall(ffff80002a3d97a0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a3d97a0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 end trace frame: 0xffff80002a3d9820, count: 0 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: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830753b0) at panic+0x1e5 sys/kern/subr_prf.c:198 witness_checkorder(fffffd806bd2d7d8,1,0) at witness_checkorder+0x1113 sys/kern/subr_witness.c:843 rw_enter(fffffd806bd2d7c8,2) at rw_enter+0x122 uvmfault_lookup(ffff80002a3d9110,0) at uvmfault_lookup+0x122 sys/uvm/uvm_fault.c:1785 uvm_fault_check(ffff80002a3d9110,ffff80002a3d9148,ffff80002a3d9170) at uvm_fault_check+0x47 sys/uvm/uvm_fault.c:672 uvm_fault(fffffd806bd2d6e8,20000000,0,2) at uvm_fault+0x112 sys/uvm/uvm_fault.c:600 kpageflttrap(ffff80002a3d92b0,20000100) at kpageflttrap+0x2d0 sys/arch/amd64/amd64/trap.c:279 kerntrap(ffff80002a3d92b0) at kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x62 kern_sysctl(ffff80002a3d9634,5,20000100,ffff80002a3d9668,0,37,d607ac0bce8c09e6) at kern_sysctl+0x320 sys/kern/kern_sysctl.c:500 sys_sysctl(ffff8000ffff5460,ffff80002a3d97a0,ffff80002a3d96f0) at sys_sysctl+0x422 syscall(ffff80002a3d97a0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a3d97a0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2ba7b622d70, count: -15 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a3d8d10 rbx 0xffff800029b7cdbf rdx 0 rcx 0xffff8000ffff5460 rax 0xffff800029b7bff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x45667d24fa215a67 r11 0xe5d600e5feb55e4f r12 0xffff800029b7cbc0 r13 0 r14 0 r15 0x1 rip 0xffffffff81b77f15 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a3d8d00 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=335937 pid=86211 tcnt=3 stat=onproc flags process=10 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff5bf8,0xffff8000ffff4cd8 process=0xffff800030f76d58 user=0xffff80002a3d4000, vmspace=0xfffffd806bd2d6e8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 15478 379058 20943 32767 3 0x90 nanoslp syz-executor 15478 23371 20943 32767 3 0x4000090 fsleep syz-executor 15478 232740 20943 32767 3 0x4000090 fsleep syz-executor 86211 9342 65076 32767 2 0x10 syz-executor *86211 335937 65076 32767 7 0x4000010 syz-executor 86211 314531 65076 32767 3 0x4000090 fsleep syz-executor 14731 148403 24849 32767 2 0x10 syz-executor 14731 411788 24849 32767 7 0x4000010 syz-executor 68826 350038 79274 32767 2 0x10 syz-executor 68826 155026 79274 32767 3 0x4000090 sbwait syz-executor 68826 104043 79274 32767 3 0x4000090 fsleep syz-executor 48979 9380 63350 32767 3 0x90 nanoslp syz-executor 48979 242455 63350 32767 3 0x4000090 ttyout syz-executor 48979 247099 63350 32767 3 0x4000090 fsleep syz-executor 48979 474906 63350 32767 3 0x4000090 fsleep syz-executor 63350 372585 19050 32767 3 0x90 nanoslp syz-executor 19050 440531 91649 0 3 0x82 wait syz-executor 20943 173042 64509 32767 3 0x90 nanoslp syz-executor 64509 5036 91649 0 3 0x82 wait syz-executor 65250 475792 98816 32767 3 0x90 wait syz-executor 98816 228555 91649 0 3 0x82 wait syz-executor 24849 55113 12753 32767 3 0x90 nanoslp syz-executor 12753 206223 91649 0 3 0x82 wait syz-executor 33161 166208 1 32767 3 0x90 wait syz-executor 16560 272869 90254 32767 3 0x90 nanoslp syz-executor 90254 108167 91649 0 3 0x82 wait syz-executor 17722 149355 53891 32767 3 0x90 nanoslp syz-executor 53891 153838 91649 0 3 0x82 wait syz-executor 79274 55260 42020 32767 3 0x90 nanoslp syz-executor 42020 183097 91649 0 3 0x82 wait syz-executor 65076 367410 40834 32767 3 0x90 nanoslp syz-executor 40834 286267 91649 0 3 0x82 wait syz-executor 3463 18277 50791 0 3 0x100082 sbwait arp 50791 432195 96874 0 3 0x10008a sigsusp sh 96874 377756 1 0 3 0x80 wait syz-executor 66416 220670 85946 0 3 0x100082 sbwait arp 85946 327642 75283 0 3 0x10008a sigsusp sh 75283 62839 1 0 3 0x80 wait syz-executor 28446 40607 57924 0 3 0x100082 sbwait ndp 57924 239008 71049 0 3 0x10008a sigsusp sh 71049 409385 1 0 3 0x80 wait syz-executor 96701 302484 0 0 3 0x14200 bored sosplice 91649 452970 50869 0 3 0x82 kqread syz-executor 50869 62349 89763 0 3 0x10008a sigsusp ksh 89763 47212 63774 0 3 0x98 kqread sshd-session 63774 103842 90964 0 3 0x92 kqread sshd-session 6478 155588 1 0 3 0x100083 ttyin getty 90964 261502 1 0 3 0x88 kqread sshd 52601 60807 86116 73 3 0x1100090 kqread syslogd 86116 489377 1 0 3 0x100082 sbwait syslogd 29928 394616 1 0 3 0x100080 kqread resolvd 99565 389699 24443 77 3 0x100092 kqread dhcpleased 44290 510861 24443 77 3 0x100092 kqread dhcpleased 24443 486996 1 0 3 0x80 kqread dhcpleased 47298 467763 0 0 3 0x14200 bored smr 17786 478955 0 0 2 0x14200 zerothread 92934 283537 0 0 3 0x14200 aiodoned aiodoned 27760 81946 0 0 3 0x14200 syncer update 83096 320747 0 0 3 0x14200 cleaner cleaner 96639 163407 0 0 3 0x14200 reaper reaper 16142 244195 0 0 3 0x14200 pgdaemon pagedaemon 7543 277289 0 0 3 0x14200 bored viomb 61946 111109 0 0 3 0x40014200 acpi0 acpi0 61352 167743 0 0 3 0x40014200 idle1 11882 235956 0 0 3 0x14200 bored softnet3 60701 36901 0 0 3 0x14200 bored softnet2 25935 349299 0 0 3 0x14200 bored softnet1 30480 380404 0 0 3 0x14200 bored softnet0 87593 282102 0 0 3 0x14200 bored systqmp 24570 318213 0 0 3 0x14200 bored systq 81882 85072 0 0 3 0x14200 tmoslp softclockmp 48529 170530 0 0 3 0x40014200 tmoslp softclock 40931 149682 0 0 3 0x40014200 idle0 1 447529 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &table->inpt_mtx r = 0 (0xffffffff83634238) #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 sysctl_file+0xa2d #4 kern_sysctl+0x320 sys/kern/kern_sysctl.c:500 #5 sys_sysctl+0x422 #6 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #6 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 Process 86211 (syz-executor) thread 0xffff8000ffff5460 (335937) exclusive rwlock netlock r = 0 (0xffffffff834cecf0) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 sysctl_file+0xa18 sys/kern/kern_sysctl.c:1675 #2 kern_sysctl+0x320 sys/kern/kern_sysctl.c:500 #3 sys_sysctl+0x422 #4 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #4 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #5 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8351ac70) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 sysctl_vslock+0x80 sys/kern/kern_sysctl.c:181 #2 kern_sysctl+0x1b3 sys/kern/kern_sysctl.c:498 #3 sys_sysctl+0x422 #4 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #4 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #5 Xsyscall+0x128 exclusive rwlock sysctllk r = 0 (0xffffffff834a9250) #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:176 #3 kern_sysctl+0x1b3 sys/kern/kern_sysctl.c:498 #4 sys_sysctl+0x422 #5 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #5 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #6 Xsyscall+0x128 exclusive mutex &table->inpt_mtx r = 0 (0xffffffff83634238) #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 sysctl_file+0xa2d #4 kern_sysctl+0x320 sys/kern/kern_sysctl.c:500 #5 sys_sysctl+0x422 #6 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #6 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 Process 86211 (syz-executor) thread 0xffff80002a3e39b0 (314531) exclusive rwlock vmmaplk r = 0 (0xfffffd806bd2d7d8) #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 vm_map_lock_ln+0x143 sys/uvm/uvm_map.c:5252 #3 uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 #4 sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 #5 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #5 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #6 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10222 11052K 11059K 166960K 13315 0 pcb 17 24K 28K 166960K 27 0 rtable 240 6K 7K 166960K 23942 0 pf 31 16K 16K 166960K 1389 0 ifaddr 42 15K 18K 166960K 2732 0 ifgroup 50 2K 2K 166960K 2750 0 sysctl 4 1K 5K 166960K 33 0 counters 64 36K 36K 166960K 1406 0 ioctlops 0 0K 2K 166960K 1791 0 iov 0 0K 28K 166960K 3209 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1495 94K 94K 166960K 18973 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 17K 166960K 693 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 1451 0 dirhash 24 4K 5K 166960K 1119 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 38 142K 193K 166960K 42219 0 sigio 1 0K 0K 166960K 1371 0 proc 58 79K 176K 166960K 22698 0 subproc 156 9K 14K 166960K 11596 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 9671 0 in_multi 99 7K 8K 166960K 9020 0 ether_multi 1 0K 0K 166960K 256 0 mrt 1 0K 0K 166960K 12 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 301 1341K 1341K 166960K 301 0 exec 0 0K 1K 166960K 16593 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 365 110K 156K 166960K 358044 0 UVM aobj 131 4K 8K 166960K 151 0 pinsyscall 61 122K 160K 166960K 61725 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 2795 0 NDP 13 0K 2K 166960K 2033 0 temp 92 6826K 6953K 166960K 273559 0 kqueue 14 22K 38K 166960K 6558 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> 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 6163 0 6157 37 36 1 4 0 8 0 rtentry 112 7885 0 7772 21 17 4 4 0 8 0 unpcb 144 35630 0 35609 163 162 1 10 0 8 0 syncache 336 903 0 903 39 38 1 1 0 8 1 tcpqe 32 451 0 451 40 39 1 1 0 8 1 tcpcb 808 25953 0 25797 280 261 19 30 0 8 0 arp 120 1385 0 1367 1 0 1 1 0 8 0 ipq 40 177 0 175 11 10 1 1 0 8 0 ipqe 40 3283 0 3281 11 10 1 1 0 8 0 inpcb 336 59894 0 59728 291 272 19 27 0 8 0 ip6q 72 6 0 6 6 6 0 1 0 8 0 ip6af 40 12 0 12 6 6 0 1 0 8 0 nd6 136 2420 0 2393 14 13 1 2 0 8 0 kcovpl 48 892 0 880 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 31826 0 31347 245 215 30 33 0 8 0 art_table 32 31827 0 31347 14 10 4 5 0 8 0 art_node 16 7884 0 7781 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 13 1 0 1 1 0 8 0 semapl 112 1446 0 1436 1 0 1 1 0 8 0 shmpl 112 148 0 20 4 0 4 4 0 8 0 dirhash 1024 770 0 737 23 18 5 5 0 8 0 dino2pl 256 53197 0 49166 254 1 253 253 0 8 0 ffsino 272 53197 0 49166 271 1 270 270 0 8 0 nchpl 144 97411 0 94225 119 0 119 119 0 8 0 uvmvnodes 80 11053 0 0 226 0 226 226 0 8 0 vnodes 216 11053 0 0 615 0 615 615 0 8 0 namei 1024 423218 0 423218 58 57 1 2 0 8 1 percpumem 16 717 0 671 1 0 1 1 0 8 0 kstatmem 264 1364 0 1342 2 0 2 2 0 8 0 scxspl 216 440153 0 440153 113 110 3 8 1 8 3 plimitpl 152 12958 0 12929 2 0 2 2 0 8 0 sigapl 424 40921 0 40853 19 11 8 10 0 8 0 futexpl 64 479645 0 479639 37 36 1 1 0 8 0 knotepl 120 2306 0 0 23 0 23 23 0 8 0 kqueuepl 216 13718 0 13708 123 122 1 8 0 8 0 pipepl 320 8723 0 8684 89 85 4 12 0 8 0 fdescpl 496 40902 0 40853 19 12 7 9 0 8 0 filepl 152 290170 0 289834 170 154 16 23 0 8 0 lockfpl 104 11057 0 11055 6 5 1 2 0 8 0 lockfspl 48 3402 0 3400 1 0 1 1 0 8 0 sessionpl 144 921 0 901 2 0 2 2 0 8 0 pgrppl 48 2682 0 2654 1 0 1 1 0 8 0 ucredpl 104 56628 0 56608 1 0 1 1 0 8 0 zombiepl 144 40857 0 40853 1 0 1 1 0 8 0 processpl 1160 40921 0 40853 9 3 6 6 0 8 0 procpl 648 95224 0 95146 13 5 8 8 0 8 0 srpgc 96 52 0 52 26 25 1 1 0 8 1 sosppl 168 481 0 474 30 29 1 1 0 8 0 sockpl 664 102529 0 102327 341 318 23 36 0 8 0 mcl64k 65536 61 0 0 6 0 6 6 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 20 0 0 3 0 3 3 0 8 0 mcl4k 4096 367 0 0 19 7 12 19 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 666 0 0 16 9 7 12 0 8 0 mtagpl 96 119 0 0 2 0 2 2 0 8 0 mbufpl 256 4336 0 0 225 0 225 225 0 8 0 bufpl 280 73047 0 61994 790 0 790 790 0 8 0 anonpl 24 4691243 0 4680597 528 437 91 120 0 185 1 amapchunkpl 152 1155316 0 1154307 416 373 43 53 0 158 2 amappl16 200 96298 0 96091 557 533 24 36 0 8 8 amappl15 192 20 0 20 10 9 1 1 0 8 1 amappl14 184 1918 0 1905 3 1 2 2 0 8 0 amappl13 176 42 0 41 26 25 1 1 0 8 0 amappl12 168 52617 0 52564 8 5 3 3 0 8 0 amappl11 160 71 0 61 1 0 1 1 0 8 0 amappl10 152 8 0 7 2 1 1 1 0 8 0 amappl9 144 129 0 128 2 1 1 1 0 8 0 amappl8 136 27 0 25 1 0 1 1 0 8 0 amappl7 128 1707 0 1693 1 0 1 1 0 8 0 amappl6 120 6867 0 6862 1 0 1 1 0 8 0 amappl5 112 3035 0 3024 1 0 1 1 0 8 0 amappl4 104 3240 0 3221 1 0 1 1 0 8 0 amappl3 96 239274 0 239088 5 0 5 5 0 8 0 amappl2 88 12771 0 12697 6 2 4 4 0 8 0 amappl1 80 231453 0 230798 47 22 25 31 0 8 0 amappl 88 348778 0 348480 14 7 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 150 0 20 3 0 3 3 0 8 0 uaddrrnd 24 40902 0 40853 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 40902 0 40853 1 0 1 1 0 8 0 vmmpekpl 168 358097 0 358040 7 3 4 5 0 8 0 vmmpepl 168 2534916 0 2532174 455 325 130 183 0 357 2 vmsppl 440 40901 0 40853 16 9 7 8 0 8 0 rwobjpl 56 640031 0 627510 214 34 180 183 0 8 0 pdppl 4096 81811 0 81706 1759 1652 107 135 0 8 2 pvpl 32 49264 0 0 391 0 391 391 0 265 0 pmappl 248 40901 0 40853 9 5 4 4 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 3494 0 2533 28 0 28 28 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff834f1ff0) 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 __mp_lock(ffffffff8351aa68) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8351aa68) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff8351aa68) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8351aa68) at __mp_lock+0x192 sys/kern/kern_lock.c:144 sysctl_vslock(0,0) at sysctl_vslock+0x80 sys/kern/kern_sysctl.c:181 net_sysctl(ffff80002a0f8064,3,0,ffff80002a0f8098,0,0,62fa06f0a1471b6b) at net_sysctl+0x5a1 sys/kern/uipc_domain.c:245 sys_sysctl(ffff8000ffff5bf8,ffff80002a0f81d0,ffff80002a0f8120) at sys_sysctl+0x422 syscall(ffff80002a0f81d0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0f81d0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x829fe5228b0, count: 3 ddb{0}> trace x86_ipi_db(ffffffff834f1ff0) 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 __mp_lock(ffffffff8351aa68) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8351aa68) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff8351aa68) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8351aa68) at __mp_lock+0x192 sys/kern/kern_lock.c:144 sysctl_vslock(0,0) at sysctl_vslock+0x80 sys/kern/kern_sysctl.c:181 net_sysctl(ffff80002a0f8064,3,0,ffff80002a0f8098,0,0,62fa06f0a1471b6b) at net_sysctl+0x5a1 sys/kern/uipc_domain.c:245 sys_sysctl(ffff8000ffff5bf8,ffff80002a0f81d0,ffff80002a0f8120) at sys_sysctl+0x422 syscall(ffff80002a0f81d0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0f81d0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x829fe5228b0, count: -12 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830753b0) at panic+0x1e5 sys/kern/subr_prf.c:198 witness_checkorder(fffffd806bd2d7d8,1,0) at witness_checkorder+0x1113 sys/kern/subr_witness.c:843 rw_enter(fffffd806bd2d7c8,2) at rw_enter+0x122 uvmfault_lookup(ffff80002a3d9110,0) at uvmfault_lookup+0x122 sys/uvm/uvm_fault.c:1785 uvm_fault_check(ffff80002a3d9110,ffff80002a3d9148,ffff80002a3d9170) at uvm_fault_check+0x47 sys/uvm/uvm_fault.c:672 uvm_fault(fffffd806bd2d6e8,20000000,0,2) at uvm_fault+0x112 sys/uvm/uvm_fault.c:600 kpageflttrap(ffff80002a3d92b0,20000100) at kpageflttrap+0x2d0 sys/arch/amd64/amd64/trap.c:279 kerntrap(ffff80002a3d92b0) at kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x62 kern_sysctl(ffff80002a3d9634,5,20000100,ffff80002a3d9668,0,37,d607ac0bce8c09e6) at kern_sysctl+0x320 sys/kern/kern_sysctl.c:500 sys_sysctl(ffff8000ffff5460,ffff80002a3d97a0,ffff80002a3d96f0) at sys_sysctl+0x422 syscall(ffff80002a3d97a0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a3d97a0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 end trace frame: 0xffff80002a3d9820, count: 0 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830753b0) at panic+0x1e5 sys/kern/subr_prf.c:198 witness_checkorder(fffffd806bd2d7d8,1,0) at witness_checkorder+0x1113 sys/kern/subr_witness.c:843 rw_enter(fffffd806bd2d7c8,2) at rw_enter+0x122 uvmfault_lookup(ffff80002a3d9110,0) at uvmfault_lookup+0x122 sys/uvm/uvm_fault.c:1785 uvm_fault_check(ffff80002a3d9110,ffff80002a3d9148,ffff80002a3d9170) at uvm_fault_check+0x47 sys/uvm/uvm_fault.c:672 uvm_fault(fffffd806bd2d6e8,20000000,0,2) at uvm_fault+0x112 sys/uvm/uvm_fault.c:600 kpageflttrap(ffff80002a3d92b0,20000100) at kpageflttrap+0x2d0 sys/arch/amd64/amd64/trap.c:279 kerntrap(ffff80002a3d92b0) at kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x62 kern_sysctl(ffff80002a3d9634,5,20000100,ffff80002a3d9668,0,37,d607ac0bce8c09e6) at kern_sysctl+0x320 sys/kern/kern_sysctl.c:500 sys_sysctl(ffff8000ffff5460,ffff80002a3d97a0,ffff80002a3d96f0) at sys_sysctl+0x422 syscall(ffff80002a3d97a0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a3d97a0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2ba7b622d70, count: -15