witness: lock order reversal: 1st 0xffffffff8290fe50 netlock (netlock) 2nd 0xfffffd806d16a478 vmmaplk (&map->lock) lock order "&map->lock"(rwlock) -> "netlock"(rwlock) first seen at: #0 rw_enter_write+0x5b sys/kern/kern_rwlock.c:128 #1 udp_sysctl+0x8a sys/netinet/udp_usrreq.c:1269 #2 sys_sysctl+0x209 sys/kern/kern_sysctl.c:249 #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 lock order "netlock"(rwlock) -> "&map->lock"(rwlock) first seen at: #0 rw_enter_read+0x66 sys/kern/kern_rwlock.c:112 #1 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1758 #2 uvm_fault_check+0x3a sys/uvm/uvm_fault.c:674 #3 uvm_fault+0x102 sys/uvm/uvm_fault.c:602 #4 kpageflttrap+0x209 #5 kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 #6 alltraps_kern_meltdown+0x7b #7 copyout+0x53 #8 ifioctl_get+0x2dd #9 soo_ioctl+0x26c #10 sys_ioctl+0x4a2 #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 Stopped at db_enter+0x18: addq $0x8,%rsp ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 witness_checkorder(fffffd806d16a478,1,0) at witness_checkorder+0x10b7 witness_debugger sys/kern/subr_witness.c:2502 [inline] witness_checkorder(fffffd806d16a478,1,0) at witness_checkorder+0x10b7 sys/kern/subr_witness.c:1105 rw_enter_read(fffffd806d16a468) at rw_enter_read+0x66 sys/kern/kern_rwlock.c:112 uvmfault_lookup(ffff80002e3d9ad0,0) at uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1758 uvm_fault_check(ffff80002e3d9ad0,ffff80002e3d9b08,ffff80002e3d9b30) at uvm_fault_check+0x3a sys/uvm/uvm_fault.c:674 uvm_fault(fffffd806d16a460,20000000,0,2) at uvm_fault+0x102 sys/uvm/uvm_fault.c:602 kpageflttrap(ffff80002e3d9c60,20000300) at kpageflttrap+0x209 kerntrap(ffff80002e3d9c60) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 ifioctl_get(c0106924,ffff80002e3d9f10) at ifioctl_get+0x2dd soo_ioctl(fffffd807d3bc0a8,c0106924,ffff80002e3d9f10,ffff800026ad4d30) at soo_ioctl+0x26c sys_ioctl(ffff800026ad4d30,ffff80002e3da028,ffff80002e3da080) at sys_ioctl+0x4a2 syscall(ffff80002e3da0f0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e3da0f0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2447a667e80, count: -15 ddb{0}> show registers rdi 0x3 rsi 0xffffffff8294abb0 __sancov_gen_cov_switch_values.134 rbp 0xffff80002e3d97c0 rbx 0x3 rdx 0 rcx 0 rax 0xffff800026ad4d30 r8 0xffff80002e3d9730 r9 0x8080808080808080 r10 0x5addf43e0d50ebf r11 0xaf6c27efe0d1ea81 r12 0xffffffff82ab04e0 w_lodata+0x52b70 r13 0 r14 0xffffffff82aa1a70 w_lodata+0x44100 r15 0xfffffd8002f62d80 rip 0xffffffff8138d658 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e3d97b0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.3) pid=333458 stat=onproc flags process=10 proc=4000000 pri=32, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff800026ad5cf0,0xffff800026ad4fe0 process=0xffff80002812c440 user=0xffff80002e3d5000, vmspace=0xfffffd806d16a460 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 35166 287124 12908 32767 2 0x10 syz-executor.6 83619 205566 55025 32767 2 0x10 syz-executor.3 *83619 333458 55025 32767 7 0x4000010 syz-executor.3 83619 116318 55025 32767 7 0x4000010 syz-executor.3 10066 284698 6555 32767 2 0x10 syz-executor.4 10066 518396 6555 32767 2 0x4000010 syz-executor.4 10066 444153 6555 32767 2 0x4000010 syz-executor.4 412 151277 85140 32767 2 0x10 syz-executor.5 412 118752 85140 32767 3 0x4000090 nanoslp syz-executor.5 34241 497569 24388 32767 2 0x10 syz-executor.0 34241 24993 24388 32767 3 0x4000090 fsleep syz-executor.0 73157 511159 28112 32767 2 0x10 syz-executor.2 73157 199010 28112 32767 3 0x4000090 netio syz-executor.2 85140 72333 62575 32767 3 0x90 nanoslp syz-executor.5 62575 424065 14101 0 3 0x82 wait syz-executor.5 24388 522282 91698 32767 3 0x90 nanoslp syz-executor.0 91698 38986 14101 0 3 0x82 wait syz-executor.0 6555 203674 29638 32767 3 0x90 nanoslp syz-executor.4 29638 202420 14101 0 3 0x82 wait syz-executor.4 83955 505204 0 0 3 0x14200 bored sosplice 12908 50194 75190 32767 3 0x90 nanoslp syz-executor.6 59352 14982 97068 32767 3 0x10 biowait syz-executor.7 28112 126676 35409 32767 3 0x90 nanoslp syz-executor.2 75190 487752 14101 0 3 0x82 wait syz-executor.6 97068 149518 14101 0 3 0x82 wait syz-executor.7 55025 268116 52517 32767 3 0x90 nanoslp syz-executor.3 52517 119302 14101 0 3 0x82 wait syz-executor.3 35409 194546 14101 0 3 0x82 wait syz-executor.2 50289 416541 45351 32767 3 0x10 getblk syz-executor.1 45351 338135 14101 0 3 0x82 wait syz-executor.1 14101 199182 70794 0 3 0x82 thrsleep syz-fuzzer 14101 51483 70794 0 3 0x4000082 nanoslp syz-fuzzer 14101 215651 70794 0 3 0x4000082 thrsleep syz-fuzzer 14101 340710 70794 0 3 0x4000082 thrsleep syz-fuzzer 14101 105183 70794 0 3 0x4000082 thrsleep syz-fuzzer 14101 178887 70794 0 3 0x4000082 kqread syz-fuzzer 14101 482710 70794 0 3 0x4000082 thrsleep syz-fuzzer 14101 256824 70794 0 3 0x4000082 thrsleep syz-fuzzer 14101 306995 70794 0 3 0x4000082 thrsleep syz-fuzzer 70794 380736 17801 0 3 0x10008a sigsusp ksh 17801 98068 26339 0 3 0x9a kqread sshd 26163 364073 1 0 3 0x100083 ttyin getty 26339 144319 1 0 3 0x88 kqread sshd 43191 401565 87428 73 3 0x1100090 kqread syslogd 87428 234929 1 0 3 0x100082 netio syslogd 51300 494537 1 0 3 0x100080 kqread resolvd 4380 35648 67184 77 3 0x100092 kqread dhcpleased 19504 233360 67184 77 3 0x100092 kqread dhcpleased 67184 217954 1 0 3 0x80 kqread dhcpleased 15736 72881 0 0 3 0x14200 bored smr 69981 50068 0 0 2 0x14200 zerothread 93676 183125 0 0 3 0x14200 aiodoned aiodoned 3347 91393 0 0 3 0x14200 syncer update 67092 299991 0 0 3 0x14200 cleaner cleaner 61529 167130 0 0 3 0x14200 reaper reaper 64879 516863 0 0 3 0x14200 pgdaemon pagedaemon 42288 135677 0 0 3 0x14200 bored viomb 73450 353259 0 0 3 0x40014200 acpi0 acpi0 88419 424805 0 0 3 0x40014200 idle1 94620 262880 0 0 3 0x14200 bored softnet 92459 118853 0 0 3 0x14200 bored systqmp 29002 109348 0 0 3 0x14200 bored systq 49470 207604 0 0 3 0x40014200 bored softclock 61727 228742 0 0 3 0x40014200 idle0 1 49055 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 83619 (syz-executor.3) thread 0xffff800026ad4d30 (333458) shared rwlock netlock r = 0 (0xffffffff8290fe50) #0 witness_lock+0x44d #1 ifioctl_get+0x2d5 sys/net/if.c:2319 #2 soo_ioctl+0x26c #3 sys_ioctl+0x4a2 #4 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #4 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #5 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff829de988) #0 witness_lock+0x44d #1 soo_ioctl+0x25a sys/kern/sys_socket.c:136 #2 sys_ioctl+0x4a2 #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 Process 83619 (syz-executor.3) thread 0xffff800026ad4fd0 (116318) exclusive rwlock futex r = 0 (0xffffffff8290fd20) #0 witness_lock+0x44d #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 Process 59352 (syz-executor.7) thread 0xffff8000ffff5508 (14982) exclusive rrwlock inode r = 0 (0xfffffd807d0171a8) #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 (0xfffffd806a4105f0) #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 Process 50289 (syz-executor.1) thread 0xffff80002116efc0 (416541) exclusive rrwlock inode r = 0 (0xfffffd807d017c48) #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 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1347 #6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #8 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404 #9 domkdirat+0x121 sys/kern/vfs_syscalls.c:3101 #10 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #10 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8067911d58) #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 domkdirat+0x75 sys/kern/vfs_syscalls.c:3086 #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10192 6410K 6419K 78643K 11307 0 pcb 13 12K 14K 78643K 17 0 rtable 274 8K 8K 78643K 1395 0 ifaddr 81 17K 17K 78643K 139 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 35K 78643K 72 0 ioctlops 0 0K 2K 78643K 48 0 iov 0 0K 18K 78643K 928 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1271 79K 79K 78643K 2591 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 72 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 1923 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 24 89K 125K 78643K 7015 0 sigio 0 0K 0K 78643K 42 0 proc 56 74K 99K 78643K 1045 0 subproc 104 6K 6K 78643K 208 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 636 0 in_multi 99 6K 6K 78643K 265 0 ether_multi 1 0K 0K 78643K 21 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 169 758K 758K 78643K 169 0 exec 0 0K 2K 78643K 1671 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 381 90K 105K 78643K 90691 0 UVM aobj 131 4K 4K 78643K 134 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 164 0 NDP 11 0K 2K 78643K 51 0 temp 125 4707K 4771K 78643K 20183 0 kqueue 12 18K 26K 78643K 522 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> 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 489 0 486 8 6 2 5 0 8 1 rtentry 112 229 0 101 4 0 4 4 0 8 0 unpcb 136 5797 0 5784 51 46 5 9 0 8 4 syncache 296 61 0 61 10 9 1 1 0 8 1 tcpqe 32 19 0 19 7 7 0 1 0 8 0 tcpcb 736 2504 0 2493 71 68 3 14 0 8 1 arp 120 38 0 18 1 0 1 1 0 8 0 ipq 40 10 0 10 1 1 0 1 0 8 0 ipqe 40 200 0 200 1 1 0 1 0 8 0 inpcb 304 5619 0 5601 68 61 7 12 0 8 5 rttmr 72 10 0 7 1 0 1 1 0 8 0 ip6q 72 10 0 9 3 2 1 1 0 8 0 ip6af 40 16 0 15 3 2 1 1 0 8 0 nd6 48 71 0 34 1 0 1 1 0 8 0 kcovpl 48 16 0 8 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1065 0 438 40 0 40 40 0 8 0 art_table 32 1066 0 438 6 0 6 6 0 8 0 art_node 16 228 0 110 1 0 1 1 0 8 0 sysvmsgpl 40 60 0 29 1 0 1 1 0 8 0 semapl 112 1921 0 1911 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 10523 0 9083 91 0 91 91 0 8 0 ffsino 272 10524 0 9083 97 0 97 97 0 8 0 nchpl 144 21978 0 20352 62 0 62 62 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 78931 0 78930 3 2 1 2 0 8 0 percpumem 16 48 0 8 1 0 1 1 0 8 0 scxspl 216 54918 0 54917 26 23 3 8 0 8 2 plimitpl 152 1619 0 1597 5 4 1 2 0 8 0 sigapl 424 7273 0 7223 7 0 7 7 0 8 0 futexpl 64 55937 0 55935 1 0 1 1 0 8 0 knotepl 120 340 0 0 10 1 9 10 0 8 0 kqueuepl 216 2789 0 2780 61 59 2 8 0 8 1 pipepl 336 1789 0 1761 49 41 8 8 0 8 5 fdescpl 496 7258 0 7223 6 0 6 6 0 8 0 filepl 152 55332 0 55059 77 60 17 19 0 8 6 lockfpl 104 950 0 948 2 1 1 2 0 8 0 lockfspl 48 273 0 271 1 0 1 1 0 8 0 sessionpl 144 31 0 15 1 0 1 1 0 8 0 pgrppl 48 76 0 60 1 0 1 1 0 8 0 ucredpl 96 7372 0 7354 1 0 1 1 0 8 0 zombiepl 144 7223 0 7223 1 0 1 1 0 8 1 processpl 1064 7273 0 7223 4 0 4 4 0 8 0 procpl 672 19982 0 19917 19 11 8 8 0 8 2 sosppl 168 122 0 122 6 5 1 1 0 8 1 sockpl 480 12265 0 12236 320 308 12 34 0 8 7 mcl64k 65536 24 0 0 3 0 3 3 0 8 0 mcl16k 16384 25 0 0 4 1 3 3 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 13 0 0 1 0 1 1 0 8 0 mcl8k 8192 18 0 0 3 0 3 3 0 8 0 mcl4k 4096 25 0 0 3 0 3 3 0 8 0 mcl2k2 2112 10 0 0 1 0 1 1 0 8 0 mcl2k 2048 240 0 0 20 1 19 20 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 721 0 0 38 0 38 38 0 8 0 bufpl 288 13439 0 7104 453 0 453 453 0 8 0 anonpl 24 2099152 0 2084728 199 91 108 116 0 186 8 amapchunkpl 152 232667 0 231874 122 87 35 47 0 158 2 amappl16 200 21866 0 21476 103 71 32 33 0 8 8 amappl15 192 956 0 948 1 0 1 1 0 8 0 amappl14 184 484 0 475 1 0 1 1 0 8 0 amappl13 176 153 0 151 1 0 1 1 0 8 0 amappl12 168 1824 0 1815 1 0 1 1 0 8 0 amappl11 160 919 0 907 1 0 1 1 0 8 0 amappl10 152 55 0 52 1 0 1 1 0 8 0 amappl9 144 1321 0 1317 1 0 1 1 0 8 0 amappl8 136 2962 0 2855 4 0 4 4 0 8 0 amappl7 128 2121 0 2106 1 0 1 1 0 8 0 amappl6 120 1072 0 1047 2 1 1 2 0 8 0 amappl5 112 4604 0 4587 1 0 1 1 0 8 0 amappl4 104 2852 0 2817 2 0 2 2 0 8 0 amappl3 96 2373 0 2351 1 0 1 1 0 8 0 amappl2 88 2742 0 2690 3 1 2 3 0 8 0 amappl1 80 131434 0 130797 20 5 15 18 0 8 0 amappl 88 89814 0 89543 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 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 7258 0 7223 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7258 0 7223 1 0 1 1 0 8 0 vmmpekpl 168 58902 0 58839 4 0 4 4 0 8 0 vmmpepl 168 662512 0 659810 207 73 134 145 0 357 8 vmsppl 368 7257 0 7223 4 0 4 4 0 8 0 rwobjpl 56 165892 0 158438 117 8 109 109 0 8 2 pdppl 4096 14523 0 14446 245 164 81 95 0 8 4 pvpl 32 3441612 0 3421912 367 173 194 243 0 265 20 pmappl 248 7257 0 7223 3 0 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1131 0 279 25 0 25 25 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 witness_checkorder(fffffd806d16a478,1,0) at witness_checkorder+0x10b7 witness_debugger sys/kern/subr_witness.c:2502 [inline] witness_checkorder(fffffd806d16a478,1,0) at witness_checkorder+0x10b7 sys/kern/subr_witness.c:1105 rw_enter_read(fffffd806d16a468) at rw_enter_read+0x66 sys/kern/kern_rwlock.c:112 uvmfault_lookup(ffff80002e3d9ad0,0) at uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1758 uvm_fault_check(ffff80002e3d9ad0,ffff80002e3d9b08,ffff80002e3d9b30) at uvm_fault_check+0x3a sys/uvm/uvm_fault.c:674 uvm_fault(fffffd806d16a460,20000000,0,2) at uvm_fault+0x102 sys/uvm/uvm_fault.c:602 kpageflttrap(ffff80002e3d9c60,20000300) at kpageflttrap+0x209 kerntrap(ffff80002e3d9c60) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 ifioctl_get(c0106924,ffff80002e3d9f10) at ifioctl_get+0x2dd soo_ioctl(fffffd807d3bc0a8,c0106924,ffff80002e3d9f10,ffff800026ad4d30) at soo_ioctl+0x26c sys_ioctl(ffff800026ad4d30,ffff80002e3da028,ffff80002e3da080) at sys_ioctl+0x4a2 syscall(ffff80002e3da0f0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e3da0f0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2447a667e80, count: -15 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020ce8ff0) 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 sleep_setup(ffff8000211fcc60,ffff800026ad4fd0,120,ffffffff8257b7b3,0) at sleep_setup+0xd3 sys/kern/kern_synch.c:374 rwsleep(ffff800026ad4fd0,ffffffff8290fd10,120,ffffffff8257b7b3,0) at rwsleep+0xc0 sys/kern/kern_synch.c:315 futex_wait(2454a53e470,4,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff800026ad4fd0,ffff8000211fcdf0,ffff8000211fce50) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff8000211fcec0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211fcec0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x244e8dedb50, count: -10