witness: lock order reversal: 1st 0xffffffff82912410 pf_lock (pf_lock) 2nd 0xffffffff829c3ee0 netlock (netlock) lock order "netlock"(rwlock) -> "pf_lock"(rwlock) first seen at: #0 rw_enter_write+0x5b sys/kern/kern_rwlock.c:128 #1 pfioctl+0x3fbc sys/net/pf_ioctl.c:2976 #2 VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 #3 vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 #4 sys_ioctl+0x4a2 #5 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #6 Xsyscall+0x128 lock order "pf_lock"(rwlock) -> "netlock"(rwlock) first seen at: #0 rw_enter_write+0x5b sys/kern/kern_rwlock.c:128 #1 uvn_io+0x418 sys/uvm/uvm_vnode.c:1243 #2 uvn_get+0x1df sys/uvm/uvm_vnode.c:1076 #3 uvm_fault_lower+0x36c sys/uvm/uvm_fault.c:1275 #4 uvm_fault+0x248 #5 kpageflttrap+0x209 #6 kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 #7 alltraps_kern_meltdown+0x7b #8 copyin+0x53 #9 VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 #10 vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 #11 sys_ioctl+0x4a2 #12 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #12 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #13 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(ffffffff829c3ee0,9,0) at witness_checkorder+0x10b7 witness_debugger sys/kern/subr_witness.c:2502 [inline] witness_checkorder(ffffffff829c3ee0,9,0) at witness_checkorder+0x10b7 sys/kern/subr_witness.c:1105 rw_enter_write(ffffffff829c3ed0) at rw_enter_write+0x5b sys/kern/kern_rwlock.c:128 uvn_io(fffffd806e9e1ad0,ffff80002e39a5b8,1,202,0) at uvn_io+0x418 sys/uvm/uvm_vnode.c:1243 uvn_get(fffffd806e9e1ad0,1000,ffff80002e39a678,ffff80002e39a648,0,1,2be16314478e212b,0) at uvn_get+0x1df sys/uvm/uvm_vnode.c:1076 uvm_fault_lower(ffff80002e39a7e0,ffff80002e39a818,ffff80002e39a760,0) at uvm_fault_lower+0x36c sys/uvm/uvm_fault.c:1275 uvm_fault(fffffd8079741480,20001000,0,1) at uvm_fault+0x248 kpageflttrap(ffff80002e39a970,20001000) at kpageflttrap+0x209 kerntrap(ffff80002e39a970) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 VOP_IOCTL(fffffd806f7ced48,c0104453,ffff80002e39ad60,b,fffffd807f7d87e0,ffff8000294f2fd0) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8069000610,c0104453,ffff80002e39ad60,ffff8000294f2fd0) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000294f2fd0,ffff80002e39ae78,ffff80002e39aed0) at sys_ioctl+0x4a2 syscall(ffff80002e39af40) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e39af40) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdfefc0d2350, count: -16 ddb{0}> show registers rdi 0x3 rsi 0xffffffff829be6b0 __sancov_gen_cov_switch_values.134 rbp 0xffff80002e39a380 rbx 0x3 rdx 0 rcx 0 rax 0xffff8000294f2fd0 r8 0xffff80002e39a2f0 r9 0x8080808080808080 r10 0xd851af514f48bdfb r11 0x4407cd4baa336db6 r12 0xffffffff82b5e520 w_lodata+0x528b0 r13 0 r14 0xffffffff82b4f530 w_lodata+0x438c0 r15 0xfffffd8002f69780 rip 0xffffffff81057df8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e39a370 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.5) pid=112675 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff8000294f2a90,0xffff8000294e82c0 process=0xffff8000ffff2dd8 user=0xffff80002e395000, vmspace=0xfffffd8079741480 estcpu=36, cpticks=6, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 29056 340045 79508 0 2 0 syz-executor.6 29056 288529 79508 0 3 0x4000080 fsleep syz-executor.6 76348 383499 75715 0 2 0 syz-executor.2 76348 18230 75715 0 3 0x4000000 biowait syz-executor.2 39076 42463 94400 0 2 0 syz-executor.7 39076 392554 94400 0 3 0x4000080 fsleep syz-executor.7 84643 178747 79192 0 2 0 syz-executor.5 *84643 112675 79192 0 7 0x4000000 syz-executor.5 94400 228114 7923 0 3 0x82 nanoslp syz-executor.7 22356 176656 7923 0 3 0x82 piperd syz-executor.4 11809 467776 7923 0 3 0x82 nanoslp syz-executor.3 52260 35093 7923 0 3 0x82 piperd syz-executor.1 79192 10482 7923 0 3 0x82 nanoslp syz-executor.5 13356 446645 0 0 3 0x14280 nfsidl nfsio 8445 245358 0 0 3 0x14280 nfsidl nfsio 45413 267930 0 0 3 0x14280 nfsidl nfsio 1389 345562 0 0 3 0x14280 nfsidl nfsio 35215 53878 0 0 3 0x14280 nfsidl nfsio 25384 279350 0 0 3 0x14280 nfsidl nfsio 75033 68188 0 0 3 0x14280 nfsidl nfsio 39124 323472 0 0 3 0x14280 nfsidl nfsio 25038 410326 0 0 3 0x14280 nfsidl nfsio 85030 511340 0 0 3 0x14280 nfsidl nfsio 89282 171784 0 0 3 0x14280 nfsidl nfsio 67607 295663 0 0 3 0x14280 nfsidl nfsio 90444 125874 0 0 3 0x14280 nfsidl nfsio 45801 220507 0 0 3 0x14280 nfsidl nfsio 89285 209690 0 0 3 0x14280 nfsidl nfsio 58747 522849 0 0 3 0x14280 nfsidl nfsio 8001 339094 0 0 3 0x14280 nfsidl nfsio 81257 387328 0 0 3 0x14280 nfsidl nfsio 21446 131353 0 0 3 0x14280 nfsidl nfsio 82652 386323 0 0 3 0x14280 nfsidl nfsio 17089 256169 0 0 3 0x14200 acct acct 33636 68125 0 0 3 0x14200 bored sosplice 79508 349399 7923 0 3 0x82 nanoslp syz-executor.6 75715 224335 7923 0 3 0x82 nanoslp syz-executor.2 26220 266746 7923 0 3 0x82 nanoslp syz-executor.0 7923 456274 7971 0 3 0x82 thrsleep syz-fuzzer 7923 516159 7971 0 3 0x4000082 nanoslp syz-fuzzer 7923 32866 7971 0 3 0x4000082 thrsleep syz-fuzzer 7923 224643 7971 0 3 0x4000082 thrsleep syz-fuzzer 7923 278118 7971 0 3 0x4000082 kqread syz-fuzzer 7923 79858 7971 0 3 0x4000082 thrsleep syz-fuzzer 7923 118711 7971 0 3 0x4000082 nanoslp syz-fuzzer 7923 175533 7971 0 3 0x4000082 thrsleep syz-fuzzer 7923 435539 7971 0 3 0x4000082 thrsleep syz-fuzzer 7971 225292 62024 0 3 0x10008a sigsusp ksh 62024 177359 55825 0 3 0x9a kqread sshd 89303 344049 1 0 3 0x100083 ttyopn getty 55825 55226 1 0 3 0x88 kqread sshd 52999 67607 79435 74 3 0x1100092 bpf pflogd 79435 472687 1 0 3 0x80 netio pflogd 24338 516215 64439 73 3 0x1100090 kqread syslogd 64439 63192 1 0 3 0x100082 netio syslogd 3874 180319 1 0 3 0x100080 kqread resolvd 63219 344464 86921 77 3 0x100092 kqread dhcpleased 1000 465731 86921 77 3 0x100092 kqread dhcpleased 86921 459876 1 0 3 0x80 kqread dhcpleased 7988 328679 0 0 3 0x14200 bored smr 70675 450271 0 0 2 0x14200 zerothread 28207 299836 0 0 3 0x14200 aiodoned aiodoned 99703 150776 0 0 3 0x14200 syncer update 15312 251214 0 0 3 0x14200 cleaner cleaner 52487 280516 0 0 3 0x14200 reaper reaper 60335 41961 0 0 3 0x14200 pgdaemon pagedaemon 36933 398778 0 0 3 0x14200 bored viomb 92654 189161 0 0 3 0x40014200 acpi0 acpi0 66249 415137 0 0 7 0x40014200 idle1 63394 355452 0 0 3 0x14200 bored softnet 16286 210717 0 0 3 0x14200 bored systqmp 42720 128415 0 0 3 0x14200 bored systq 19453 254771 0 0 3 0x40014200 bored softclock 49409 403653 0 0 3 0x40014200 idle0 1 483885 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 76348 (syz-executor.2) thread 0xffff8000294e8d30 (18230) exclusive rrwlock inode r = 0 (0xfffffd80679db1b8) #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 (0xfffffd80675ec810) #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 84643 (syz-executor.5) thread 0xffff8000294f2fd0 (112675) exclusive rwlock pf_lock r = 0 (0xffffffff82912410) #0 witness_lock+0x44d #1 pfioctl+0x455a #2 VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 #3 vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 #4 sys_ioctl+0x4a2 #5 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #6 Xsyscall+0x128 exclusive rwlock pfioctl_rw r = 0 (0xffffffff82912470) #0 witness_lock+0x44d #1 pfioctl+0x15e sys/net/pf_ioctl.c:1147 #2 VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 #3 vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 #4 sys_ioctl+0x4a2 #5 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff829d6548) #0 witness_lock+0x44d #1 vn_ioctl+0x41 sys/kern/vfs_vnops.c:514 #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 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10199 6680K 6873K 78643K 19586 0 pcb 13 14K 19K 78643K 743 0 rtable 177 15K 16K 78643K 1374 0 ifaddr 79 17K 19K 78643K 432 0 sysctl 2 0K 0K 78643K 2 0 counters 54 35K 35K 78643K 142 0 ioctlops 0 0K 4K 78643K 2601 0 iov 0 0K 17K 78643K 456 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1330 83K 84K 78643K 3625 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 31 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 454 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 85K 78643K 4307 0 sigio 0 0K 0K 78643K 23 0 proc 70 87K 124K 78643K 1091 0 subproc 104 6K 6K 78643K 286 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 386 0 in_multi 67 4K 6K 78643K 339 0 ether_multi 1 0K 0K 78643K 22 0 mrt 1 0K 0K 78643K 7 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 2K 78643K 1561 0 pfkey data 0 0K 0K 78643K 71 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 394 351K 356K 78643K 54800 0 UVM aobj 31 4K 4K 78643K 42 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 222 0 NDP 11 0K 2K 78643K 105 0 temp 141 4733K 4799K 78643K 75165 0 kqueue 12 18K 28K 78643K 302 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 850 0 846 12 11 1 3 0 8 0 rtentry 112 334 0 262 4 1 3 4 0 8 0 unpcb 136 5196 0 5180 25 22 3 6 0 8 2 syncache 296 12 0 12 4 4 0 1 0 8 0 tcpqe 32 30 0 30 2 2 0 1 0 8 0 tcpcb 736 858 0 853 30 26 4 8 0 8 3 arp 120 49 0 35 1 0 1 1 0 8 0 inpcb 312 3244 0 3236 43 37 6 11 0 8 5 rttmr 72 3 0 3 1 1 0 1 0 8 0 nd6 48 80 0 64 1 0 1 1 0 8 0 pkpcb 40 10 0 10 2 2 0 1 0 8 0 kcovpl 48 22 0 14 1 0 1 1 0 8 0 ppxss 1248 17 0 17 4 4 0 1 0 8 0 pfstscr 40 8 0 8 1 1 0 1 0 8 0 pffrag 232 12 0 11 1 0 1 1 0 482 0 pffrnode 88 12 0 11 1 0 1 1 0 8 0 pffrent 40 58 0 57 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 62 0 57 4 3 1 1 0 8 0 pftag 88 8 0 8 1 1 0 1 0 8 0 pfqueue 264 4 0 4 1 1 0 1 0 8 0 pfstitem 24 37 0 35 1 0 1 1 0 8 0 pfstkey 112 43 0 41 1 0 1 1 0 8 0 pfstate 320 39 0 37 2 1 1 2 0 8 0 pfrule 1360 294 0 283 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1420 0 1119 38 19 19 30 0 8 0 art_table 32 1421 0 1119 4 0 4 4 0 8 0 art_node 16 333 0 271 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 452 0 442 1 0 1 1 0 8 0 shmpl 112 39 0 11 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6995 0 5536 92 0 92 92 0 8 0 ffsino 272 6995 0 5536 98 0 98 98 0 8 0 nchpl 144 13014 0 11384 63 0 63 63 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 48441 0 48440 9 8 1 2 0 8 0 percpumem 16 83 0 44 1 0 1 1 0 8 0 vcpupl 2048 32 0 0 4 0 4 4 0 8 0 vmpool 560 48 0 16 3 0 3 3 0 8 0 pfiaddrpl 120 25 0 18 3 2 1 1 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 40011 0 40010 15 14 1 8 0 8 0 plimitpl 152 491 0 476 1 0 1 1 0 8 0 sigapl 424 4601 0 4536 9 1 8 8 0 8 0 futexpl 64 42580 0 42578 4 3 1 1 0 8 0 knotepl 120 400 0 0 11 0 11 11 0 8 0 kqueuepl 216 1220 0 1210 31 30 1 5 0 8 0 pipepl 336 905 0 877 22 19 3 8 0 8 0 fdescpl 496 4565 0 4538 5 1 4 5 0 8 0 filepl 152 33589 0 33341 60 46 14 20 0 8 4 lockfpl 104 871 0 869 1 0 1 1 0 8 0 lockfspl 48 344 0 342 1 0 1 1 0 8 0 sessionpl 144 38 0 21 1 0 1 1 0 8 0 pgrppl 48 44 0 27 1 0 1 1 0 8 0 ucredpl 96 3887 0 3874 1 0 1 1 0 8 0 zombiepl 144 4538 0 4536 4 3 1 1 0 8 0 processpl 1064 4601 0 4536 5 0 5 5 0 8 0 procpl 672 11527 0 11450 16 8 8 9 0 8 0 srpgc 96 22 0 22 4 4 0 1 0 8 0 sosppl 168 22 0 22 3 3 0 1 0 8 0 sockpl 480 9307 0 9279 152 139 13 29 0 8 8 mcl64k 65536 14 0 0 2 0 2 2 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 5 0 0 1 0 1 1 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 15 0 0 2 0 2 2 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 173 0 0 19 0 19 19 0 8 0 mtagpl 96 548 0 0 12 0 12 12 0 8 0 mbufpl 256 1075 0 0 58 0 58 58 0 8 0 bufpl 288 10627 0 4291 453 0 453 453 0 8 0 anonpl 24 1244172 0 1220565 205 54 151 152 0 186 0 amapchunkpl 152 133179 0 132293 71 32 39 49 0 158 0 amappl16 200 10718 0 9918 70 25 45 45 0 8 1 amappl15 192 898 0 890 1 0 1 1 0 8 0 amappl14 184 27 0 21 1 0 1 1 0 8 0 amappl13 176 544 0 540 1 0 1 1 0 8 0 amappl12 168 427 0 427 2 2 0 1 0 8 0 amappl11 160 198 0 184 1 0 1 1 0 8 0 amappl10 152 538 0 530 1 0 1 1 0 8 0 amappl9 144 658 0 655 1 0 1 1 0 8 0 amappl8 136 2641 0 2558 3 0 3 3 0 8 0 amappl7 128 1870 0 1852 1 0 1 1 0 8 0 amappl6 120 443 0 418 2 1 1 2 0 8 0 amappl5 112 4487 0 4467 1 0 1 1 0 8 0 amappl4 104 1385 0 1356 2 1 1 2 0 8 0 amappl3 96 852 0 841 1 0 1 1 0 8 0 amappl2 88 1724 0 1673 3 1 2 3 0 8 0 amappl1 80 83236 0 82682 20 6 14 19 0 8 0 amappl 88 53967 0 53695 9 1 8 8 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 41 0 11 1 0 1 1 0 8 0 uaddrrnd 24 4613 0 4554 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4613 0 4554 1 0 1 1 0 8 0 vmmpekpl 168 35226 0 35158 4 0 4 4 0 8 0 vmmpepl 168 415586 0 412901 209 76 133 153 0 357 0 vmsppl 368 4612 0 4554 7 1 6 6 0 8 0 rwobjpl 56 103690 0 95918 113 2 111 111 0 8 0 pdppl 4096 9233 0 9140 280 179 101 101 0 8 8 pvpl 32 2199767 0 2171753 396 154 242 273 0 265 2 pmappl 248 4612 0 4554 5 1 4 4 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1170 0 292 26 0 26 26 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(ffffffff829c3ee0,9,0) at witness_checkorder+0x10b7 witness_debugger sys/kern/subr_witness.c:2502 [inline] witness_checkorder(ffffffff829c3ee0,9,0) at witness_checkorder+0x10b7 sys/kern/subr_witness.c:1105 rw_enter_write(ffffffff829c3ed0) at rw_enter_write+0x5b sys/kern/kern_rwlock.c:128 uvn_io(fffffd806e9e1ad0,ffff80002e39a5b8,1,202,0) at uvn_io+0x418 sys/uvm/uvm_vnode.c:1243 uvn_get(fffffd806e9e1ad0,1000,ffff80002e39a678,ffff80002e39a648,0,1,2be16314478e212b,0) at uvn_get+0x1df sys/uvm/uvm_vnode.c:1076 uvm_fault_lower(ffff80002e39a7e0,ffff80002e39a818,ffff80002e39a760,0) at uvm_fault_lower+0x36c sys/uvm/uvm_fault.c:1275 uvm_fault(fffffd8079741480,20001000,0,1) at uvm_fault+0x248 kpageflttrap(ffff80002e39a970,20001000) at kpageflttrap+0x209 kerntrap(ffff80002e39a970) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 VOP_IOCTL(fffffd806f7ced48,c0104453,ffff80002e39ad60,b,fffffd807f7d87e0,ffff8000294f2fd0) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8069000610,c0104453,ffff80002e39ad60,ffff8000294f2fd0) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000294f2fd0,ffff80002e39ae78,ffff80002e39aed0) at sys_ioctl+0x4a2 syscall(ffff80002e39af40) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e39af40) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdfefc0d2350, count: -16 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 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020ce8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5