Warning: Permanently added '10.128.0.215' (ED25519) to the list of known hosts. 2022/02/24 14:27:04 parsed 1 programs 2022/02/24 14:27:08 executed programs: 0 login: witness: lock order reversal: 1st 0xffffffff828f72c0 pf_lock (pf_lock) 2nd 0xffffffff829a29b0 netlock (netlock) lock order "netlock"(rwlock) -> "pf_lock"(rwlock) first seen at: #0 rw_enter_write+0x5b #1 pfioctl+0x3fba #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 copyin+0x53 #9 VOP_IOCTL+0x96 #10 vn_ioctl+0xbc #11 sys_ioctl+0x4a2 #12 syscall+0x489 #13 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(ffffffff829a29b0,9,0) at witness_checkorder+0x10b7 rw_enter_write(ffffffff829a29a0) at rw_enter_write+0x5b uvn_io(fffffd806d6498d0,ffff800021214498,1,202,0) at uvn_io+0x418 uvn_get(fffffd806d6498d0,1000,ffff800021214558,ffff800021214528,0,1,d2fd0f0103dcba49,0) at uvn_get+0x1df uvm_fault_lower(ffff8000212146c0,ffff8000212146f8,ffff800021214640,0) at uvm_fault_lower+0x36c uvm_fault(fffffd807efff2e0,20001000,0,1) at uvm_fault+0x248 kpageflttrap(ffff800021214850,20001000) at kpageflttrap+0x209 kerntrap(ffff800021214850) at kerntrap+0xef alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 VOP_IOCTL(fffffd806f790aa8,c0104453,ffff800021214c30,3,fffffd807f7d8720,ffff8000ffff57a0) at VOP_IOCTL+0x96 vn_ioctl(fffffd807148c8f0,c0104453,ffff800021214c30,ffff8000ffff57a0) at vn_ioctl+0xbc sys_ioctl(ffff8000ffff57a0,ffff800021214d48,ffff800021214da0) at sys_ioctl+0x4a2 syscall(ffff800021214e10) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbc5d0, count: -16 ddb{1}> show registers rdi 0x3 rsi 0xffffffff82966d20 __sancov_gen_cov_switch_values.134 rbp 0xffff800021214260 rbx 0x3 rdx 0x3fd rcx 0 rax 0x1 r8 0xffff8000212141d0 r9 0x8080808080808080 r10 0xe66880fe8b15b040 r11 0xb7e7b17d65be1fab r12 0xffffffff82b28820 w_lodata+0x52b70 r13 0 r14 0xffffffff82b244c0 w_lodata+0x4e810 r15 0xfffffd8002f4c780 rip 0xffffffff821873b8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021214250 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=336336 stat=onproc flags process=0 proc=0 pri=17, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff4a80,0xffffffff82a73ce8 process=0xffff8000ffff8008 user=0xffff80002120f000, vmspace=0xfffffd807efff2e0 estcpu=4, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *95457 336336 64254 0 7 0 syz-executor.0 64254 369949 68899 0 3 0x82 nanoslp syz-executor.0 68899 315274 67772 0 3 0x82 thrsleep syz-execprog 68899 97903 67772 0 3 0x4000082 nanoslp syz-execprog 68899 393258 67772 0 3 0x4000082 thrsleep syz-execprog 68899 259495 67772 0 3 0x4000082 kqread syz-execprog 68899 233610 67772 0 3 0x4000082 nanoslp syz-execprog 68899 65556 67772 0 3 0x4000082 thrsleep syz-execprog 68899 350228 67772 0 3 0x4000082 thrsleep syz-execprog 68899 281324 67772 0 3 0x4000082 thrsleep syz-execprog 67772 438957 93425 0 3 0x10008a sigsusp ksh 93425 65216 39161 0 3 0x9a kqread sshd 39171 277803 1 0 3 0x100083 ttyin getty 39161 299396 1 0 3 0x88 kqread sshd 18279 163428 9795 74 3 0x1100092 bpf pflogd 9795 242825 1 0 3 0x80 netio pflogd 33262 12312 44924 73 3 0x1100090 kqread syslogd 44924 483980 1 0 3 0x100082 netio syslogd 6689 262701 1 0 3 0x100080 kqread resolvd 18837 109743 745 77 3 0x100092 kqread dhcpleased 94489 131454 745 77 3 0x100092 kqread dhcpleased 745 147404 1 0 3 0x80 kqread dhcpleased 55402 308567 0 0 3 0x14200 bored smr 69578 67935 0 0 3 0x14200 pgzero zerothread 86260 63662 0 0 3 0x14200 aiodoned aiodoned 6239 311883 0 0 3 0x14200 syncer update 79576 50877 0 0 3 0x14200 cleaner cleaner 6717 113666 0 0 3 0x14200 reaper reaper 55082 322150 0 0 3 0x14200 pgdaemon pagedaemon 18834 288676 0 0 3 0x14200 bored viomb 92313 21485 0 0 3 0x40014200 acpi0 acpi0 25178 97134 0 0 3 0x40014200 idle1 58231 488041 0 0 3 0x14200 bored softnet 27029 12221 0 0 3 0x14200 bored systqmp 78975 337951 0 0 3 0x14200 bored systq 81483 21369 0 0 3 0x40014200 bored softclock 60012 289641 0 0 7 0x40014200 idle0 1 293539 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 95457 (syz-executor.0) thread 0xffff8000ffff57a0 (336336) exclusive rwlock pf_lock r = 0 (0xffffffff828f72c0) #0 witness_lock+0x44d #1 pfioctl+0x47e7 #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 (0xffffffff82b36548) #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 10152 6457K 6457K 78643K 11242 0 pcb 13 8K 8K 78643K 13 0 rtable 84 2K 3K 78643K 142 0 ifaddr 37 9K 9K 78643K 40 0 counters 42 33K 33K 78643K 42 0 ioctlops 0 0K 4K 78643K 1480 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 3 8K 12K 78643K 19 0 proc 67 87K 99K 78643K 310 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 22 1K 1K 78643K 22 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 481 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 131 15K 15K 78643K 2477 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 7 0K 0K 78643K 7 0 temp 31 4690K 4749K 78643K 3560 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 19 0 16 1 0 1 1 0 8 0 rtentry 112 34 0 1 1 0 1 1 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 4 0 0 1 0 1 1 0 8 0 inpcb 304 36 0 30 1 0 1 1 0 8 0 nd6 48 3 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 11 0 2 1 0 1 1 0 8 0 pfstkey 112 11 0 2 1 0 1 1 0 8 0 pfstate 320 11 0 2 1 0 1 1 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 144 0 0 9 0 9 9 0 8 0 art_table 32 145 0 0 2 0 2 2 0 8 0 art_node 16 33 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1452 0 49 88 0 88 88 0 8 0 ffsino 272 1452 0 49 94 0 94 94 0 8 0 nchpl 144 1681 0 59 61 0 61 61 0 8 0 uvmvnodes 80 1462 0 0 30 0 30 30 0 8 0 vnodes 224 1462 0 0 86 0 86 86 0 8 0 namei 1024 5147 0 5147 3 1 2 2 0 8 2 percpumem 16 33 0 0 1 0 1 1 0 8 0 scxspl 216 5408 0 5408 10 9 1 8 0 8 1 plimitpl 152 17 0 9 1 0 1 1 0 8 0 sigapl 424 347 0 316 5 0 5 5 0 8 1 knotepl 120 58 0 0 2 0 2 2 0 8 0 kqueuepl 216 21 0 13 1 0 1 1 0 8 0 pipepl 336 106 0 99 2 1 1 1 0 8 0 fdescpl 496 333 0 316 4 0 4 4 0 8 1 filepl 152 1352 0 1279 4 0 4 4 0 8 1 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 19 0 9 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 69 0 57 1 0 1 1 0 8 0 zombiepl 144 316 0 316 2 1 1 1 0 8 1 processpl 1064 347 0 316 3 0 3 3 0 8 0 procpl 672 354 0 316 4 0 4 4 0 8 0 sockpl 480 90 0 66 5 1 4 4 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 56 0 0 7 0 7 7 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 120 0 0 7 0 7 7 0 8 0 bufpl 288 3569 0 147 245 0 245 245 0 8 0 anonpl 24 48947 0 45296 49 4 45 46 0 186 20 amapchunkpl 152 4830 0 4523 21 1 20 20 0 158 7 amappl16 200 138 0 83 5 1 4 4 0 8 0 amappl15 192 83 0 78 1 0 1 1 0 8 0 amappl14 184 2 0 2 1 0 1 1 0 8 1 amappl13 176 49 0 47 2 1 1 1 0 8 0 amappl12 168 9 0 9 2 1 1 1 0 8 1 amappl11 160 53 0 38 1 0 1 1 0 8 0 amappl10 152 29 0 25 1 0 1 1 0 8 0 amappl9 144 456 0 451 1 0 1 1 0 8 0 amappl8 136 428 0 408 1 0 1 1 0 8 0 amappl7 128 89 0 79 1 0 1 1 0 8 0 amappl6 120 193 0 171 2 0 2 2 0 8 1 amappl5 112 163 0 150 1 0 1 1 0 8 0 amappl4 104 693 0 670 2 0 2 2 0 8 1 amappl3 96 144 0 134 1 0 1 1 0 8 0 amappl2 88 469 0 427 3 0 3 3 0 8 1 amappl1 80 9725 0 9297 21 2 19 19 0 8 9 amappl 88 2143 0 2044 4 0 4 4 0 92 1 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 333 0 316 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 333 0 316 1 0 1 1 0 8 0 vmmpekpl 168 8058 0 8039 2 0 2 2 0 8 0 vmmpepl 168 31482 0 30362 96 5 91 91 0 357 42 vmsppl 368 332 0 316 3 0 3 3 0 8 1 rwobjpl 56 10826 0 8645 42 1 41 42 0 8 6 pdppl 4096 673 0 632 77 28 49 57 0 8 8 pvpl 32 215914 0 209304 262 10 252 253 0 265 193 pmappl 248 332 0 316 2 0 2 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 547 0 33 15 0 15 15 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff828d2ff0) 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+0xb intr_handler(ffff8000210fef40,ffff800000077500) at intr_handler+0x5e Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff82b36340) at __mp_lock+0x122 softintr_dispatch(0) at softintr_dispatch+0x4e Xsoftclock() at Xsoftclock+0x1f acpicpu_idle() at acpicpu_idle+0x312 sched_idle(ffffffff828d2ff0) at sched_idle+0x417 end trace frame: 0x0, count: -11 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp ddb{1}> trace db_enter() at db_enter+0x18 witness_checkorder(ffffffff829a29b0,9,0) at witness_checkorder+0x10b7 rw_enter_write(ffffffff829a29a0) at rw_enter_write+0x5b uvn_io(fffffd806d6498d0,ffff800021214498,1,202,0) at uvn_io+0x418 uvn_get(fffffd806d6498d0,1000,ffff800021214558,ffff800021214528,0,1,d2fd0f0103dcba49,0) at uvn_get+0x1df uvm_fault_lower(ffff8000212146c0,ffff8000212146f8,ffff800021214640,0) at uvm_fault_lower+0x36c uvm_fault(fffffd807efff2e0,20001000,0,1) at uvm_fault+0x248 kpageflttrap(ffff800021214850,20001000) at kpageflttrap+0x209 kerntrap(ffff800021214850) at kerntrap+0xef alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 VOP_IOCTL(fffffd806f790aa8,c0104453,ffff800021214c30,3,fffffd807f7d8720,ffff8000ffff57a0) at VOP_IOCTL+0x96 vn_ioctl(fffffd807148c8f0,c0104453,ffff800021214c30,ffff8000ffff57a0) at vn_ioctl+0xbc sys_ioctl(ffff8000ffff57a0,ffff800021214d48,ffff800021214da0) at sys_ioctl+0x4a2 syscall(ffff800021214e10) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbc5d0, count: -16 ddb{1}>