Warning: Permanently added '10.128.0.237' (ED25519) to the list of known hosts. 2022/04/23 02:45:49 parsed 1 programs 2022/04/23 02:45:54 executed programs: 0 witness: lock order reversal: 1st 0xffffffff8294c010 pf_lock (pf_lock) 2nd 0xffffffff82944ee0 netlock (netlock) lock order "netlock"(rwlock) -> "pf_lock"(rwlock) first seen at: #0 rw_enter_write+0x5b #1 pfioctl+0x417c #2 VOP_IOCTL+0x96 #3 vn_ioctl+0xbc #4 sys_ioctl+0x4a2 #5 syscall+0x489 #6 Xsyscall+0x128 lock order "pf_lock"(rwlock) -> "netlock"(rwlock) first seen at: #0 rw_enter_write+0x5b #1 uvn_io+0x418 #2 uvn_get+0x1df #3 uvm_fault_lower+0x36c #4 uvm_fault+0x248 #5 kpageflttrap+0x209 #6 kerntrap+0xef #7 alltraps_kern_meltdown+0x7b #8 copyout+0x53 #9 pfioctl+0x4516 #10 VOP_IOCTL+0x96 #11 vn_ioctl+0xbc #12 sys_ioctl+0x4a2 #13 syscall+0x489 #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 witness_checkorder(ffffffff82944ee0,9,0) at witness_checkorder+0x10b7 rw_enter_write(ffffffff82944ed0) at rw_enter_write+0x5b uvn_io(fffffd806a895068,ffff800021271db8,1,202,0) at uvn_io+0x418 uvn_get(fffffd806a895068,1000,ffff800021271e78,ffff800021271e48,0,2,93e1b0ab03330e12,0) at uvn_get+0x1df uvm_fault_lower(ffff800021271fe0,ffff800021272018,ffff800021271f60,0) at uvm_fault_lower+0x36c uvm_fault(fffffd806aa9b5d0,20001000,0,2) at uvm_fault+0x248 kpageflttrap(ffff800021272170,20001000) at kpageflttrap+0x209 kerntrap(ffff800021272170) at kerntrap+0xef alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 pfioctl(4900,c0284457,ffff8000212725e0,1,ffff800021340d30) at pfioctl+0x4516 VOP_IOCTL(fffffd806f68a9c8,c0284457,ffff8000212725e0,1,fffffd807f7d7720,ffff800021340d30) at VOP_IOCTL+0x96 vn_ioctl(fffffd806af4d5f0,c0284457,ffff8000212725e0,ffff800021340d30) at vn_ioctl+0xbc sys_ioctl(ffff800021340d30,ffff8000212726f8,ffff800021272750) at sys_ioctl+0x4a2 syscall(ffff8000212727c0) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4fc10574500, count: -17 ddb{1}> show registers rdi 0x3 rsi 0xffffffff82962980 __sancov_gen_cov_switch_values.134 rbp 0xffff800021271b80 rbx 0x3 rdx 0x3fd rcx 0 rax 0x1 r8 0xffff800021271af0 r9 0x8080808080808080 r10 0xeb3e757674c7a968 r11 0x9bf4edee491ddd93 r12 0xffffffff82ac8640 w_lodata+0x52cd0 r13 0 r14 0xffffffff82ac3520 w_lodata+0x4dbb0 r15 0xfffffd8002f78840 rip 0xffffffff81978268 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021271b70 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.2) pid=318376 stat=onproc flags process=0 proc=4000000 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800021341510,0xffff8000213417c0 process=0xffff8000ffff29a8 user=0xffff80002126d000, vmspace=0xfffffd806aa9b5d0 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 10541 458262 47991 0 2 0 syz-executor.6 10541 9588 47991 0 2 0x4000000 syz-executor.6 91734 299507 80762 0 2 0 syz-executor.3 91734 159474 80762 0 2 0x4000000 syz-executor.3 80139 383458 90914 0 2 0x2 sh 89201 79956 60277 0 7 0x100002 sh 60168 491716 33934 0 2 0 syz-executor.5 60168 118237 33934 0 3 0x4000080 fsleep syz-executor.5 36682 145432 92882 0 3 0x80 nanoslp syz-executor.0 36682 65759 92882 0 3 0x4000080 fsleep syz-executor.0 36682 20500 92882 0 2 0x4000000 syz-executor.0 43771 174056 15711 0 3 0x80 nanoslp syz-executor.2 43771 21690 15711 0 3 0x4000080 fsleep syz-executor.2 *43771 318376 15711 0 7 0x4000000 syz-executor.2 26269 168698 20432 0 2 0x2 ndp 20432 153689 4043 0 3 0x10008a sigsusp sh 90914 407790 20162 0 3 0x82 wait syz-executor.7 60277 374705 20162 0 3 0x82 wait syz-executor.1 47991 198649 20162 0 3 0x82 nanoslp syz-executor.6 80762 212315 20162 0 3 0x82 nanoslp syz-executor.3 15711 82871 20162 0 3 0x82 nanoslp syz-executor.2 33934 420110 20162 0 3 0x82 nanoslp syz-executor.5 4043 192911 20162 0 3 0x82 wait syz-executor.4 92882 41426 20162 0 3 0x82 nanoslp syz-executor.0 20162 219807 26447 0 3 0x82 thrsleep syz-execprog 20162 511403 26447 0 3 0x4000082 nanoslp syz-execprog 20162 500728 26447 0 2 0x4000002 syz-execprog 20162 362489 26447 0 3 0x4000082 thrsleep syz-execprog 20162 485263 26447 0 3 0x4000082 kqread syz-execprog 20162 201221 26447 0 3 0x4000082 thrsleep syz-execprog 20162 445910 26447 0 3 0x4000082 thrsleep syz-execprog 20162 396237 26447 0 3 0x4000082 thrsleep syz-execprog 20162 296505 26447 0 3 0x4000082 thrsleep syz-execprog 20162 468879 26447 0 3 0x4000082 thrsleep syz-execprog 26447 217884 35654 0 3 0x10008a sigsusp ksh 35654 116947 16848 0 3 0x9a kqread sshd 82160 458460 1 0 3 0x100083 ttyin getty 16848 152425 1 0 3 0x88 kqread sshd 95370 307387 88372 74 3 0x1100092 bpf pflogd 88372 115828 1 0 3 0x80 netio pflogd 26575 461205 82957 73 3 0x1100090 kqread syslogd 82957 100758 1 0 3 0x100082 netio syslogd 17284 178207 1 0 3 0x100080 kqread resolvd 76887 376473 49412 77 3 0x100092 kqread dhcpleased 95826 488052 49412 77 3 0x100092 kqread dhcpleased 49412 25701 1 0 3 0x80 kqread dhcpleased 93654 516017 0 0 3 0x14200 bored smr 54917 101426 0 0 2 0x14200 zerothread 38317 150659 0 0 3 0x14200 aiodoned aiodoned 4772 520623 0 0 3 0x14200 syncer update 35979 404835 0 0 3 0x14200 cleaner cleaner 21668 338703 0 0 3 0x14200 reaper reaper 24159 291558 0 0 3 0x14200 pgdaemon pagedaemon 12278 24096 0 0 3 0x14200 bored viomb 69879 38197 0 0 3 0x40014200 acpi0 acpi0 20757 231911 0 0 3 0x40014200 idle1 88118 153707 0 0 3 0x14200 bored softnet 11659 330114 0 0 3 0x14200 bored systqmp 2191 508349 0 0 3 0x14200 bored systq 79129 199239 0 0 3 0x40014200 bored softclock 1300 325096 0 0 3 0x40014200 idle0 1 225873 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 43771 (syz-executor.2) thread 0xffff800021340d30 (318376) exclusive rwlock pf_lock r = 0 (0xffffffff8294c010) #0 witness_lock+0x44d #1 pfioctl+0x4504 #2 VOP_IOCTL+0x96 #3 vn_ioctl+0xbc #4 sys_ioctl+0x4a2 #5 syscall+0x489 #6 Xsyscall+0x128 shared rwlock pfioctl_rw r = 0 (0xffffffff8294c070) #0 witness_lock+0x44d #1 pfioctl+0x946 #2 VOP_IOCTL+0x96 #3 vn_ioctl+0xbc #4 sys_ioctl+0x4a2 #5 syscall+0x489 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82a1ad58) #0 witness_lock+0x44d #1 vn_ioctl+0x41 #2 sys_ioctl+0x4a2 #3 syscall+0x489 #4 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10175 6474K 6474K 78643K 11265 0 pcb 13 8K 8K 78643K 13 0 rtable 202 5K 5K 78643K 300 0 ifaddr 82 16K 16K 78643K 86 0 counters 56 35K 35K 78643K 56 0 ioctlops 0 0K 4K 78643K 1485 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1169 73K 73K 78643K 1182 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 19 69K 93K 78643K 129 0 proc 67 91K 115K 78643K 492 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 79 5K 5K 78643K 79 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 25 122K 122K 78643K 25 0 exec 0 0K 3K 78643K 636 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 171 72K 72K 78643K 2227 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 24 1K 1K 78643K 24 0 temp 56 4714K 4777K 78643K 3569 0 kqueue 12 18K 18K 78643K 25 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 29 0 26 1 0 1 1 0 8 0 rtentry 112 95 0 1 3 0 3 3 0 8 0 unpcb 136 35 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 2 1 1 1 0 8 1 tcpqe 32 13 0 13 1 1 0 1 0 8 0 tcpcb 736 8 0 5 1 0 1 1 0 8 0 arp 120 17 0 0 1 0 1 1 0 8 0 inpcb 312 62 0 56 1 0 1 1 0 8 0 nd6 48 17 0 0 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 pfstitem 24 15 0 2 1 0 1 1 0 8 0 pfstkey 112 15 0 2 1 0 1 1 0 8 0 pfstate 336 15 0 2 2 0 2 2 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 rttmrq 48 4 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 370 0 0 24 0 24 24 0 8 0 art_table 32 371 0 0 3 0 3 3 0 8 0 art_node 16 94 0 8 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1486 0 49 90 0 90 90 0 8 0 ffsino 272 1486 0 49 96 0 96 96 0 8 0 nchpl 144 1751 0 59 63 0 63 63 0 8 0 uvmvnodes 80 1498 0 0 31 0 31 31 0 8 0 vnodes 224 1498 0 0 89 0 89 89 0 8 0 namei 1024 5961 0 5961 3 1 2 2 0 8 2 percpumem 16 40 0 0 1 0 1 1 0 8 0 kstatmem 264 24 0 0 2 0 2 2 0 8 0 scxspl 216 5507 0 5507 10 9 1 8 0 8 1 plimitpl 152 24 0 9 1 0 1 1 0 8 0 sigapl 424 434 0 388 6 0 6 6 0 8 0 futexpl 64 25 0 22 1 0 1 1 0 8 0 knotepl 120 98 0 0 3 0 3 3 0 8 0 kqueuepl 216 21 0 13 1 0 1 1 0 8 0 pipepl 336 134 0 106 4 1 3 3 0 8 0 fdescpl 496 420 0 388 5 0 5 5 0 8 0 filepl 152 1557 0 1415 6 0 6 6 0 8 0 lockfpl 104 8 0 4 1 0 1 1 0 8 0 lockfspl 48 6 0 2 1 0 1 1 0 8 0 sessionpl 144 26 0 9 1 0 1 1 0 8 0 pgrppl 48 26 0 9 1 0 1 1 0 8 0 ucredpl 96 69 0 57 1 0 1 1 0 8 0 zombiepl 144 388 0 388 2 1 1 1 0 8 1 processpl 1064 434 0 388 4 0 4 4 0 8 0 procpl 672 450 0 388 6 0 6 6 0 8 0 sockpl 480 126 0 102 5 1 4 4 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 83 0 0 11 1 10 11 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 278 0 0 16 0 16 16 0 8 0 bufpl 288 3607 0 145 248 0 248 248 0 8 0 anonpl 24 53210 0 48023 45 5 40 41 0 186 8 amapchunkpl 152 4595 0 4211 17 1 16 16 0 158 0 amappl16 200 305 0 210 5 0 5 5 0 8 0 amappl15 192 9 0 6 1 0 1 1 0 8 0 amappl14 184 15 0 11 1 0 1 1 0 8 0 amappl13 176 98 0 90 2 1 1 1 0 8 0 amappl12 168 13 0 10 2 1 1 1 0 8 0 amappl11 160 91 0 70 1 0 1 1 0 8 0 amappl10 152 41 0 36 1 0 1 1 0 8 0 amappl9 144 465 0 461 1 0 1 1 0 8 0 amappl8 136 521 0 492 3 1 2 2 0 8 0 amappl7 128 116 0 105 1 0 1 1 0 8 0 amappl6 120 215 0 198 2 0 2 2 0 8 0 amappl5 112 98 0 82 1 0 1 1 0 8 0 amappl4 104 847 0 817 2 0 2 2 0 8 1 amappl3 96 523 0 471 2 0 2 2 0 8 0 amappl2 88 678 0 613 4 1 3 3 0 8 1 amappl1 80 12007 0 11341 22 2 20 20 0 8 5 amappl 88 1811 0 1692 3 0 3 3 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 420 0 388 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 420 0 388 1 0 1 1 0 8 0 vmmpekpl 168 8549 0 8526 2 0 2 2 0 8 0 vmmpepl 168 39958 0 38044 94 2 92 92 0 357 7 vmsppl 368 419 0 388 4 0 4 4 0 8 0 rwobjpl 56 12711 0 10173 41 0 41 41 0 8 3 pdppl 4096 847 0 776 105 22 83 83 0 8 12 pvpl 32 237086 0 227812 246 5 241 241 0 265 163 pmappl 248 419 0 388 3 0 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 616 0 28 17 0 17 17 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff829a9ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x40 intr_handler(ffff8000212bbe50,ffff800000078500) at intr_handler+0x5e Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x39 softintr_dispatch(0) at softintr_dispatch+0x4e Xsoftclock() at Xsoftclock+0x1f __mp_lock(ffffffff82a1ab50) at __mp_lock+0x122 syscall(ffff8000212bc190) at syscall+0x3ef Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe28c0, count: -12 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp ddb{1}> trace db_enter() at db_enter+0x18 witness_checkorder(ffffffff82944ee0,9,0) at witness_checkorder+0x10b7 rw_enter_write(ffffffff82944ed0) at rw_enter_write+0x5b uvn_io(fffffd806a895068,ffff800021271db8,1,202,0) at uvn_io+0x418 uvn_get(fffffd806a895068,1000,ffff800021271e78,ffff800021271e48,0,2,93e1b0ab03330e12,0) at uvn_get+0x1df uvm_fault_lower(ffff800021271fe0,ffff800021272018,ffff800021271f60,0) at uvm_fault_lower+0x36c uvm_fault(fffffd806aa9b5d0,20001000,0,2) at uvm_fault+0x248 kpageflttrap(ffff800021272170,20001000) at kpageflttrap+0x209 kerntrap(ffff800021272170) at kerntrap+0xef alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 pfioctl(4900,c0284457,ffff8000212725e0,1,ffff800021340d30) at pfioctl+0x4516 VOP_IOCTL(fffffd806f68a9c8,c0284457,ffff8000212725e0,1,fffffd807f7d7720,ffff800021340d30) at VOP_IOCTL+0x96 vn_ioctl(fffffd806af4d5f0,c0284457,ffff8000212725e0,ffff800021340d30) at vn_ioctl+0xbc sys_ioctl(ffff800021340d30,ffff8000212726f8,ffff800021272750) at sys_ioctl+0x4a2 syscall(ffff8000212727c0) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4fc10574500, count: -17 ddb{1}>