witness: lock order reversal: 1st 0xffffffff8290fe50 netlock (netlock) 2nd 0xfffffd806efb75e0 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 witness_checkorder(fffffd806efb75e0,1,0) at witness_checkorder+0x10b7 witness_debugger sys/kern/subr_witness.c:2502 [inline] witness_checkorder(fffffd806efb75e0,1,0) at witness_checkorder+0x10b7 sys/kern/subr_witness.c:1105 rw_enter_read(fffffd806efb75d0) at rw_enter_read+0x66 sys/kern/kern_rwlock.c:112 uvmfault_lookup(ffff80002e3b4570,0) at uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1758 uvm_fault_check(ffff80002e3b4570,ffff80002e3b45a8,ffff80002e3b45d0) at uvm_fault_check+0x3a sys/uvm/uvm_fault.c:674 uvm_fault(fffffd806efb75c8,20000000,0,2) at uvm_fault+0x102 sys/uvm/uvm_fault.c:602 kpageflttrap(ffff80002e3b4700,20000300) at kpageflttrap+0x209 kerntrap(ffff80002e3b4700) 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,ffff80002e3b49b0) at ifioctl_get+0x2dd soo_ioctl(fffffd80673c8610,c0106924,ffff80002e3b49b0,ffff8000fffec7f0) at soo_ioctl+0x26c sys_ioctl(ffff8000fffec7f0,ffff80002e3b4ac8,ffff80002e3b4b20) at sys_ioctl+0x4a2 syscall(ffff80002e3b4b90) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e3b4b90) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5da8cbec540, count: -15 ddb{1}> show registers rdi 0x3 rsi 0xffffffff8294abb0 __sancov_gen_cov_switch_values.134 rbp 0xffff80002e3b4260 rbx 0x3 rdx 0 rcx 0 rax 0xffff8000fffec7f0 r8 0xffff80002e3b41d0 r9 0x8080808080808080 r10 0xfba60afc2fff5a45 r11 0xf61ac7503b7b121 r12 0xffffffff82ab00c0 w_lodata+0x52750 r13 0 r14 0xffffffff82aa4ca0 w_lodata+0x47330 r15 0xfffffd8002f62d80 rip 0xffffffff8138d658 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e3b4250 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.5) pid=57379 stat=onproc flags process=10 proc=4000000 pri=32, usrpri=77, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffed270,0xffff8000ffff4a90 process=0xffff8000ffff10b8 user=0xffff80002e3af000, vmspace=0xfffffd806efb75c8 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 96507 291748 93317 32767 2 0x10 syz-executor.7 21857 29362 56704 32767 2 0x10 syz-executor.5 *21857 57379 56704 32767 7 0x4000010 syz-executor.5 38477 295669 49300 32767 3 0x90 nanoslp syz-executor.6 49300 264549 18371 0 3 0x82 wait syz-executor.6 56704 491080 60149 32767 3 0x90 nanoslp syz-executor.5 60149 51748 18371 0 3 0x82 wait syz-executor.5 11022 240811 24590 32767 3 0x10 biowait syz-executor.2 24590 382850 18371 0 3 0x82 wait syz-executor.2 56709 277864 0 0 3 0x14200 bored sosplice 93317 459962 2879 32767 3 0x90 nanoslp syz-executor.7 2879 490282 18371 0 3 0x82 wait syz-executor.7 41398 328129 43810 32767 3 0x90 nanoslp syz-executor.4 41386 460482 38140 32767 3 0x90 nanoslp syz-executor.3 43810 519198 18371 0 3 0x82 wait syz-executor.4 38140 94252 18371 0 3 0x82 wait syz-executor.3 48053 478117 44723 32767 3 0x90 nanoslp syz-executor.1 75325 170139 22984 32767 3 0x10 getblk syz-executor.0 44723 64672 18371 0 3 0x82 wait syz-executor.1 22984 267909 18371 0 3 0x82 wait syz-executor.0 18371 425608 61577 0 3 0x82 thrsleep syz-fuzzer 18371 10773 61577 0 3 0x4000082 nanoslp syz-fuzzer 18371 480903 61577 0 3 0x4000082 thrsleep syz-fuzzer 18371 239368 61577 0 3 0x4000082 thrsleep syz-fuzzer 18371 353508 61577 0 3 0x4000082 thrsleep syz-fuzzer 18371 287004 61577 0 3 0x4000082 thrsleep syz-fuzzer 18371 230732 61577 0 3 0x4000082 kqread syz-fuzzer 18371 305415 61577 0 3 0x4000082 nanoslp syz-fuzzer 18371 523192 61577 0 3 0x4000082 thrsleep syz-fuzzer 61577 139114 59455 0 3 0x10008a sigsusp ksh 59455 261480 94409 0 3 0x9a kqread sshd 43181 509 1 0 3 0x100083 ttyin getty 94409 387531 1 0 3 0x88 kqread sshd 44559 440332 71131 73 3 0x1100090 kqread syslogd 71131 473115 1 0 3 0x100082 netio syslogd 80569 70058 1 0 3 0x100080 kqread resolvd 72342 395680 99711 77 3 0x100092 kqread dhcpleased 31605 376704 99711 77 3 0x100092 kqread dhcpleased 99711 25153 1 0 3 0x80 kqread dhcpleased 59505 213840 0 0 3 0x14200 bored smr 31773 340013 0 0 2 0x14200 zerothread 45899 191400 0 0 3 0x14200 aiodoned aiodoned 28752 497342 0 0 3 0x14200 syncer update 48626 362246 0 0 3 0x14200 cleaner cleaner 32598 261273 0 0 7 0x14200 reaper 32339 447292 0 0 3 0x14200 pgdaemon pagedaemon 55229 421049 0 0 3 0x14200 bored viomb 63954 6549 0 0 3 0x40014200 acpi0 acpi0 76003 481904 0 0 3 0x40014200 idle1 61069 332101 0 0 2 0x14200 softnet 3005 32521 0 0 3 0x14200 bored systqmp 79305 487302 0 0 3 0x14200 bored systq 23693 425219 0 0 2 0x40014200 softclock 85482 97477 0 0 3 0x40014200 idle0 1 458357 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 21857 (syz-executor.5) thread 0xffff8000fffec7f0 (57379) 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 11022 (syz-executor.2) thread 0xffff8000ffff5a40 (240811) exclusive rrwlock inode r = 0 (0xfffffd80734be5e8) #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 (0xfffffd80726d3b48) #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 Process 75325 (syz-executor.0) thread 0xffff8000ffff4540 (170139) exclusive rrwlock inode r = 0 (0xfffffd80734be4d8) #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 (0xfffffd806ad44c58) #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 10189 6409K 6419K 78643K 11310 0 pcb 13 12K 14K 78643K 17 0 rtable 252 7K 7K 78643K 811 0 ifaddr 81 17K 17K 78643K 153 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 35K 78643K 76 0 ioctlops 0 0K 2K 78643K 56 0 iov 0 0K 28K 78643K 553 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1270 79K 79K 78643K 1899 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 55 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 783 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 20 73K 129K 78643K 4144 0 sigio 0 0K 0K 78643K 28 0 proc 56 74K 111K 78643K 885 0 subproc 104 6K 6K 78643K 234 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 179 0 in_multi 99 6K 6K 78643K 248 0 ether_multi 1 0K 0K 78643K 13 0 mrt 3 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 151 678K 678K 78643K 151 0 exec 0 0K 2K 78643K 1108 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 323 87K 97K 78643K 53871 0 UVM aobj 131 4K 4K 78643K 135 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 47 0 NDP 13 0K 2K 78643K 57 0 temp 125 4707K 4771K 78643K 14176 0 kqueue 12 18K 26K 78643K 319 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 412 0 409 6 5 1 3 0 8 0 rtentry 112 238 0 121 4 0 4 4 0 8 0 unpcb 136 2727 0 2714 20 19 1 6 0 8 0 syncache 296 65 0 65 9 8 1 1 0 8 1 tcpqe 32 77 0 77 7 6 1 1 0 8 1 tcpcb 736 1860 0 1824 64 60 4 16 0 8 0 arp 120 38 0 20 1 0 1 1 0 8 0 inpcb 304 5777 0 5749 59 54 5 14 0 8 2 ip6q 72 3 0 2 1 0 1 1 0 8 0 ip6af 40 5 0 4 1 0 1 1 0 8 0 nd6 48 71 0 40 1 0 1 1 0 8 0 kcovpl 48 18 0 10 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 998 0 470 35 2 33 34 0 8 0 art_table 32 999 0 470 5 0 5 5 0 8 0 art_node 16 237 0 130 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 781 0 771 1 0 1 1 0 8 0 shmpl 112 132 0 4 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6347 0 4912 91 0 91 91 0 8 0 ffsino 272 6347 0 4912 97 0 97 97 0 8 0 nchpl 144 11637 0 10015 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 37846 0 37845 3 2 1 2 0 8 0 percpumem 16 50 0 10 1 0 1 1 0 8 0 scxspl 216 36130 0 36129 11 10 1 8 0 8 0 plimitpl 152 703 0 681 2 1 1 2 0 8 0 sigapl 424 4407 0 4357 7 1 6 7 0 8 0 futexpl 64 32379 0 32379 1 0 1 1 0 8 1 knotepl 120 352 0 0 10 0 10 10 0 8 0 kqueuepl 216 1495 0 1487 29 28 1 5 0 8 0 pipepl 336 913 0 885 30 27 3 9 0 8 0 fdescpl 496 4392 0 4361 7 2 5 6 0 8 0 filepl 152 26984 0 26748 55 44 11 19 0 8 0 lockfpl 104 243 0 241 1 0 1 1 0 8 0 lockfspl 48 98 0 96 1 0 1 1 0 8 0 sessionpl 144 33 0 17 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 96 3598 0 3580 1 0 1 1 0 8 0 zombiepl 144 4361 0 4357 1 0 1 1 0 8 0 processpl 1064 4407 0 4357 5 1 4 4 0 8 0 procpl 672 11777 0 11714 14 7 7 8 0 8 1 sosppl 168 556 0 556 5 4 1 1 0 8 1 sockpl 480 9157 0 9113 160 150 10 24 0 8 3 mcl64k 65536 25 0 0 3 0 3 3 0 8 0 mcl16k 16384 11 0 0 2 0 2 2 0 8 0 mcl12k 12288 18 0 0 2 0 2 2 0 8 0 mcl9k 9216 10 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 20 0 0 3 0 3 3 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 198 0 0 18 2 16 18 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 470 0 0 24 0 24 24 0 8 0 bufpl 288 8774 0 2439 453 0 453 453 0 8 0 anonpl 24 1174484 0 1162672 178 85 93 133 0 186 0 amapchunkpl 152 134939 0 134246 61 27 34 43 0 158 1 amappl16 200 10110 0 9743 62 42 20 45 0 8 0 amappl15 192 639 0 634 1 0 1 1 0 8 0 amappl14 184 1096 0 1089 1 0 1 1 0 8 0 amappl13 176 496 0 493 1 0 1 1 0 8 0 amappl12 168 30 0 27 1 0 1 1 0 8 0 amappl11 160 414 0 402 1 0 1 1 0 8 0 amappl10 152 213 0 206 1 0 1 1 0 8 0 amappl9 144 891 0 885 1 0 1 1 0 8 0 amappl8 136 2418 0 2334 5 2 3 4 0 8 0 amappl7 128 1893 0 1873 1 0 1 1 0 8 0 amappl6 120 658 0 635 2 1 1 2 0 8 0 amappl5 112 3713 0 3695 1 0 1 1 0 8 0 amappl4 104 1991 0 1966 2 1 1 2 0 8 0 amappl3 96 739 0 727 1 0 1 1 0 8 0 amappl2 88 1215 0 1169 3 1 2 3 0 8 0 amappl1 80 82124 0 81540 18 3 15 18 0 8 0 amappl 88 52965 0 52737 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 134 0 4 3 0 3 3 0 8 0 uaddrrnd 24 4392 0 4361 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4392 0 4361 1 0 1 1 0 8 0 vmmpekpl 168 37575 0 37517 3 0 3 3 0 8 0 vmmpepl 168 403848 0 401471 165 41 124 136 0 357 1 vmsppl 368 4391 0 4360 5 1 4 5 0 8 0 rwobjpl 56 102682 0 95337 108 2 106 106 0 8 0 pdppl 4096 8791 0 8720 227 146 81 97 0 8 10 pvpl 32 2086456 0 2069921 319 151 168 259 0 265 1 pmappl 248 4391 0 4360 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1065 0 242 24 0 24 24 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp 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(ffff8000211358e0,ffff800000077500) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff829de780) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829de780) at __mp_lock+0x129 sys/kern/kern_lock.c:147 intr_handler(ffff800021135a30,ffff80000004ad00) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge21_untramp() at Xintr_ioapic_edge21_untramp+0x18f Xspllower() at Xspllower+0x19 pmap_do_remove(fffffd806c2874d8,456f5a59000,456f5a99000,0) at pmap_do_remove+0x50d sys/arch/amd64/amd64/pmap.c:1770 uvm_unmap_kill_entry_withlock(fffffd80796902f8,fffffd806a609af8,0) at uvm_unmap_kill_entry_withlock+0x1af sys/uvm/uvm_map.c:2139 uvm_map_teardown(fffffd80796902f8) at uvm_map_teardown+0x197 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:177 [inline] uvm_map_teardown(fffffd80796902f8) at uvm_map_teardown+0x197 sys/uvm/uvm_map.c:2771 uvmspace_free(fffffd80796902f8) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3685 reaper(ffff8000210f9a40) at reaper+0x18b sys/kern/kern_exit.c:457 end trace frame: 0x0, count: -15 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 witness_checkorder(fffffd806efb75e0,1,0) at witness_checkorder+0x10b7 witness_debugger sys/kern/subr_witness.c:2502 [inline] witness_checkorder(fffffd806efb75e0,1,0) at witness_checkorder+0x10b7 sys/kern/subr_witness.c:1105 rw_enter_read(fffffd806efb75d0) at rw_enter_read+0x66 sys/kern/kern_rwlock.c:112 uvmfault_lookup(ffff80002e3b4570,0) at uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1758 uvm_fault_check(ffff80002e3b4570,ffff80002e3b45a8,ffff80002e3b45d0) at uvm_fault_check+0x3a sys/uvm/uvm_fault.c:674 uvm_fault(fffffd806efb75c8,20000000,0,2) at uvm_fault+0x102 sys/uvm/uvm_fault.c:602 kpageflttrap(ffff80002e3b4700,20000300) at kpageflttrap+0x209 kerntrap(ffff80002e3b4700) 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,ffff80002e3b49b0) at ifioctl_get+0x2dd soo_ioctl(fffffd80673c8610,c0106924,ffff80002e3b49b0,ffff8000fffec7f0) at soo_ioctl+0x26c sys_ioctl(ffff8000fffec7f0,ffff80002e3b4ac8,ffff80002e3b4b20) at sys_ioctl+0x4a2 syscall(ffff80002e3b4b90) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e3b4b90) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5da8cbec540, count: -15