Warning: Permanently added '10.128.1.31' (ED25519) to the list of known hosts. 2022/02/04 06:59:39 parsed 1 programs 2022/02/04 06:59:44 executed programs: 0 witness: lock order reversal: 1st 0xffffffff82998050 pf_lock (pf_lock) 2nd 0xffffffff82918a40 netlock (netlock) lock order "netlock"(rwlock) -> "pf_lock"(rwlock) first seen at: #0 rw_enter_write+0x5b #1 pfioctl+0x3f59 #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+0x44c2 #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(ffffffff82918a40,9,0) at witness_checkorder+0x10b7 rw_enter_write(ffffffff82918a30) at rw_enter_write+0x5b uvn_io(fffffd806c4c7108,ffff8000212f0078,1,202,0) at uvn_io+0x418 uvn_get(fffffd806c4c7108,1000,ffff8000212f0138,ffff8000212f0108,0,0,e925fd555285ee2b,1) at uvn_get+0x1df uvm_fault_lower(ffff8000212f02a0,ffff8000212f02d8,ffff8000212f0220,0) at uvm_fault_lower+0x36c uvm_fault(fffffd806a8fa8b0,20001000,0,2) at uvm_fault+0x248 kpageflttrap(ffff8000212f0430,20001000) at kpageflttrap+0x209 kerntrap(ffff8000212f0430) at kerntrap+0xef alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 pfioctl(4900,c0284457,ffff8000212f0890,1,ffff8000ffff2fc8) at pfioctl+0x44c2 VOP_IOCTL(fffffd807a0f9d48,c0284457,ffff8000212f0890,1,fffffd807f7d8660,ffff8000ffff2fc8) at VOP_IOCTL+0x96 vn_ioctl(fffffd806c1f5850,c0284457,ffff8000212f0890,ffff8000ffff2fc8) at vn_ioctl+0xbc sys_ioctl(ffff8000ffff2fc8,ffff8000212f09a8,ffff8000212f0a00) at sys_ioctl+0x4a2 syscall(ffff8000212f0a70) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff3230, count: -17 ddb{1}> show registers rdi 0x3 rsi 0xffffffff82960c90 __sancov_gen_cov_switch_values.134 rbp 0xffff8000212efe40 rbx 0x3 rdx 0x3fd rcx 0 rax 0x1 r8 0xffff8000212efdb0 r9 0x8080808080808080 r10 0x7deabcf19406f1d9 r11 0xea236a710eea6b38 r12 0xffffffff82b17f80 w_lodata+0x52750 r13 0 r14 0xffffffff82b138b0 w_lodata+0x4e080 r15 0xfffffd8002f4c780 rip 0xffffffff819d9ed8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000212efe30 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=478761 stat=onproc flags process=0 proc=0 pri=17, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2548,0xffff8000ffff42b0 process=0xffff800021196150 user=0xffff8000212eb000, vmspace=0xfffffd806a8fa8b0 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 76312 259779 29964 0 2 0 syz-executor.2 27932 39849 27917 0 7 0x100002 sh * 328 478761 556 0 7 0 syz-executor.0 69527 222490 84288 0 2 0x100002 sh 51849 448936 67100 0 2 0x10008a sh 60572 13152 53392 0 2 0x2 ndp 16547 278165 10468 0 2 0x100002 ndp 53392 450315 94662 0 3 0x10008a sigsusp sh 10468 467623 32055 0 3 0x10008a sigsusp sh 27917 40738 99186 0 3 0x82 wait syz-executor.6 67100 504713 99186 0 3 0x82 wait syz-executor.1 84288 477374 99186 0 3 0x82 wait syz-executor.3 556 507179 99186 0 3 0x82 nanoslp syz-executor.0 94662 406773 99186 0 3 0x82 wait syz-executor.7 29964 374911 99186 0 2 0x2 syz-executor.2 57195 31493 99186 0 2 0x2 syz-executor.5 32055 515249 99186 0 3 0x82 wait syz-executor.4 99186 167688 63348 0 3 0x82 kqread syz-execprog 99186 404144 63348 0 3 0x4000082 nanoslp syz-execprog 99186 286416 63348 0 3 0x4000082 thrsleep syz-execprog 99186 346294 63348 0 3 0x4000082 thrsleep syz-execprog 99186 413627 63348 0 3 0x4000082 thrsleep syz-execprog 99186 252392 63348 0 3 0x4000082 nanoslp syz-execprog 99186 503480 63348 0 3 0x4000082 thrsleep syz-execprog 99186 150685 63348 0 3 0x4000082 thrsleep syz-execprog 63348 44476 67979 0 3 0x10008a sigsusp ksh 67979 468057 29365 0 3 0x9a poll sshd 74373 321672 1 0 3 0x100083 ttyin getty 29365 317845 1 0 3 0x88 poll sshd 54391 141348 21202 74 3 0x100092 bpf pflogd 21202 80635 1 0 3 0x80 netio pflogd 84599 216771 96595 73 3 0x100090 kqread syslogd 96595 172195 1 0 3 0x100082 netio syslogd 5232 126904 1 0 3 0x100080 kqread resolvd 16239 134491 3388 77 3 0x100092 kqread dhcpleased 14302 243083 3388 77 3 0x100092 kqread dhcpleased 3388 462409 1 0 3 0x80 kqread dhcpleased 47679 449398 0 0 3 0x14200 bored smr 59299 336618 0 0 2 0x14200 zerothread 29287 52075 0 0 3 0x14200 aiodoned aiodoned 33906 477817 0 0 3 0x14200 syncer update 63707 316142 0 0 3 0x14200 cleaner cleaner 25048 104985 0 0 3 0x14200 reaper reaper 92154 511461 0 0 3 0x14200 pgdaemon pagedaemon 15702 63482 0 0 3 0x14200 bored viomb 79709 206239 0 0 3 0x40014200 acpi0 acpi0 54571 1571 0 0 3 0x40014200 idle1 75871 491100 0 0 3 0x14200 bored softnet 91665 88397 0 0 3 0x14200 bored systqmp 45531 328215 0 0 3 0x14200 bored systq 24940 376901 0 0 3 0x40014200 bored softclock 58213 221566 0 0 3 0x40014200 idle0 1 343518 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 328 (syz-executor.0) thread 0xffff8000ffff2fc8 (478761) exclusive rwlock pf_lock r = 0 (0xffffffff82998050) #0 witness_lock+0x44d #1 pfioctl+0x44b0 #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 (0xffffffff82b23970) #0 witness_lock+0x44d #1 vn_ioctl+0x41 #2 sys_ioctl+0x4a2 #3 syscall+0x489 #4 Xsyscall+0x128 Process 57195 (syz-executor.5) thread 0xffff8000ffff4fc0 (31493) exclusive rrwlock inode r = 0 (0xfffffd806ad1a3d8) #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_mkdir+0xf4 #8 VOP_MKDIR+0xbf #9 domkdirat+0x121 #10 syscall+0x489 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806a822700) #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 domkdirat+0x75 #8 syscall+0x489 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10175 6473K 6473K 78643K 11265 0 pcb 13 8K 8K 78643K 13 0 rtable 214 6K 6K 78643K 304 0 ifaddr 84 17K 17K 78643K 88 0 counters 56 35K 35K 78643K 56 0 ioctlops 0 0K 4K 78643K 1486 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 19 69K 93K 78643K 124 0 proc 67 87K 124K 78643K 499 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 89 6K 6K 78643K 89 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 637 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 217 74K 75K 78643K 3035 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 26 2K 2K 78643K 26 0 temp 57 4683K 4745K 78643K 4217 0 kqueue 10 14K 14K 78643K 10 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 28 0 24 1 0 1 1 0 8 0 rtentry 112 99 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 17 0 0 1 0 1 1 0 8 0 inpcb 304 63 0 57 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 16 0 2 1 0 1 1 0 8 0 pfstkey 112 16 0 2 1 0 1 1 0 8 0 pfstate 320 16 0 2 2 0 2 2 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 408 0 0 26 0 26 26 0 8 0 art_table 32 409 0 0 4 0 4 4 0 8 0 art_node 16 98 0 9 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 1731 0 59 62 0 62 62 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 5900 0 5899 3 1 2 2 0 8 1 percpumem 16 40 0 0 1 0 1 1 0 8 0 scxspl 216 5495 0 5495 10 9 1 8 0 8 1 plimitpl 152 24 0 9 1 0 1 1 0 8 0 sigapl 424 431 0 385 6 0 6 6 0 8 0 knotepl 112 100 0 0 3 0 3 3 0 8 0 kqueuepl 216 6 0 0 1 0 1 1 0 8 0 pipepl 336 134 0 106 4 1 3 3 0 8 0 fdescpl 496 417 0 385 5 0 5 5 0 8 0 filepl 152 1511 0 1374 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 385 0 384 2 1 1 1 0 8 0 processpl 1064 431 0 384 4 0 4 4 0 8 0 procpl 672 438 0 384 5 0 5 5 0 8 0 sockpl 480 126 0 101 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 57 0 0 8 0 8 8 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 272 0 0 15 0 15 15 0 8 0 bufpl 288 3619 0 140 249 0 249 249 0 8 0 anonpl 24 58270 0 52847 46 3 43 44 0 186 6 amapchunkpl 152 7074 0 6618 23 1 22 22 0 158 0 amappl16 200 205 0 127 6 1 5 5 0 8 0 amappl15 192 108 0 98 1 0 1 1 0 8 0 amappl14 184 5 0 5 1 0 1 1 0 8 1 amappl13 176 102 0 94 2 1 1 1 0 8 0 amappl12 168 25 0 22 2 1 1 1 0 8 0 amappl11 160 60 0 44 1 0 1 1 0 8 0 amappl10 152 44 0 39 1 0 1 1 0 8 0 amappl9 144 460 0 456 1 0 1 1 0 8 0 amappl8 136 535 0 504 2 0 2 2 0 8 0 amappl7 128 114 0 106 1 0 1 1 0 8 0 amappl6 120 221 0 196 2 0 2 2 0 8 0 amappl5 112 199 0 184 1 0 1 1 0 8 0 amappl4 104 830 0 801 2 0 2 2 0 8 1 amappl3 96 161 0 149 1 0 1 1 0 8 0 amappl2 88 535 0 488 3 0 3 3 0 8 1 amappl1 80 11072 0 10492 20 1 19 19 0 8 5 amappl 88 2619 0 2455 5 0 5 5 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 417 0 385 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 417 0 385 1 0 1 1 0 8 0 vmmpekpl 168 8437 0 8408 2 0 2 2 0 8 0 vmmpepl 168 39220 0 37519 97 6 91 91 0 357 8 vmsppl 368 416 0 385 4 0 4 4 0 8 0 rwobjpl 56 12367 0 9886 41 0 41 41 0 8 4 pdppl 4096 841 0 770 105 22 83 83 0 8 12 pvpl 32 241507 0 232195 250 9 241 241 0 265 159 pmappl 248 416 0 385 3 0 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 612 0 27 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(ffffffff82993ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82b23768) at __mp_lock+0x122 intr_handler(ffff800021264540,ffff800000077500) at intr_handler+0x5e Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff82b23768) at __mp_lock+0x122 softintr_dispatch(0) at softintr_dispatch+0x4e Xsoftclock() at Xsoftclock+0x1f __mp_lock(ffffffff82b23768) at __mp_lock+0x122 syscall(ffff800021264870) at syscall+0x3ef Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdf000, 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(ffffffff82918a40,9,0) at witness_checkorder+0x10b7 rw_enter_write(ffffffff82918a30) at rw_enter_write+0x5b uvn_io(fffffd806c4c7108,ffff8000212f0078,1,202,0) at uvn_io+0x418 uvn_get(fffffd806c4c7108,1000,ffff8000212f0138,ffff8000212f0108,0,0,e925fd555285ee2b,1) at uvn_get+0x1df uvm_fault_lower(ffff8000212f02a0,ffff8000212f02d8,ffff8000212f0220,0) at uvm_fault_lower+0x36c uvm_fault(fffffd806a8fa8b0,20001000,0,2) at uvm_fault+0x248 kpageflttrap(ffff8000212f0430,20001000) at kpageflttrap+0x209 kerntrap(ffff8000212f0430) at kerntrap+0xef alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 pfioctl(4900,c0284457,ffff8000212f0890,1,ffff8000ffff2fc8) at pfioctl+0x44c2 VOP_IOCTL(fffffd807a0f9d48,c0284457,ffff8000212f0890,1,fffffd807f7d8660,ffff8000ffff2fc8) at VOP_IOCTL+0x96 vn_ioctl(fffffd806c1f5850,c0284457,ffff8000212f0890,ffff8000ffff2fc8) at vn_ioctl+0xbc sys_ioctl(ffff8000ffff2fc8,ffff8000212f09a8,ffff8000212f0a00) at sys_ioctl+0x4a2 syscall(ffff8000212f0a70) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff3230, count: -17 ddb{1}>