witness: lock order reversal: 1st 0xffffffff82968010 pf_lock (pf_lock) 2nd 0xffffffff829323b0 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+0x417c sys/net/pf_ioctl.c:2964 #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:1245 #2 uvn_get+0x1df sys/uvm/uvm_vnode.c:1078 #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 copyout+0x53 #9 pfioctl+0x4516 sys/net/pf_ioctl.c:2932 #10 VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 #11 vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 #12 sys_ioctl+0x4a2 #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 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:437 witness_checkorder(ffffffff829323b0,9,0) at witness_checkorder+0x10b7 witness_debugger sys/kern/subr_witness.c:2502 [inline] witness_checkorder(ffffffff829323b0,9,0) at witness_checkorder+0x10b7 sys/kern/subr_witness.c:1105 rw_enter_write(ffffffff829323a0) at rw_enter_write+0x5b sys/kern/kern_rwlock.c:128 uvn_io(fffffd806369ba20,ffff80002df8f118,1,202,0) at uvn_io+0x418 sys/uvm/uvm_vnode.c:1245 uvn_get(fffffd806369ba20,0,ffff80002df8f1d8,ffff80002df8f1a8,0,0,e28afe2b00d594ed,1) at uvn_get+0x1df sys/uvm/uvm_vnode.c:1078 uvm_fault_lower(ffff80002df8f340,ffff80002df8f378,ffff80002df8f2c0,0) at uvm_fault_lower+0x36c sys/uvm/uvm_fault.c:1275 uvm_fault(fffffd805fc60460,20001000,0,2) at uvm_fault+0x248 kpageflttrap(ffff80002df8f4d0,20001000) at kpageflttrap+0x209 kerntrap(ffff80002df8f4d0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 pfioctl(4900,c0284457,ffff80002df8f940,1,ffff800023472fc8) at pfioctl+0x4516 sys/net/pf_ioctl.c:2932 VOP_IOCTL(fffffd806f67fb88,c0284457,ffff80002df8f940,1,fffffd807f7d7540,ffff800023472fc8) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8063695430,c0284457,ffff80002df8f940,ffff800023472fc8) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff800023472fc8,ffff80002df8fa58,ffff80002df8fab0) at sys_ioctl+0x4a2 syscall(ffff80002df8fb20) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002df8fb20) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc3f43b501b0, count: -17 ddb{0}> show registers rdi 0x3 rsi 0x40000 acpi_pdirpa+0x2be68 rbp 0xffff80002df8eee0 rbx 0x3 rdx 0xffff800000d533c0 rcx 0 rax 0x3ffff acpi_pdirpa+0x2be67 r8 0xffff80002df8ee50 r9 0x8080808080808080 r10 0x1081a5cbfe963de1 r11 0x731eeed569356bd0 r12 0xffffffff82b8dbe0 w_lodata+0x528b0 r13 0 r14 0xffffffff82b7a1b0 w_lodata+0x3ee80 r15 0xfffffd8002f7a840 rip 0xffffffff818222c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002df8eed0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.0) pid=50713 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=84, nice=20 forw=0xffffffffffffffff, list=0xffff8000234727e8,0xffff800023472a98 process=0xffff8000286e1d38 user=0xffff80002df8a000, vmspace=0xfffffd805fc60460 estcpu=34, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 72332 270932 78368 0 3 0x80 nanoslp syz-executor.2 72332 88763 78368 0 3 0x4000080 fsleep syz-executor.2 60917 261502 2504 0 2 0 syz-executor.5 60917 449873 2504 0 3 0x4000080 fsleep syz-executor.5 49191 270991 96010 0 2 0 syz-executor.0 *49191 50713 96010 0 7 0x4000000 syz-executor.0 34759 28564 77406 0 2 0 syz-executor.6 34759 331655 77406 0 3 0x4000080 fsleep syz-executor.6 41410 513525 39254 0 2 0 syz-executor.7 41410 281788 39254 0 3 0x4000080 fsleep syz-executor.7 14010 473450 16364 0 2 0x10 syz-executor.1 14010 132533 16364 0 3 0x4000090 fsleep syz-executor.1 2504 124516 23066 0 3 0x82 nanoslp syz-executor.5 78368 259693 23066 0 3 0x82 nanoslp syz-executor.2 96010 142595 23066 0 3 0x82 nanoslp syz-executor.0 96194 308697 23066 0 3 0x2 biowait syz-executor.4 39254 117931 23066 0 3 0x82 nanoslp syz-executor.7 22229 9216 1 0 3 0x100083 ttyin getty 77406 26418 23066 0 3 0x82 nanoslp syz-executor.6 61400 91739 0 0 3 0x14200 acct acct 54148 101855 23066 0 3 0x82 nanoslp syz-executor.3 16364 380965 23066 0 3 0x82 nanoslp syz-executor.1 87148 36040 0 0 3 0x14200 bored sosplice 23066 112356 23368 0 3 0x82 thrsleep syz-fuzzer 23066 233351 23368 0 3 0x4000082 nanoslp syz-fuzzer 23066 507107 23368 0 3 0x4000082 nanoslp syz-fuzzer 23066 287216 23368 0 3 0x4000082 thrsleep syz-fuzzer 23066 24457 23368 0 3 0x4000082 thrsleep syz-fuzzer 23066 260334 23368 0 3 0x4000082 kqread syz-fuzzer 23066 96346 23368 0 3 0x4000082 thrsleep syz-fuzzer 23066 403953 23368 0 3 0x4000082 thrsleep syz-fuzzer 23066 490383 23368 0 3 0x4000082 thrsleep syz-fuzzer 23368 362206 89698 0 3 0x10008a sigsusp ksh 89698 119793 20836 0 3 0x9a kqread sshd 20836 91044 1 0 3 0x88 kqread sshd 88506 338985 22258 74 3 0x1100092 bpf pflogd 22258 46199 1 0 3 0x80 netio pflogd 32702 405989 94869 73 3 0x1100090 kqread syslogd 94869 101098 1 0 3 0x100082 netio syslogd 12463 221336 1 0 3 0x100080 kqread resolvd 19595 148823 5102 77 3 0x100092 kqread dhcpleased 30831 400865 5102 77 3 0x100092 kqread dhcpleased 5102 408917 1 0 3 0x80 kqread dhcpleased 1397 256536 0 0 3 0x14200 bored smr 79307 283061 0 0 2 0x14200 zerothread 89242 494362 0 0 3 0x14200 aiodoned aiodoned 3136 448389 0 0 3 0x14200 syncer update 14595 475757 0 0 3 0x14200 cleaner cleaner 35965 69728 0 0 3 0x14200 reaper reaper 62476 119974 0 0 3 0x14200 pgdaemon pagedaemon 8425 444144 0 0 3 0x14200 bored viomb 92054 296305 0 0 3 0x40014200 acpi0 acpi0 36042 342268 0 0 7 0x40014200 idle1 91426 303972 0 0 3 0x14200 bored softnet 61158 381816 0 0 3 0x14200 bored systqmp 52559 66057 0 0 3 0x14200 bored systq 36822 485040 0 0 3 0x40014200 bored softclock 99161 132081 0 0 3 0x40014200 idle0 1 448131 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 49191 (syz-executor.0) thread 0xffff800023472fc8 (50713) exclusive rwlock pf_lock r = 0 (0xffffffff82968010) #0 witness_lock+0x44d #1 pfioctl+0x4504 sys/net/pf_ioctl.c:2931 #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 shared rwlock pfioctl_rw r = 0 (0xffffffff82968070) #0 witness_lock+0x44d #1 pfioctl+0x946 sys/net/pf_ioctl.c:1150 #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 (0xffffffff82ae5250) #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 Process 96194 (syz-executor.4) thread 0xffff800021157a40 (308697) exclusive rrwlock inode r = 0 (0xfffffd80651f0d60) #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:678 #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 (0xfffffd806728f928) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10362 6662K 7532K 78643K 88684 0 pcb 13 18K 23K 78643K 2673 0 rtable 243 18K 19K 78643K 3220 0 ifaddr 111 25K 27K 78643K 1871 0 sysctl 2 0K 0K 78643K 6 0 counters 58 35K 36K 78643K 486 0 ioctlops 0 0K 4K 78643K 7680 0 iov 0 0K 32K 78643K 2220 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1600 100K 100K 78643K 20504 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 136 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 4220 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 93K 78643K 17359 0 sigio 0 0K 0K 78643K 161 0 proc 76 103K 128K 78643K 2336 0 subproc 104 6K 6K 78643K 628 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 758 0 in_multi 77 5K 7K 78643K 1318 0 ether_multi 1 0K 0K 78643K 149 0 mrt 2 0K 0K 78643K 106 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 253 1129K 1129K 78643K 253 0 exec 0 0K 2K 78643K 3155 0 pfkey data 0 0K 0K 78643K 3 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 600 1358K 1362K 78643K 97749 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 791 0 NDP 15 0K 2K 78643K 404 0 temp 184 4816K 5072K 78643K 198158 0 kqueue 12 18K 28K 78643K 1099 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 1156 0 1153 18 17 1 3 0 8 0 rtentry 112 1051 0 965 4 0 4 4 0 8 0 unpcb 136 21280 0 21265 164 158 6 10 0 8 5 syncache 296 66 0 66 18 17 1 1 0 8 1 tcpqe 32 91 0 91 7 7 0 1 0 8 0 tcpcb 736 6002 0 5928 206 199 7 23 0 8 0 arp 120 135 0 117 1 0 1 1 0 8 0 inpcb 312 23429 0 23418 233 224 9 20 0 8 8 ip6q 72 5 0 5 2 2 0 1 0 8 0 ip6af 40 270 0 270 2 2 0 1 0 8 0 nd6 48 232 0 214 1 0 1 1 0 8 0 pkpcb 40 147 0 147 11 11 0 1 0 8 0 kcovpl 48 48 0 40 1 0 1 1 0 8 0 ppxss 1248 83 0 83 20 20 0 1 0 8 0 pfstscr 40 544 0 542 7 6 1 1 0 8 0 pffrag 232 117 0 116 13 12 1 1 0 482 0 pffrnode 88 117 0 116 13 12 1 1 0 8 0 pffrent 40 372 0 371 14 13 1 1 0 8 0 pfosfp 40 1438 0 1013 5 0 5 5 0 8 0 pfosfpen 112 1438 0 722 21 0 21 21 0 8 0 pfrke_plain 168 2 0 2 1 1 0 1 0 8 0 pfrktable 1344 106 0 88 5 3 2 2 0 8 0 pftag 88 17 0 5 1 0 1 1 0 8 0 pfqueue 264 4 0 4 1 1 0 1 0 8 0 pfstitem 24 125 0 120 1 0 1 1 0 8 0 pfstkey 112 775 0 770 1 0 1 1 0 8 0 pfstate 336 556 0 552 2 1 1 2 0 8 0 pfrule 1360 868 0 763 14 5 9 9 0 8 0 rttmrq 48 83 0 79 1 0 1 1 0 8 0 rttmr 72 28 0 28 9 9 0 1 0 8 0 art_heap8 4096 3 0 2 3 2 1 3 0 8 0 art_heap4 256 4823 0 4431 46 21 25 29 0 8 0 art_table 32 4826 0 4433 4 0 4 4 0 8 0 art_node 16 1047 0 971 1 0 1 1 0 8 0 sysvmsgpl 40 39 0 5 3 2 1 1 0 8 0 semapl 112 4218 0 4208 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 23911 0 22422 94 0 94 94 0 8 0 ffsino 272 23911 0 22422 100 0 100 100 0 8 0 nchpl 144 46052 0 44408 63 0 63 63 0 8 0 rtmask 32 4 0 4 1 1 0 1 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 177352 0 177352 7 6 1 2 0 8 1 percpumem 16 255 0 214 1 0 1 1 0 8 0 vcpupl 2048 281 0 0 36 0 36 36 0 8 0 vmpool 560 315 0 34 21 0 21 21 0 8 0 pfiaddrpl 120 99 0 37 3 1 2 2 0 8 0 kstatmem 264 458 0 428 4 1 3 3 0 8 0 scsiplug 72 4 0 4 1 1 0 1 0 8 0 scxspl 216 135516 0 135515 23 19 4 8 0 8 3 plimitpl 152 2097 0 2082 1 0 1 1 0 8 0 sigapl 424 17672 0 17626 8 2 6 8 0 8 0 futexpl 64 191009 0 191004 1 0 1 1 0 8 0 knotepl 120 950 0 0 10 0 10 10 0 8 0 kqueuepl 216 3758 0 3749 76 73 3 5 0 8 2 pipepl 336 3361 0 3333 102 99 3 11 0 8 0 fdescpl 496 17570 0 17541 6 2 4 5 0 8 0 filepl 152 141963 0 141715 224 208 16 29 0 8 4 lockfpl 104 5823 0 5821 18 17 1 2 0 8 0 lockfspl 48 1316 0 1314 1 0 1 1 0 8 0 sessionpl 144 66 0 49 1 0 1 1 0 8 0 pgrppl 48 74 0 57 1 0 1 1 0 8 0 ucredpl 96 18975 0 18957 1 0 1 1 0 8 0 zombiepl 144 17627 0 17626 2 1 1 1 0 8 0 processpl 1064 17672 0 17626 5 0 5 5 0 8 0 procpl 672 46128 0 46068 19 12 7 9 0 8 1 srpgc 96 50 0 50 17 17 0 1 0 8 0 sosppl 168 104 0 104 21 20 1 1 0 8 1 sockpl 480 46046 0 46017 954 941 13 38 0 8 9 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 17 0 0 3 1 2 3 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 7 0 0 1 0 1 1 0 8 0 mcl2k 2048 384 0 0 22 2 20 21 0 8 0 mtagpl 96 2227 0 0 41 0 41 41 0 8 0 mbufpl 256 7590 0 0 471 0 471 471 0 8 0 bufpl 288 30702 0 24369 453 0 453 453 0 8 0 anonpl 24 3252155 0 3234683 265 131 134 144 0 186 7 amapchunkpl 152 283182 0 282402 112 79 33 44 0 158 0 amappl16 200 44077 0 43386 155 114 41 50 0 8 3 amappl15 192 3841 0 3839 1 0 1 1 0 8 0 amappl14 184 3401 0 3398 1 0 1 1 0 8 0 amappl13 176 680 0 675 1 0 1 1 0 8 0 amappl12 168 1623 0 1617 2 1 1 1 0 8 0 amappl11 160 1949 0 1929 2 1 1 2 0 8 0 amappl10 152 1516 0 1512 1 0 1 1 0 8 0 amappl9 144 4801 0 4794 1 0 1 1 0 8 0 amappl8 136 4077 0 3942 7 2 5 5 0 8 0 amappl7 128 2737 0 2723 1 0 1 1 0 8 0 amappl6 120 4798 0 4775 2 1 1 2 0 8 0 amappl5 112 13944 0 13927 1 0 1 1 0 8 0 amappl4 104 6715 0 6673 2 0 2 2 0 8 0 amappl3 96 52122 0 52066 2 0 2 2 0 8 0 amappl2 88 20979 0 20908 3 1 2 3 0 8 0 amappl1 80 414025 0 413355 35 20 15 20 0 8 0 amappl 88 96176 0 95883 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 17885 0 17575 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 17885 0 17575 2 0 2 2 0 8 0 vmmpekpl 168 118995 0 118893 5 0 5 5 0 8 0 vmmpepl 168 1704216 0 1700851 424 260 164 176 0 357 9 vmsppl 368 17884 0 17575 31 2 29 29 0 8 0 rwobjpl 56 407155 0 399185 138 23 115 117 0 8 0 pdppl 4096 35777 0 35431 951 601 350 352 0 8 4 pvpl 32 6552594 0 6530827 571 350 221 242 0 265 23 pmappl 248 17884 0 17575 21 1 20 20 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 2789 0 1165 47 0 47 47 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:437 witness_checkorder(ffffffff829323b0,9,0) at witness_checkorder+0x10b7 witness_debugger sys/kern/subr_witness.c:2502 [inline] witness_checkorder(ffffffff829323b0,9,0) at witness_checkorder+0x10b7 sys/kern/subr_witness.c:1105 rw_enter_write(ffffffff829323a0) at rw_enter_write+0x5b sys/kern/kern_rwlock.c:128 uvn_io(fffffd806369ba20,ffff80002df8f118,1,202,0) at uvn_io+0x418 sys/uvm/uvm_vnode.c:1245 uvn_get(fffffd806369ba20,0,ffff80002df8f1d8,ffff80002df8f1a8,0,0,e28afe2b00d594ed,1) at uvn_get+0x1df sys/uvm/uvm_vnode.c:1078 uvm_fault_lower(ffff80002df8f340,ffff80002df8f378,ffff80002df8f2c0,0) at uvm_fault_lower+0x36c sys/uvm/uvm_fault.c:1275 uvm_fault(fffffd805fc60460,20001000,0,2) at uvm_fault+0x248 kpageflttrap(ffff80002df8f4d0,20001000) at kpageflttrap+0x209 kerntrap(ffff80002df8f4d0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 pfioctl(4900,c0284457,ffff80002df8f940,1,ffff800023472fc8) at pfioctl+0x4516 sys/net/pf_ioctl.c:2932 VOP_IOCTL(fffffd806f67fb88,c0284457,ffff80002df8f940,1,fffffd807f7d7540,ffff800023472fc8) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8063695430,c0284457,ffff80002df8f940,ffff800023472fc8) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff800023472fc8,ffff80002df8fa58,ffff80002df8fab0) at sys_ioctl+0x4a2 syscall(ffff80002df8fb20) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002df8fb20) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc3f43b501b0, count: -17 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