witness: lock order reversal: 1st 0xffffffff829b0e40 pf_lock (pf_lock) 2nd 0xffffffff82971810 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 copyout+0x53 #9 pfioctl+0x4519 sys/net/pf_ioctl.c:2944 #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{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(ffffffff82971810,9,0) at witness_checkorder+0x10b7 witness_debugger sys/kern/subr_witness.c:2502 [inline] witness_checkorder(ffffffff82971810,9,0) at witness_checkorder+0x10b7 sys/kern/subr_witness.c:1105 rw_enter_write(ffffffff82971800) at rw_enter_write+0x5b sys/kern/kern_rwlock.c:128 uvn_io(fffffd8072afaa90,ffff800027d0b638,1,202,0) at uvn_io+0x418 sys/uvm/uvm_vnode.c:1243 uvn_get(fffffd8072afaa90,1000,ffff800027d0b6f8,ffff800027d0b6c8,0,0,c9215f1e8b718c8e,1) at uvn_get+0x1df sys/uvm/uvm_vnode.c:1076 uvm_fault_lower(ffff800027d0b860,ffff800027d0b898,ffff800027d0b7e0,0) at uvm_fault_lower+0x36c sys/uvm/uvm_fault.c:1275 uvm_fault(fffffd8063a415e8,20001000,0,2) at uvm_fault+0x248 kpageflttrap(ffff800027d0b9f0,20001000) at kpageflttrap+0x209 kerntrap(ffff800027d0b9f0) 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,ffff800027d0be60,1,ffff8000ffff42a0) at pfioctl+0x4519 sys/net/pf_ioctl.c:2944 VOP_IOCTL(fffffd806f7c8808,c0284457,ffff800027d0be60,1,fffffd807f7d8720,ffff8000ffff42a0) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8063d53908,c0284457,ffff800027d0be60,ffff8000ffff42a0) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000ffff42a0,ffff800027d0bf78,ffff800027d0bfd0) at sys_ioctl+0x4a2 syscall(ffff800027d0c040) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027d0c040) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5f72e1ae8a0, count: -17 ddb{1}> show registers rdi 0x3 rsi 0x40000 acpi_pdirpa+0x2be68 rbp 0xffff800027d0b400 rbx 0x3 rdx 0xffff800000c043c0 rcx 0 rax 0x3ffff acpi_pdirpa+0x2be67 r8 0xffff800027d0b370 r9 0x8080808080808080 r10 0x441510013aea660e r11 0x40597ced996b6cc4 r12 0xffffffff82b29980 w_lodata+0x52a10 r13 0 r14 0xffffffff82b19390 w_lodata+0x42420 r15 0xfffffd8002f67780 rip 0xffffffff81e916f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800027d0b3f0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.3) pid=502780 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff800027ab2a80,0xffff8000ffff22b8 process=0xffff8000ffffa148 user=0xffff800027d07000, vmspace=0xfffffd8063a415e8 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 21617 27437 71414 0 2 0 syz-executor.4 21617 213394 71414 0 2 0x4000000 syz-executor.4 21617 503672 71414 0 2 0x4000000 syz-executor.4 86124 221046 29787 0 2 0 syz-executor.1 54683 55598 16003 0 2 0 syz-executor.7 54683 283726 16003 0 3 0x4000080 fifor syz-executor.7 13651 330077 68738 0 2 0 syz-executor.5 13651 401843 68738 0 3 0x4000080 fsleep syz-executor.5 13651 92228 68738 0 3 0x4000080 fsleep syz-executor.5 84530 336208 54806 0 7 0 syz-executor.3 *84530 502780 54806 0 7 0x4000000 syz-executor.3 5201 335935 73293 0 2 0 syz-executor.6 32598 393531 462 0 2 0 syz-executor.2 73293 49698 30873 0 3 0x82 nanoslp syz-executor.6 29602 30886 30873 0 2 0x2 syz-executor.0 462 88203 30873 0 3 0x82 nanoslp syz-executor.2 11663 93850 0 0 3 0x14200 acct acct 68738 449054 30873 0 2 0x2 syz-executor.5 29787 446216 30873 0 2 0x2 syz-executor.1 43887 298420 0 0 3 0x14280 nfsidl nfsio 18617 197743 0 0 3 0x14280 nfsidl nfsio 6938 14060 0 0 3 0x14280 nfsidl nfsio 13418 46824 0 0 3 0x14280 nfsidl nfsio 5031 31837 0 0 3 0x14280 nfsidl nfsio 78066 400170 0 0 3 0x14280 nfsidl nfsio 64535 17582 0 0 3 0x14280 nfsidl nfsio 48073 167235 0 0 3 0x14280 nfsidl nfsio 79110 259416 0 0 3 0x14280 nfsidl nfsio 26005 85993 0 0 3 0x14280 nfsidl nfsio 27573 486366 0 0 3 0x14280 nfsidl nfsio 12454 148695 0 0 3 0x14280 nfsidl nfsio 46619 441409 0 0 3 0x14280 nfsidl nfsio 84390 85989 0 0 3 0x14280 nfsidl nfsio 16003 36201 30873 0 2 0x482 syz-executor.7 71414 249721 30873 0 3 0x82 nanoslp syz-executor.4 54806 311825 30873 0 3 0x82 nanoslp syz-executor.3 79332 84368 1 0 3 0x100083 ttyin getty 92586 323102 0 0 3 0x14200 bored sosplice 73639 174602 0 0 3 0x14280 nfsidl nfsio 71022 131218 0 0 3 0x14280 nfsidl nfsio 62639 143260 0 0 3 0x14280 nfsidl nfsio 12867 302124 0 0 3 0x14280 nfsidl nfsio 25150 164947 0 0 3 0x14280 nfsidl nfsio 26444 492373 0 0 3 0x14280 nfsidl nfsio 30873 80087 34527 0 3 0x82 thrsleep syz-fuzzer 30873 351483 34527 0 3 0x4000082 thrsleep syz-fuzzer 30873 37334 34527 0 3 0x4000082 kqread syz-fuzzer 30873 364980 34527 0 3 0x4000082 thrsleep syz-fuzzer 30873 333695 34527 0 3 0x4000082 thrsleep syz-fuzzer 30873 229979 34527 0 3 0x4000082 thrsleep syz-fuzzer 30873 108462 34527 0 3 0x4000082 thrsleep syz-fuzzer 30873 74144 34527 0 3 0x4000082 thrsleep syz-fuzzer 30873 440011 34527 0 3 0x4000082 thrsleep syz-fuzzer 34527 218383 57171 0 3 0x10008a sigsusp ksh 57171 269232 27467 0 3 0x9a kqread sshd 27467 511630 1 0 3 0x88 kqread sshd 8479 218269 30367 74 3 0x1100092 bpf pflogd 30367 166608 1 0 3 0x80 netio pflogd 72177 218673 92521 73 3 0x1100090 kqread syslogd 92521 419050 1 0 3 0x100082 netio syslogd 24039 289883 1 0 3 0x100080 kqread resolvd 90995 119706 59383 77 3 0x100092 kqread dhcpleased 69911 405976 59383 77 3 0x100092 kqread dhcpleased 59383 408553 1 0 3 0x80 kqread dhcpleased 41089 159664 0 0 3 0x14200 bored smr 38712 12491 0 0 2 0x14200 zerothread 84828 276876 0 0 3 0x14200 aiodoned aiodoned 15258 442213 0 0 3 0x14200 syncer update 74896 28406 0 0 3 0x14200 cleaner cleaner 55877 301097 0 0 3 0x14200 reaper reaper 47946 169291 0 0 3 0x14200 pgdaemon pagedaemon 28463 380103 0 0 3 0x14200 bored viomb 95330 156306 0 0 3 0x40014200 acpi0 acpi0 82480 134031 0 0 3 0x40014200 idle1 83475 25805 0 0 3 0x14200 bored softnet 99095 421020 0 0 3 0x14200 bored systqmp 34355 239661 0 0 3 0x14200 bored systq 18944 335335 0 0 3 0x40014200 bored softclock 54010 203379 0 0 3 0x40014200 idle0 1 519986 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 84530 (syz-executor.3) thread 0xffff8000ffff42a0 (502780) exclusive rwlock pf_lock r = 0 (0xffffffff829b0e40) #0 witness_lock+0x44d #1 pfioctl+0x4507 sys/net/pf_ioctl.c:2943 #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 (0xffffffff829b0ea0) #0 witness_lock+0x44d #1 pfioctl+0x946 sys/net/pf_ioctl.c:1149 #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 (0xffffffff82a34310) #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10211 6630K 10724K 78643K 26702 0 pcb 14 18K 22K 78643K 6236 0 rtable 231 18K 21K 78643K 2884 0 ifaddr 89 22K 26K 78643K 1218 0 sysctl 3 1K 1K 78643K 3 0 counters 52 35K 36K 78643K 318 0 ioctlops 0 0K 8K 78643K 4274 0 iov 0 0K 24K 78643K 711 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1394 87K 87K 78643K 6091 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 96 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 754 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 93K 78643K 7267 0 sigio 0 0K 0K 78643K 19 0 proc 70 87K 124K 78643K 2141 0 subproc 104 6K 6K 78643K 728 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 582 0 in_multi 77 5K 7K 78643K 1152 0 ether_multi 1 0K 0K 78643K 50 0 mrt 1 0K 0K 78643K 50 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 163 731K 731K 78643K 163 0 exec 0 0K 2K 78643K 2540 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 425 338K 342K 78643K 91112 0 UVM aobj 131 9K 9K 78643K 140 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 144 0 NDP 11 0K 2K 78643K 329 0 temp 129 4717K 4845K 78643K 86243 0 kqueue 12 18K 24K 78643K 463 0 SYN cache 2 1K 16K 78643K 4 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 662 0 659 9 8 1 3 0 8 0 rtentry 112 955 0 873 4 0 4 4 0 8 0 unpcb 136 3716 0 3699 43 41 2 9 0 8 1 syncache 296 21 0 21 7 7 0 1 0 8 0 tcpqe 32 5 0 5 2 2 0 1 0 8 0 tcpcb 736 1667 0 1663 67 66 1 20 0 8 0 arp 120 117 0 103 1 0 1 1 0 8 0 inpcb 312 10896 0 10888 110 109 1 12 0 8 0 rttmr 72 10 0 10 4 4 0 1 0 8 0 nd6 48 248 0 229 1 0 1 1 0 8 0 pkpcb 40 7 0 7 2 2 0 1 0 8 0 kcovpl 48 56 0 48 1 0 1 1 0 8 0 ppxss 1248 59 0 59 11 10 1 1 0 8 1 pfstscr 40 7 0 7 3 3 0 1 0 8 0 pffrag 232 14 0 13 3 2 1 1 0 482 0 pffrnode 88 14 0 13 3 2 1 1 0 8 0 pffrent 40 111 0 110 3 2 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 155 0 136 8 6 2 3 0 8 0 pftag 88 8 0 0 1 0 1 1 0 8 0 pfqueue 264 3 0 3 1 1 0 1 0 8 0 pfstitem 24 43 0 41 1 0 1 1 0 8 0 pfstkey 112 64 0 62 1 0 1 1 0 8 0 pfstate 320 54 0 52 3 2 1 3 0 8 0 pfrule 1360 556 0 498 9 4 5 5 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 4405 0 4037 46 19 27 30 0 8 1 art_table 32 4406 0 4037 4 0 4 4 0 8 0 art_node 16 948 0 877 1 0 1 1 0 8 0 sysvmsgpl 40 57 0 17 1 0 1 1 0 8 0 semapl 112 749 0 739 1 0 1 1 0 8 0 shmpl 112 137 0 9 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 10180 0 8727 91 0 91 91 0 8 0 ffsino 272 10180 0 8727 97 0 97 97 0 8 0 nchpl 144 19424 0 17792 63 1 62 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 69850 0 69850 4 3 1 2 0 8 1 percpumem 16 171 0 133 1 0 1 1 0 8 0 vcpupl 2048 82 0 0 11 0 11 11 0 8 0 vmpool 560 102 0 20 6 0 6 6 0 8 0 pfiaddrpl 120 69 0 38 3 2 1 2 0 8 0 scxspl 216 71316 0 71316 17 16 1 8 0 8 1 plimitpl 152 698 0 683 1 0 1 1 0 8 0 sigapl 424 7511 0 7445 8 0 8 8 0 8 0 futexpl 64 57320 0 57318 8 7 1 1 0 8 0 knotepl 120 724 0 0 11 0 11 11 0 8 0 kqueuepl 216 1553 0 1545 31 30 1 5 0 8 0 pipepl 336 1927 0 1898 46 38 8 13 0 8 5 fdescpl 496 7458 0 7428 5 1 4 5 0 8 0 filepl 152 50076 0 49829 133 114 19 23 0 8 8 lockfpl 104 2313 0 2311 5 4 1 2 0 8 0 lockfspl 48 661 0 659 1 0 1 1 0 8 0 sessionpl 144 74 0 57 1 0 1 1 0 8 0 pgrppl 48 124 0 107 1 0 1 1 0 8 0 ucredpl 96 3783 0 3771 1 0 1 1 0 8 0 zombiepl 144 7445 0 7445 1 0 1 1 0 8 1 processpl 1064 7511 0 7445 5 0 5 5 0 8 0 procpl 672 20627 0 20547 19 11 8 9 0 8 0 srpgc 96 78 0 78 12 11 1 1 0 8 1 sosppl 168 21 0 21 5 5 0 1 0 8 0 sockpl 480 15350 0 15322 363 355 8 34 0 8 4 mcl64k 65536 26 0 0 3 0 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 49 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 30 0 0 4 2 2 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 256 0 0 22 2 20 22 0 8 0 mtagpl 96 699 0 0 12 0 12 12 0 8 0 mbufpl 256 3674 0 0 227 0 227 227 0 8 0 bufpl 288 15700 0 9364 453 0 453 453 0 8 0 anonpl 24 2088010 0 2068636 265 128 137 156 0 186 5 amapchunkpl 152 228551 0 227659 110 72 38 51 0 158 1 amappl16 200 18596 0 18004 79 37 42 49 0 8 8 amappl15 192 1805 0 1796 1 0 1 1 0 8 0 amappl14 184 1446 0 1439 1 0 1 1 0 8 0 amappl13 176 1247 0 1245 1 0 1 1 0 8 0 amappl12 168 380 0 374 1 0 1 1 0 8 0 amappl11 160 419 0 403 1 0 1 1 0 8 0 amappl10 152 209 0 204 1 0 1 1 0 8 0 amappl9 144 2070 0 2065 1 0 1 1 0 8 0 amappl8 136 2539 0 2444 4 0 4 4 0 8 0 amappl7 128 1315 0 1301 1 0 1 1 0 8 0 amappl6 120 2027 0 2002 2 1 1 2 0 8 0 amappl5 112 6244 0 6221 1 0 1 1 0 8 0 amappl4 104 3407 0 3375 2 1 1 2 0 8 0 amappl3 96 1231 0 1219 1 0 1 1 0 8 0 amappl2 88 2309 0 2262 3 1 2 3 0 8 0 amappl1 80 138417 0 137834 23 10 13 19 0 8 0 amappl 88 89750 0 89466 8 0 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 139 0 9 3 0 3 3 0 8 0 uaddrrnd 24 7560 0 7448 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7560 0 7448 1 0 1 1 0 8 0 vmmpekpl 168 62199 0 62121 4 0 4 4 0 8 0 vmmpepl 168 702901 0 700127 286 148 138 162 0 357 9 vmsppl 368 7559 0 7448 13 2 11 11 0 8 0 rwobjpl 56 171280 0 163603 118 5 113 113 0 8 2 pdppl 4096 15127 0 14978 608 457 151 153 0 8 2 pvpl 32 3694569 0 3670302 489 267 222 271 0 265 5 pmappl 248 7559 0 7448 9 1 8 8 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1824 0 704 33 0 33 33 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff829b9ff0) 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(ffffffff82a34108) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a34108) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff80002467e790,ffff800000077500) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff82a34108) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a34108) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x1f end of kernel end trace frame: 0x7f7ffffe1a70, count: -9 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(ffffffff82971810,9,0) at witness_checkorder+0x10b7 witness_debugger sys/kern/subr_witness.c:2502 [inline] witness_checkorder(ffffffff82971810,9,0) at witness_checkorder+0x10b7 sys/kern/subr_witness.c:1105 rw_enter_write(ffffffff82971800) at rw_enter_write+0x5b sys/kern/kern_rwlock.c:128 uvn_io(fffffd8072afaa90,ffff800027d0b638,1,202,0) at uvn_io+0x418 sys/uvm/uvm_vnode.c:1243 uvn_get(fffffd8072afaa90,1000,ffff800027d0b6f8,ffff800027d0b6c8,0,0,c9215f1e8b718c8e,1) at uvn_get+0x1df sys/uvm/uvm_vnode.c:1076 uvm_fault_lower(ffff800027d0b860,ffff800027d0b898,ffff800027d0b7e0,0) at uvm_fault_lower+0x36c sys/uvm/uvm_fault.c:1275 uvm_fault(fffffd8063a415e8,20001000,0,2) at uvm_fault+0x248 kpageflttrap(ffff800027d0b9f0,20001000) at kpageflttrap+0x209 kerntrap(ffff800027d0b9f0) 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,ffff800027d0be60,1,ffff8000ffff42a0) at pfioctl+0x4519 sys/net/pf_ioctl.c:2944 VOP_IOCTL(fffffd806f7c8808,c0284457,ffff800027d0be60,1,fffffd807f7d8720,ffff8000ffff42a0) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8063d53908,c0284457,ffff800027d0be60,ffff8000ffff42a0) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000ffff42a0,ffff800027d0bf78,ffff800027d0bfd0) at sys_ioctl+0x4a2 syscall(ffff800027d0c040) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027d0c040) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5f72e1ae8a0, count: -17