Warning: Permanently added '10.128.0.18' (ED25519) to the list of known hosts. 2022/04/27 07:49:52 parsed 1 programs 2022/04/27 07:49:57 executed programs: 0 witness: lock order reversal: 1st 0xffffffff829bb660 pf_lock (pf_lock) 2nd 0xffffffff829701b0 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(ffffffff829701b0,9,0) at witness_checkorder+0x10b7 rw_enter_write(ffffffff829701a0) at rw_enter_write+0x5b uvn_io(fffffd8069c7d388,ffff800021271d18,1,202,0) at uvn_io+0x418 uvn_get(fffffd8069c7d388,0,ffff800021271dd8,ffff800021271da8,0,0,e04cdf6611d3bfc,1) at uvn_get+0x1df uvm_fault_lower(ffff800021271f40,ffff800021271f78,ffff800021271ec0,0) at uvm_fault_lower+0x36c uvm_fault(fffffd806ba11e78,20001000,0,2) at uvm_fault+0x248 kpageflttrap(ffff8000212720d0,20001000) at kpageflttrap+0x209 kerntrap(ffff8000212720d0) at kerntrap+0xef alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 pfioctl(4900,c0284457,ffff800021272540,1,ffff8000ffff2fc8) at pfioctl+0x4516 VOP_IOCTL(fffffd806f684b88,c0284457,ffff800021272540,1,fffffd807f7d75a0,ffff8000ffff2fc8) at VOP_IOCTL+0x96 vn_ioctl(fffffd806c445850,c0284457,ffff800021272540,ffff8000ffff2fc8) at vn_ioctl+0xbc sys_ioctl(ffff8000ffff2fc8,ffff800021272658,ffff8000212726b0) at sys_ioctl+0x4a2 syscall(ffff800021272720) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbc5d0, count: -17 ddb{1}> show registers rdi 0x3 rsi 0xffffffff8297c710 __sancov_gen_cov_switch_values.134 rbp 0xffff800021271ae0 rbx 0x3 rdx 0x3fd rcx 0 rax 0x1 r8 0xffff800021271a50 r9 0x8080808080808080 r10 0x3655ed6f65c7ae1f r11 0xd6e69ba9a0fcc2d3 r12 0xffffffff82b11460 w_lodata+0x52330 r13 0 r14 0xffffffff82b0d050 w_lodata+0x4df20 r15 0xfffffd8002f76840 rip 0xffffffff81ad9118 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021271ad0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=72764 stat=onproc flags process=0 proc=0 pri=17, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff37a8,0xffff8000ffff22b8 process=0xffff800021278c90 user=0xffff80002126d000, vmspace=0xfffffd806ba11e78 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 17111 522414 64415 0 7 0x100002 sh 10370 193948 71053 0 2 0x2 arp 80497 41736 48728 0 2 0x2 ifconfig 60262 462709 28454 0 2 0x2 ndp *50805 72764 80356 0 7 0 syz-executor.1 71053 256552 12834 0 3 0x10008a sigsusp sh 48728 101048 71600 0 3 0x10008a sigsusp sh 28454 20415 72866 0 3 0x10008a sigsusp sh 59505 380189 75029 0 2 0x2 ifconfig 56718 127750 51705 0 2 0x100002 sh 75029 406599 97505 0 3 0x10008a sigsusp sh 38423 214795 76305 0 2 0x2 ifconfig 76305 282334 35901 0 3 0x10008a sigsusp sh 64415 485582 94919 0 3 0x82 wait syz-executor.3 71600 63256 94919 0 3 0x82 wait syz-executor.5 51705 226946 94919 0 3 0x82 wait syz-executor.4 35901 440793 94919 0 3 0x82 wait syz-executor.6 12834 186735 94919 0 3 0x82 wait syz-executor.7 72866 17637 94919 0 3 0x82 wait syz-executor.2 80356 102803 94919 0 3 0x82 nanoslp syz-executor.1 97505 498158 94919 0 3 0x82 wait syz-executor.0 94919 518922 97356 0 3 0x82 thrsleep syz-execprog 94919 359833 97356 0 3 0x4000082 nanoslp syz-execprog 94919 264234 97356 0 3 0x4000082 thrsleep syz-execprog 94919 191820 97356 0 3 0x4000082 thrsleep syz-execprog 94919 350638 97356 0 2 0x4000002 syz-execprog 94919 294097 97356 0 3 0x4000082 kqread syz-execprog 94919 78547 97356 0 3 0x4000082 thrsleep syz-execprog 94919 21227 97356 0 3 0x4000082 thrsleep syz-execprog 97356 134789 79607 0 3 0x10008a sigsusp ksh 79607 62123 11644 0 3 0x9a kqread sshd 14195 334017 1 0 3 0x100083 ttyin getty 11644 505667 1 0 3 0x88 kqread sshd 64426 228555 86284 74 3 0x1100092 bpf pflogd 86284 124757 1 0 3 0x80 netio pflogd 55518 9562 33750 73 3 0x1100090 kqread syslogd 33750 69117 1 0 3 0x100082 netio syslogd 31211 159291 1 0 3 0x100080 kqread resolvd 35833 173873 52733 77 3 0x100092 kqread dhcpleased 62997 15597 52733 77 3 0x100092 kqread dhcpleased 52733 133907 1 0 3 0x80 kqread dhcpleased 19531 221338 0 0 3 0x14200 bored smr 88292 66546 0 0 2 0x14200 zerothread 20980 449005 0 0 3 0x14200 aiodoned aiodoned 24235 496499 0 0 3 0x14200 syncer update 79349 338164 0 0 3 0x14200 cleaner cleaner 35303 312128 0 0 3 0x14200 reaper reaper 56451 141772 0 0 3 0x14200 pgdaemon pagedaemon 8264 135736 0 0 3 0x14200 bored viomb 75560 518977 0 0 3 0x40014200 acpi0 acpi0 27661 314946 0 0 3 0x40014200 idle1 92683 390941 0 0 3 0x14200 bored softnet 16097 158767 0 0 3 0x14200 bored systqmp 92128 283413 0 0 3 0x14200 bored systq 63268 431547 0 0 3 0x40014200 bored softclock 86630 478179 0 0 3 0x40014200 idle0 1 389105 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 50805 (syz-executor.1) thread 0xffff8000ffff2fc8 (72764) exclusive rwlock pf_lock r = 0 (0xffffffff829bb660) #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 (0xffffffff829bb6c0) #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 (0xffffffff82b9a8a8) #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 10170 6471K 6471K 78643K 11260 0 pcb 13 8K 8K 78643K 13 0 rtable 136 3K 4K 78643K 210 0 ifaddr 69 13K 13K 78643K 73 0 counters 54 35K 35K 78643K 54 0 ioctlops 0 0K 4K 78643K 1481 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 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 23 85K 89K 78643K 97 0 proc 81 115K 128K 78643K 443 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 43 2K 2K 78643K 43 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 604 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 162 72K 72K 78643K 2110 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 16 0K 0K 78643K 16 0 temp 52 4714K 4777K 78643K 3320 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 62 0 1 2 0 2 2 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 12 0 0 1 0 1 1 0 8 0 inpcb 312 55 0 47 1 0 1 1 0 8 0 nd6 48 6 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 12 0 2 1 0 1 1 0 8 0 pfstkey 112 12 0 2 1 0 1 1 0 8 0 pfstate 336 12 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 225 0 0 15 0 15 15 0 8 0 art_table 32 226 0 0 2 0 2 2 0 8 0 art_node 16 61 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1481 0 49 90 0 90 90 0 8 0 ffsino 272 1481 0 49 96 0 96 96 0 8 0 nchpl 144 1745 0 59 63 0 63 63 0 8 0 uvmvnodes 80 1491 0 0 31 0 31 31 0 8 0 vnodes 224 1491 0 0 88 0 88 88 0 8 0 namei 1024 5781 0 5781 3 1 2 2 0 8 2 percpumem 16 39 0 0 1 0 1 1 0 8 0 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 5557 0 5557 10 9 1 8 0 8 1 plimitpl 152 24 0 9 1 0 1 1 0 8 0 sigapl 424 412 0 362 6 0 6 6 0 8 0 knotepl 120 110 0 0 4 0 4 4 0 8 0 kqueuepl 216 21 0 13 1 0 1 1 0 8 0 pipepl 336 136 0 108 4 1 3 3 0 8 0 fdescpl 496 398 0 362 5 0 5 5 0 8 0 filepl 152 1527 0 1390 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 362 0 362 2 1 1 1 0 8 1 processpl 1064 412 0 362 4 0 4 4 0 8 0 procpl 672 419 0 362 5 0 5 5 0 8 0 sockpl 480 115 0 88 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 80 0 0 10 0 10 10 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 220 0 0 13 0 13 13 0 8 0 bufpl 288 3596 0 139 247 0 247 247 0 8 0 anonpl 24 50582 0 45898 45 4 41 41 0 186 11 amapchunkpl 152 4273 0 3961 18 2 16 16 0 158 2 amappl16 200 282 0 202 5 0 5 5 0 8 0 amappl15 192 5 0 5 1 0 1 1 0 8 1 amappl14 184 2 0 1 1 0 1 1 0 8 0 amappl13 176 91 0 80 1 0 1 1 0 8 0 amappl12 168 16 0 10 2 1 1 1 0 8 0 amappl11 160 89 0 70 1 0 1 1 0 8 0 amappl10 152 29 0 25 1 0 1 1 0 8 0 amappl9 144 467 0 461 1 0 1 1 0 8 0 amappl8 136 515 0 487 3 1 2 2 0 8 0 amappl7 128 98 0 87 1 0 1 1 0 8 0 amappl6 120 211 0 189 2 0 2 2 0 8 1 amappl5 112 111 0 95 1 0 1 1 0 8 0 amappl4 104 798 0 767 2 0 2 2 0 8 1 amappl3 96 485 0 442 2 0 2 2 0 8 0 amappl2 88 649 0 580 3 0 3 3 0 8 1 amappl1 80 11637 0 10949 23 3 20 20 0 8 5 amappl 88 1716 0 1611 4 1 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 398 0 362 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 398 0 362 1 0 1 1 0 8 0 vmmpekpl 168 8432 0 8410 2 0 2 2 0 8 0 vmmpepl 168 38133 0 36306 96 4 92 92 0 357 10 vmsppl 368 397 0 362 4 0 4 4 0 8 0 rwobjpl 56 12250 0 9662 42 1 41 41 0 8 4 pdppl 4096 803 0 724 109 28 81 81 0 8 2 pvpl 32 230013 0 221046 265 9 256 256 0 265 182 pmappl 248 397 0 362 3 0 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 605 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(ffffffff8298fff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82b9a6a0) at __mp_lock+0x122 intr_handler(ffff8000212de780,ffff800000078500) at intr_handler+0x5e Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff82b9a6a0) at __mp_lock+0x122 softintr_dispatch(0) at softintr_dispatch+0x4e Xsoftclock() at Xsoftclock+0x1f __mp_lock(ffffffff82b9a6a0) at __mp_lock+0x122 syscall(ffff8000212deab0) at syscall+0x3ef Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd46d0, 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(ffffffff829701b0,9,0) at witness_checkorder+0x10b7 rw_enter_write(ffffffff829701a0) at rw_enter_write+0x5b uvn_io(fffffd8069c7d388,ffff800021271d18,1,202,0) at uvn_io+0x418 uvn_get(fffffd8069c7d388,0,ffff800021271dd8,ffff800021271da8,0,0,e04cdf6611d3bfc,1) at uvn_get+0x1df uvm_fault_lower(ffff800021271f40,ffff800021271f78,ffff800021271ec0,0) at uvm_fault_lower+0x36c uvm_fault(fffffd806ba11e78,20001000,0,2) at uvm_fault+0x248 kpageflttrap(ffff8000212720d0,20001000) at kpageflttrap+0x209 kerntrap(ffff8000212720d0) at kerntrap+0xef alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 pfioctl(4900,c0284457,ffff800021272540,1,ffff8000ffff2fc8) at pfioctl+0x4516 VOP_IOCTL(fffffd806f684b88,c0284457,ffff800021272540,1,fffffd807f7d75a0,ffff8000ffff2fc8) at VOP_IOCTL+0x96 vn_ioctl(fffffd806c445850,c0284457,ffff800021272540,ffff8000ffff2fc8) at vn_ioctl+0xbc sys_ioctl(ffff8000ffff2fc8,ffff800021272658,ffff8000212726b0) at sys_ioctl+0x4a2 syscall(ffff800021272720) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbc5d0, count: -17 ddb{1}>