Warning: Permanently added '10.128.1.61' (ED25519) to the list of known hosts. 2022/04/28 00:05:46 parsed 1 programs 2022/04/28 00:05:51 executed programs: 0 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 #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(ffffffff829323b0,9,0) at witness_checkorder+0x10b7 rw_enter_write(ffffffff829323a0) at rw_enter_write+0x5b uvn_io(fffffd806c5f14c8,ffff8000212dc4b8,1,202,0) at uvn_io+0x418 uvn_get(fffffd806c5f14c8,0,ffff8000212dc578,ffff8000212dc548,0,0,a4f9bb781b7a74e9,1) at uvn_get+0x1df uvm_fault_lower(ffff8000212dc6e0,ffff8000212dc718,ffff8000212dc660,0) at uvm_fault_lower+0x36c uvm_fault(fffffd806c581018,20001000,0,2) at uvm_fault+0x248 kpageflttrap(ffff8000212dc870,20001000) at kpageflttrap+0x209 kerntrap(ffff8000212dc870) at kerntrap+0xef alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 pfioctl(4900,c0284457,ffff8000212dcce0,1,ffff8000ffff3a48) at pfioctl+0x4516 VOP_IOCTL(fffffd806f689aa8,c0284457,ffff8000212dcce0,1,fffffd807f7d7a20,ffff8000ffff3a48) at VOP_IOCTL+0x96 vn_ioctl(fffffd806a885688,c0284457,ffff8000212dcce0,ffff8000ffff3a48) at vn_ioctl+0xbc sys_ioctl(ffff8000ffff3a48,ffff8000212dcdf8,ffff8000212dce50) at sys_ioctl+0x4a2 syscall(ffff8000212dcec0) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdb770, count: -17 ddb{1}> show registers rdi 0x3 rsi 0xffffffff829b7950 __sancov_gen_cov_switch_values.134 rbp 0xffff8000212dc280 rbx 0x3 rdx 0x3fd rcx 0 rax 0x1 r8 0xffff8000212dc1f0 r9 0x8080808080808080 r10 0xb94cb0b7abaf9001 r11 0x52531b58b462262e r12 0xffffffff82b8dc90 w_lodata+0x52960 r13 0 r14 0xffffffff82b89720 w_lodata+0x4e3f0 r15 0xfffffd8002f7a840 rip 0xffffffff818222c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000212dc270 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.6) pid=379353 stat=onproc flags process=0 proc=0 pri=17, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff4000,0xffff8000ffff3cf8 process=0xffff8000212f50b8 user=0xffff8000212d7000, vmspace=0xfffffd806c581018 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 3012 41625 22525 0 2 0 syz-executor.4 63579 86531 97864 0 2 0x40 syz-executor.1 48479 491876 29602 0 2 0x40 syz-executor.3 *60477 379353 53190 0 7 0 syz-executor.6 47007 498758 18545 0 7 0x2 ndp 61614 273910 63100 0 2 0x2 ifconfig 37278 163601 72774 0 2 0x100000 sh 18545 484312 22314 0 3 0x10008a sigsusp sh 63100 498723 11234 0 3 0x10008a sigsusp sh 72774 506023 66934 0 3 0x10008a sigsusp sh 82118 381763 52611 0 2 0x2 sh 29602 444333 30772 0 3 0x82 ppwait syz-executor.3 66934 380408 30772 0 3 0x82 wait syz-executor.5 11234 199807 30772 0 3 0x82 wait syz-executor.2 22525 25550 30772 0 3 0x82 nanoslp syz-executor.4 22314 289708 30772 0 3 0x82 wait syz-executor.7 97864 237473 30772 0 3 0x82 ppwait syz-executor.1 53190 359804 30772 0 3 0x82 nanoslp syz-executor.6 52611 428196 30772 0 3 0x82 wait syz-executor.0 30772 287229 71356 0 3 0x82 thrsleep syz-execprog 30772 212756 71356 0 3 0x4000082 nanoslp syz-execprog 30772 77400 71356 0 3 0x4000082 thrsleep syz-execprog 30772 419897 71356 0 3 0x4000082 kqread syz-execprog 30772 281300 71356 0 3 0x4000082 thrsleep syz-execprog 30772 420597 71356 0 3 0x4000082 nanoslp syz-execprog 30772 179588 71356 0 3 0x4000082 thrsleep syz-execprog 30772 401908 71356 0 3 0x4000082 thrsleep syz-execprog 71356 275760 83040 0 3 0x10008a sigsusp ksh 83040 106832 15577 0 3 0x9a kqread sshd 26272 433401 1 0 3 0x100083 ttyin getty 15577 283371 1 0 3 0x88 kqread sshd 80826 254886 58604 74 3 0x1100092 bpf pflogd 58604 286400 1 0 3 0x80 netio pflogd 27409 396106 81795 73 3 0x1100090 kqread syslogd 81795 521116 1 0 3 0x100082 netio syslogd 19944 424615 1 0 3 0x100080 kqread resolvd 32103 365182 32002 77 3 0x100092 kqread dhcpleased 59376 367447 32002 77 3 0x100092 kqread dhcpleased 32002 165360 1 0 3 0x80 kqread dhcpleased 94051 457370 0 0 3 0x14200 bored smr 20923 473748 0 0 2 0x14200 zerothread 32265 86246 0 0 3 0x14200 aiodoned aiodoned 67840 251006 0 0 3 0x14200 syncer update 96829 491529 0 0 3 0x14200 cleaner cleaner 12338 344037 0 0 3 0x14200 reaper reaper 99131 69621 0 0 3 0x14200 pgdaemon pagedaemon 34559 506298 0 0 3 0x14200 bored viomb 44219 64837 0 0 3 0x40014200 acpi0 acpi0 78171 327946 0 0 3 0x40014200 idle1 20289 467618 0 0 3 0x14200 bored softnet 94608 380697 0 0 3 0x14200 bored systqmp 38869 348450 0 0 3 0x14200 bored systq 98786 392928 0 0 3 0x40014200 bored softclock 72808 137737 0 0 3 0x40014200 idle0 1 395221 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 60477 (syz-executor.6) thread 0xffff8000ffff3a48 (379353) exclusive rwlock pf_lock r = 0 (0xffffffff82968010) #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 (0xffffffff82968070) #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 (0xffffffff82ae5250) #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 10173 6473K 6473K 78643K 11263 0 pcb 13 8K 8K 78643K 13 0 rtable 194 5K 5K 78643K 284 0 ifaddr 81 16K 16K 78643K 85 0 counters 56 35K 35K 78643K 56 0 ioctlops 0 0K 4K 78643K 1484 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1167 73K 73K 78643K 1180 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 21 77K 93K 78643K 124 0 proc 74 103K 128K 78643K 492 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 75 5K 5K 78643K 75 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 2K 78643K 630 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 157 73K 74K 78643K 2185 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 23 1K 1K 78643K 23 0 temp 56 4714K 4777K 78643K 3423 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 27 0 24 1 0 1 1 0 8 0 rtentry 112 91 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 tcpcb 736 8 0 5 1 0 1 1 0 8 0 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 312 62 0 55 1 0 1 1 0 8 0 nd6 48 13 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 14 0 2 1 0 1 1 0 8 0 pfstkey 112 14 0 2 1 0 1 1 0 8 0 pfstate 336 14 0 2 1 0 1 1 0 8 0 pfrule 1360 21 0 15 2 0 2 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 354 0 0 23 0 23 23 0 8 0 art_table 32 355 0 0 3 0 3 3 0 8 0 art_node 16 90 0 7 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1482 0 49 90 0 90 90 0 8 0 ffsino 272 1482 0 49 96 0 96 96 0 8 0 nchpl 144 1745 0 59 63 0 63 63 0 8 0 uvmvnodes 80 1492 0 0 31 0 31 31 0 8 0 vnodes 224 1492 0 0 88 0 88 88 0 8 0 namei 1024 5925 0 5925 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 5550 0 5550 10 9 1 8 0 8 1 plimitpl 152 24 0 9 1 0 1 1 0 8 0 sigapl 424 430 0 382 6 0 6 6 0 8 0 knotepl 120 106 0 0 4 0 4 4 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 416 0 382 5 0 5 5 0 8 0 filepl 152 1543 0 1406 6 0 6 6 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 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 382 0 382 2 1 1 1 0 8 1 processpl 1064 430 0 382 4 0 4 4 0 8 0 procpl 672 437 0 382 5 0 5 5 0 8 0 sockpl 480 124 0 99 5 1 4 4 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 61 0 0 8 0 8 8 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 308 0 0 19 0 19 19 0 8 0 bufpl 288 3601 0 145 247 0 247 247 0 8 0 anonpl 24 52305 0 47927 44 5 39 39 0 186 9 amapchunkpl 152 4508 0 4207 16 1 15 15 0 158 1 amappl16 200 318 0 235 5 0 5 5 0 8 0 amappl15 192 2 0 0 1 0 1 1 0 8 0 amappl14 184 8 0 6 1 0 1 1 0 8 0 amappl13 176 98 0 92 2 1 1 1 0 8 0 amappl12 168 5 0 4 2 1 1 1 0 8 0 amappl11 160 106 0 85 1 0 1 1 0 8 0 amappl10 152 30 0 26 1 0 1 1 0 8 0 amappl9 144 478 0 473 1 0 1 1 0 8 0 amappl8 136 532 0 503 3 1 2 2 0 8 0 amappl7 128 108 0 97 1 0 1 1 0 8 0 amappl6 120 229 0 209 2 0 2 2 0 8 0 amappl5 112 99 0 86 1 0 1 1 0 8 0 amappl4 104 829 0 799 2 0 2 2 0 8 0 amappl3 96 502 0 463 2 0 2 2 0 8 0 amappl2 88 661 0 602 3 0 3 3 0 8 1 amappl1 80 11891 0 11279 23 4 19 20 0 8 4 amappl 88 1774 0 1672 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 416 0 382 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 416 0 382 1 0 1 1 0 8 0 vmmpekpl 168 8511 0 8490 2 0 2 2 0 8 0 vmmpepl 168 39284 0 37496 94 3 91 91 0 357 8 vmsppl 368 415 0 382 4 0 4 4 0 8 0 rwobjpl 56 12539 0 10056 42 1 41 41 0 8 4 pdppl 4096 839 0 764 111 28 83 83 0 8 8 pvpl 32 234323 0 226081 251 9 242 242 0 265 169 pmappl 248 415 0 382 3 0 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 619 0 32 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(ffffffff82960ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82ae5048) at __mp_lock+0x12e intr_handler(ffff800021336840,ffff800000078500) at intr_handler+0x5e Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x16 __mp_lock(ffffffff82ae5048) at __mp_lock+0x133 softintr_dispatch(0) at softintr_dispatch+0x4e Xsoftclock() at Xsoftclock+0x1f __mp_lock(ffffffff82ae5048) at __mp_lock+0x12e syscall(ffff800021336b80) at syscall+0x3ef Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffced00, count: -13 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp ddb{1}> trace db_enter() at db_enter+0x18 witness_checkorder(ffffffff829323b0,9,0) at witness_checkorder+0x10b7 rw_enter_write(ffffffff829323a0) at rw_enter_write+0x5b uvn_io(fffffd806c5f14c8,ffff8000212dc4b8,1,202,0) at uvn_io+0x418 uvn_get(fffffd806c5f14c8,0,ffff8000212dc578,ffff8000212dc548,0,0,a4f9bb781b7a74e9,1) at uvn_get+0x1df uvm_fault_lower(ffff8000212dc6e0,ffff8000212dc718,ffff8000212dc660,0) at uvm_fault_lower+0x36c uvm_fault(fffffd806c581018,20001000,0,2) at uvm_fault+0x248 kpageflttrap(ffff8000212dc870,20001000) at kpageflttrap+0x209 kerntrap(ffff8000212dc870) at kerntrap+0xef alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 pfioctl(4900,c0284457,ffff8000212dcce0,1,ffff8000ffff3a48) at pfioctl+0x4516 VOP_IOCTL(fffffd806f689aa8,c0284457,ffff8000212dcce0,1,fffffd807f7d7a20,ffff8000ffff3a48) at VOP_IOCTL+0x96 vn_ioctl(fffffd806a885688,c0284457,ffff8000212dcce0,ffff8000ffff3a48) at vn_ioctl+0xbc sys_ioctl(ffff8000ffff3a48,ffff8000212dcdf8,ffff8000212dce50) at sys_ioctl+0x4a2 syscall(ffff8000212dcec0) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdb770, count: -17 ddb{1}>