Warning: Permanently added '10.128.1.62' (ED25519) to the list of known hosts. 2022/04/28 03:48:30 parsed 1 programs 2022/04/28 03:48:34 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(fffffd80777fe018,ffff8000212263e8,1,202,0) at uvn_io+0x418 uvn_get(fffffd80777fe018,0,ffff8000212264a8,ffff800021226478,0,0,1ece38874397a0b2,1) at uvn_get+0x1df uvm_fault_lower(ffff800021226610,ffff800021226648,ffff800021226590,0) at uvm_fault_lower+0x36c uvm_fault(fffffd806a8f7b98,20001000,0,2) at uvm_fault+0x248 kpageflttrap(ffff8000212267a0,20001000) at kpageflttrap+0x209 kerntrap(ffff8000212267a0) at kerntrap+0xef alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 pfioctl(4900,c0284457,ffff800021226c10,1,ffff800021335cf0) at pfioctl+0x4516 VOP_IOCTL(fffffd806f68b9c8,c0284457,ffff800021226c10,1,fffffd807f7d78a0,ffff800021335cf0) at VOP_IOCTL+0x96 vn_ioctl(fffffd806a3f9558,c0284457,ffff800021226c10,ffff800021335cf0) at vn_ioctl+0xbc sys_ioctl(ffff800021335cf0,ffff800021226d28,ffff800021226d80) at sys_ioctl+0x4a2 syscall(ffff800021226df0) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe3140, count: -17 ddb{1}> show registers rdi 0x3 rsi 0xffffffff829b7950 __sancov_gen_cov_switch_values.134 rbp 0xffff8000212261b0 rbx 0x3 rdx 0x3fd rcx 0 rax 0x1 r8 0xffff800021226120 r9 0x8080808080808080 r10 0x2b5f1932eb638fef r11 0x5f703b4fbcd723b9 r12 0xffffffff82b8dd40 w_lodata+0x52a10 r13 0 r14 0xffffffff82b89040 w_lodata+0x4dd10 r15 0xfffffd8002f7a840 rip 0xffffffff818222c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000212261a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.2) pid=447424 stat=onproc flags process=0 proc=0 pri=17, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800021334fd0,0xffff800021334d40 process=0xffff800021332dd0 user=0xffff800021221000, vmspace=0xfffffd806a8f7b98 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 53748 403334 18041 0 7 0x100000 sh 18041 517039 95745 0 3 0x10008a sigsusp sh *63516 447424 37039 0 7 0 syz-executor.2 55862 470226 53423 0 3 0 biowait syz-executor.5 37956 465708 59415 0 2 0x2 arp 69078 343820 95135 0 2 0x100002 sh 88117 436284 20066 0 2 0x100002 arp 59415 136103 80730 0 3 0x10008a sigsusp sh 20066 41436 58583 0 3 0x10008a sigsusp sh 71151 357110 52176 0 2 0x100002 sh 46814 222289 79274 0 2 0x100002 sh 95135 273947 28359 0 3 0x82 wait syz-executor.4 80730 405181 28359 0 3 0x82 wait syz-executor.1 58583 472098 28359 0 3 0x82 wait syz-executor.6 95745 226310 28359 0 3 0x82 wait syz-executor.3 52176 109863 28359 0 3 0x82 wait syz-executor.7 37039 26069 28359 0 3 0x82 nanoslp syz-executor.2 53423 152720 28359 0 3 0x82 nanoslp syz-executor.5 79274 184466 28359 0 3 0x82 wait syz-executor.0 28359 236400 69442 0 3 0x82 thrsleep syz-execprog 28359 475208 69442 0 3 0x4000082 nanoslp syz-execprog 28359 163471 69442 0 2 0x4000002 syz-execprog 28359 448843 69442 0 3 0x4000082 thrsleep syz-execprog 28359 213776 69442 0 3 0x4000082 kqread syz-execprog 28359 148141 69442 0 3 0x4000082 nanoslp syz-execprog 28359 470492 69442 0 3 0x4000082 thrsleep syz-execprog 28359 449254 69442 0 3 0x4000082 thrsleep syz-execprog 28359 176426 69442 0 3 0x4000082 thrsleep syz-execprog 28359 399634 69442 0 3 0x4000082 thrsleep syz-execprog 69442 500288 98789 0 3 0x10008a sigsusp ksh 98789 392885 96193 0 3 0x9a kqread sshd 9803 17837 1 0 3 0x100083 ttyin getty 96193 315947 1 0 3 0x88 kqread sshd 67987 453163 73771 74 3 0x1100092 bpf pflogd 73771 370501 1 0 3 0x80 netio pflogd 61567 211134 16512 73 3 0x1100090 kqread syslogd 16512 353199 1 0 3 0x100082 netio syslogd 10687 181565 1 0 3 0x100080 kqread resolvd 65320 258305 76266 77 3 0x100092 kqread dhcpleased 97718 339428 76266 77 3 0x100092 kqread dhcpleased 76266 277834 1 0 3 0x80 kqread dhcpleased 5929 1109 0 0 3 0x14200 bored smr 52116 296773 0 0 2 0x14200 zerothread 49821 411511 0 0 3 0x14200 aiodoned aiodoned 77768 220870 0 0 3 0x14200 syncer update 51795 483861 0 0 3 0x14200 cleaner cleaner 44497 435607 0 0 3 0x14200 reaper reaper 81718 522357 0 0 3 0x14200 pgdaemon pagedaemon 66166 509943 0 0 3 0x14200 bored viomb 92033 421114 0 0 3 0x40014200 acpi0 acpi0 82468 347138 0 0 3 0x40014200 idle1 7146 176359 0 0 3 0x14200 bored softnet 59605 58137 0 0 3 0x14200 bored systqmp 42351 229785 0 0 3 0x14200 bored systq 89313 77644 0 0 3 0x40014200 bored softclock 17975 16903 0 0 3 0x40014200 idle0 1 301095 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 53748 (sh) thread 0xffff800021335510 (403334) exclusive rwlock amaplk r = 0 (0xfffffd806a423e50) #0 witness_lock+0x44d #1 uvm_fault_check+0x3ca #2 uvm_fault+0x102 #3 upageflttrap+0x82 #4 usertrap+0x1aa #5 recall_trap+0x8 shared rwlock vmmaplk r = 0 (0xfffffd806a8f7030) #0 witness_lock+0x44d #1 uvmfault_lookup+0xd9 #2 uvm_fault_check+0x3a #3 uvm_fault+0x102 #4 upageflttrap+0x82 #5 usertrap+0x1aa #6 recall_trap+0x8 Process 63516 (syz-executor.2) thread 0xffff800021335cf0 (447424) 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 Process 55862 (syz-executor.5) thread 0xffff800021334fd0 (470226) exclusive rrwlock inode r = 0 (0xfffffd806d5905f8) #0 witness_lock+0x44d #1 rw_enter+0x3e1 #2 rrw_enter+0x8b #3 VOP_LOCK+0x87 #4 ufs_ihashins+0x42 #5 ffs_vget+0x141 #6 ffs_inode_alloc+0x1be #7 ufs_makeinode+0xae #8 ufs_create+0x41 #9 VOP_CREATE+0xbc #10 vn_open+0x28f #11 doopenat+0x26a #12 syscall+0x489 #13 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806d5900a8) #0 witness_lock+0x44d #1 rw_enter+0x3e1 #2 rrw_enter+0x8b #3 VOP_LOCK+0x87 #4 vn_lock+0x84 #5 vfs_lookup+0xd1 #6 namei+0x36a #7 vn_open+0x188 #8 doopenat+0x26a #9 syscall+0x489 #10 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 168 4K 4K 78643K 246 0 ifaddr 78 15K 15K 78643K 82 0 counters 56 35K 35K 78643K 56 0 ioctlops 0 0K 4K 78643K 1483 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 89K 78643K 117 0 proc 67 91K 128K 78643K 478 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 59 3K 3K 78643K 59 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 620 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 168 73K 73K 78643K 2140 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 20 1K 1K 78643K 20 0 temp 56 4714K 4777K 78643K 3377 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 25 0 21 1 0 1 1 0 8 0 rtentry 112 78 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 15 0 0 1 0 1 1 0 8 0 inpcb 312 60 0 54 1 0 1 1 0 8 0 nd6 48 10 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 13 0 2 1 0 1 1 0 8 0 pfstkey 112 13 0 2 1 0 1 1 0 8 0 pfstate 336 13 0 2 1 0 1 1 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 288 0 0 18 0 18 18 0 8 0 art_table 32 289 0 0 3 0 3 3 0 8 0 art_node 16 77 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1483 0 49 90 0 90 90 0 8 0 ffsino 272 1483 0 49 96 0 96 96 0 8 0 nchpl 144 1746 0 59 63 0 63 63 0 8 0 uvmvnodes 80 1493 0 0 31 0 31 31 0 8 0 vnodes 224 1493 0 0 88 0 88 88 0 8 0 namei 1024 5863 0 5862 3 1 2 2 0 8 1 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 5552 0 5551 10 9 1 8 0 8 0 plimitpl 152 24 0 9 1 0 1 1 0 8 0 sigapl 424 422 0 374 6 0 6 6 0 8 0 knotepl 120 114 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 408 0 374 5 0 5 5 0 8 0 filepl 152 1531 0 1393 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 374 0 374 2 1 1 1 0 8 1 processpl 1064 422 0 374 4 0 4 4 0 8 0 procpl 672 431 0 374 6 0 6 6 0 8 0 sockpl 480 120 0 95 5 1 4 4 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 56 0 0 7 0 7 7 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 212 0 0 13 0 13 13 0 8 0 bufpl 288 3604 0 141 248 0 248 248 0 8 0 anonpl 24 50950 0 46317 43 3 40 40 0 186 10 amapchunkpl 152 4427 0 4085 16 1 15 15 0 158 0 amappl16 200 304 0 225 5 0 5 5 0 8 0 amappl15 192 2 0 0 1 0 1 1 0 8 0 amappl14 184 18 0 14 1 0 1 1 0 8 0 amappl13 176 97 0 87 2 1 1 1 0 8 0 amappl12 168 8 0 5 2 1 1 1 0 8 0 amappl11 160 96 0 76 1 0 1 1 0 8 0 amappl10 152 43 0 38 1 0 1 1 0 8 0 amappl9 144 471 0 467 1 0 1 1 0 8 0 amappl8 136 520 0 487 3 1 2 2 0 8 0 amappl7 128 115 0 103 1 0 1 1 0 8 0 amappl6 120 209 0 192 2 0 2 2 0 8 0 amappl5 112 95 0 81 1 0 1 1 0 8 0 amappl4 104 823 0 789 2 0 2 2 0 8 1 amappl3 96 497 0 452 2 0 2 2 0 8 0 amappl2 88 656 0 590 3 0 3 3 0 8 1 amappl1 80 11684 0 11028 22 2 20 20 0 8 6 amappl 88 1739 0 1628 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 408 0 374 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 408 0 374 1 0 1 1 0 8 0 vmmpekpl 168 8469 0 8443 2 0 2 2 0 8 0 vmmpepl 168 38819 0 37014 104 4 100 100 0 357 19 vmsppl 368 407 0 374 4 0 4 4 0 8 0 rwobjpl 56 12354 0 9817 42 1 41 41 0 8 4 pdppl 4096 823 0 748 109 28 81 81 0 8 6 pvpl 32 231393 0 222539 248 6 242 242 0 265 169 pmappl 248 407 0 374 3 0 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 606 0 33 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+0x122 intr_handler(ffff800021315890,ffff800000078500) at intr_handler+0x5e Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff82ae5048) at __mp_lock+0x122 intr_handler(ffff8000213159e0,ffff80000004bd00) at intr_handler+0x5e Xintr_ioapic_edge21_untramp() at Xintr_ioapic_edge21_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x39 mtx_enter(fffffd806a8a7010) at mtx_enter+0x3a pmap_enter(fffffd806a8a7010,7ba5bba9000,75cea000,3,22) at pmap_enter+0x1b8 uvm_fault_upper(ffff800021315e30,ffff800021315e68,ffff800021315d30,0) at uvm_fault_upper+0x2b1 uvm_fault(fffffd806a8f7018,7ba5bba9000,0,2) at uvm_fault+0x164 upageflttrap(ffff800021315fa0,7ba5bba9b80) at upageflttrap+0x82 usertrap(ffff800021315fa0) at usertrap+0x1aa recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffdc6a0, count: -17 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(fffffd80777fe018,ffff8000212263e8,1,202,0) at uvn_io+0x418 uvn_get(fffffd80777fe018,0,ffff8000212264a8,ffff800021226478,0,0,1ece38874397a0b2,1) at uvn_get+0x1df uvm_fault_lower(ffff800021226610,ffff800021226648,ffff800021226590,0) at uvm_fault_lower+0x36c uvm_fault(fffffd806a8f7b98,20001000,0,2) at uvm_fault+0x248 kpageflttrap(ffff8000212267a0,20001000) at kpageflttrap+0x209 kerntrap(ffff8000212267a0) at kerntrap+0xef alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 pfioctl(4900,c0284457,ffff800021226c10,1,ffff800021335cf0) at pfioctl+0x4516 VOP_IOCTL(fffffd806f68b9c8,c0284457,ffff800021226c10,1,fffffd807f7d78a0,ffff800021335cf0) at VOP_IOCTL+0x96 vn_ioctl(fffffd806a3f9558,c0284457,ffff800021226c10,ffff800021335cf0) at vn_ioctl+0xbc sys_ioctl(ffff800021335cf0,ffff800021226d28,ffff800021226d80) at sys_ioctl+0x4a2 syscall(ffff800021226df0) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe3140, count: -17 ddb{1}>