Warning: Permanently added '10.128.10.51' (ED25519) to the list of known hosts. 2022/03/12 05:35:23 parsed 1 programs 2022/03/12 05:35:28 executed programs: 0 witness: lock order reversal: 1st 0xfffffd8077a308d0 vmmaplk (&map->lock) 2nd 0xfffffd8077a8c438 fdlock (&newfdp->fd_fd.fd_lock) lock order "&newfdp->fd_fd.fd_lock"(rwlock) -> "&map->lock"(rwlock) first seen at: #0 rw_enter_read+0x66 #1 uvmfault_lookup+0xd9 #2 uvm_fault_check+0x3a #3 uvm_fault+0x102 #4 kpageflttrap+0x209 #5 kerntrap+0xef #6 alltraps_kern_meltdown+0x7b #7 copyout+0x53 #8 syscall+0x489 #9 Xsyscall+0x128 lock order "&map->lock"(rwlock) -> "&newfdp->fd_fd.fd_lock"(rwlock) first seen at: #0 rw_enter_write+0x5b #1 fill_file+0xad2 #2 sysctl_file+0x62d #3 kern_sysctl+0xfd #4 sys_sysctl+0x209 #5 syscall+0x489 #6 Xsyscall+0x128 Stopped at db_enter+0x18: addq $0x8,%rsp ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace db_enter() at db_enter+0x18 witness_checkorder(fffffd8077a8c438,9,0) at witness_checkorder+0x10b7 rw_enter_write(fffffd8077a8c428) at rw_enter_write+0x5b fill_file(ffff800000b93800,fffffd807847db68,fffffd8077a8c3e0,0,0,ffff80002134a160,b457551af30de885,4a00,0) at fill_file+0xad2 sysctl_file(ffff800021351418,4,20000080,ffff800021351448,ffff80002124c550) at sysctl_file+0x62d kern_sysctl(ffff800021351414,5,20000080,ffff800021351448,0,0,f268b1e8cd7a6889) at kern_sysctl+0xfd sys_sysctl(ffff80002124c550,ffff8000213514b8,ffff800021351510) at sys_sysctl+0x209 syscall(ffff800021351580) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd97431707e0, count: -9 ddb{0}> show registers rdi 0x3 rsi 0xffffffff8294abb0 __sancov_gen_cov_switch_values.134 rbp 0xffff800021350d80 rbx 0x3 rdx 0x3fd rcx 0 rax 0x1 r8 0xffff800021350cf0 r9 0x8080808080808080 r10 0xdbb17d5cf7d66e50 r11 0x5a0e79e4e293895a r12 0xffffffff82aaf7d0 w_lodata+0x51e60 r13 0 r14 0xffffffff82aac440 w_lodata+0x4ead0 r15 0xfffffd8002f62c80 rip 0xffffffff8138d658 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021350d70 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.4) pid=343600 stat=onproc flags process=10 proc=4000000 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80002124d270,0xffffffff82b3d400 process=0xffff80002134b628 user=0xffff80002134c000, vmspace=0xfffffd8077a308b8 estcpu=9, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 61371 226870 95175 32767 2 0x10 syz-executor.5 65321 361125 70302 32767 2 0x10 syz-executor.4 *65321 343600 70302 32767 7 0x4000010 syz-executor.4 98910 396150 7318 0 2 0x2 ifconfig 7318 364079 84022 0 3 0x10008a sigsusp sh 74296 168145 54399 0 2 0x100002 sh 88328 154521 88490 0 2 0x2 ifconfig 54399 14451 49830 0 3 0x80 wait syz-executor.3 84022 411827 50848 0 3 0x80 wait syz-executor.7 20886 105898 34356 32767 7 0x10 syz-executor.2 62856 393774 74485 0 2 0x100002 sh 50848 217172 18495 0 3 0x82 wait syz-executor.7 88490 65272 81705 0 3 0x10008a sigsusp sh 95175 343721 99339 32767 3 0x90 nanoslp syz-executor.5 49830 478417 18495 0 3 0x82 wait syz-executor.3 34356 161611 18495 0 3 0x82 wait syz-executor.2 49232 400429 66863 0 2 0x100002 sh 70302 27431 41620 32767 3 0x90 nanoslp syz-executor.4 99339 356092 18495 0 3 0x82 wait syz-executor.5 41620 256252 18495 0 3 0x82 wait syz-executor.4 81705 464283 25857 0 3 0x80 wait syz-executor.1 74485 40539 95982 0 3 0x80 wait syz-executor.6 25857 174023 18495 0 3 0x82 wait syz-executor.1 95982 52349 18495 0 3 0x82 wait syz-executor.6 66863 138653 91681 0 3 0x80 wait syz-executor.0 91681 187326 18495 0 3 0x82 wait syz-executor.0 18495 104660 74285 0 3 0x82 kqread syz-execprog 18495 15670 74285 0 3 0x4000082 nanoslp syz-execprog 18495 180985 74285 0 3 0x4000082 thrsleep syz-execprog 18495 7724 74285 0 3 0x4000082 thrsleep syz-execprog 18495 149083 74285 0 3 0x4000082 thrsleep syz-execprog 18495 2030 74285 0 3 0x4000082 thrsleep syz-execprog 18495 481954 74285 0 3 0x4000082 thrsleep syz-execprog 18495 343771 74285 0 3 0x4000082 thrsleep syz-execprog 18495 355325 74285 0 3 0x4000082 thrsleep syz-execprog 18495 348075 74285 0 3 0x4000082 thrsleep syz-execprog 74285 356913 81450 0 3 0x10008a sigsusp ksh 81450 429695 13021 0 3 0x9a kqread sshd 10713 423423 1 0 3 0x100083 ttyin getty 13021 166369 1 0 3 0x88 kqread sshd 39353 345742 73184 73 3 0x1100090 kqread syslogd 73184 394325 1 0 3 0x100082 netio syslogd 67037 399624 1 0 3 0x100080 kqread resolvd 92694 460296 61967 77 3 0x100092 kqread dhcpleased 80908 367342 61967 77 3 0x100092 kqread dhcpleased 61967 246026 1 0 3 0x80 kqread dhcpleased 4450 37679 0 0 3 0x14200 bored smr 40539 91220 0 0 2 0x14200 zerothread 88267 402226 0 0 3 0x14200 aiodoned aiodoned 97512 181015 0 0 3 0x14200 syncer update 63876 140714 0 0 3 0x14200 cleaner cleaner 79029 432902 0 0 3 0x14200 reaper reaper 82972 348172 0 0 3 0x14200 pgdaemon pagedaemon 48190 521100 0 0 3 0x14200 bored viomb 87814 394414 0 0 3 0x40014200 acpi0 acpi0 6287 303393 0 0 3 0x40014200 idle1 55340 271000 0 0 3 0x14200 bored softnet 12735 71347 0 0 3 0x14200 bored systqmp 81428 338559 0 0 3 0x14200 bored systq 89131 509130 0 0 3 0x40014200 bored softclock 63104 118612 0 0 3 0x40014200 idle0 1 433987 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 65321 (syz-executor.4) thread 0xffff80002124c550 (343600) shared rwlock vmmaplk r = 0 (0xfffffd8077a308d0) #0 witness_lock+0x44d #1 uvm_vslock+0xc8 #2 sys_sysctl+0x2d8 #3 syscall+0x489 #4 Xsyscall+0x128 exclusive rwlock sysctllk r = 0 (0xffffffff82941f10) #0 witness_lock+0x44d #1 rw_enter+0x3e1 #2 sys_sysctl+0x1b3 #3 syscall+0x489 #4 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff829de988) #0 witness_lock+0x44d #1 syscall+0x3ef #2 Xsyscall+0x128 Process 20886 (syz-executor.2) thread 0xffff8000211f4548 (105898) exclusive rrwlock inode r = 0 (0xfffffd806c6a8d60) #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 (0xfffffd806c6a82c0) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10167 6406K 6419K 78643K 11257 0 pcb 13 8K 8K 78643K 13 0 rtable 160 4K 4K 78643K 234 0 ifaddr 71 14K 14K 78643K 72 0 counters 56 35K 35K 78643K 56 0 ioctlops 0 0K 2K 78643K 29 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1166 73K 73K 78643K 1179 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 27 101K 117K 78643K 114 0 proc 63 87K 111K 78643K 409 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 57 3K 3K 78643K 57 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 567 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 235 74K 74K 78643K 2765 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 19 1K 1K 78643K 19 0 temp 53 4692K 4753K 78643K 3871 0 kqueue 12 18K 18K 78643K 25 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> 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 24 0 21 1 0 1 1 0 8 0 rtentry 112 72 0 1 3 0 3 3 0 8 0 unpcb 136 33 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 12 0 0 1 0 1 1 0 8 0 inpcb 304 51 0 44 1 0 1 1 0 8 0 nd6 48 11 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 282 0 0 18 0 18 18 0 8 0 art_table 32 283 0 0 3 0 3 3 0 8 0 art_node 16 71 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1472 0 48 89 0 89 89 0 8 0 ffsino 272 1472 0 48 95 0 95 95 0 8 0 nchpl 144 1720 0 57 62 0 62 62 0 8 0 uvmvnodes 80 1481 0 0 31 0 31 31 0 8 0 vnodes 224 1481 0 0 88 0 88 88 0 8 0 namei 1024 5471 0 5470 3 1 2 2 0 8 1 percpumem 16 40 0 0 1 0 1 1 0 8 0 scxspl 216 5501 0 5501 14 13 1 8 0 8 1 plimitpl 152 31 0 9 1 0 1 1 0 8 0 sigapl 424 394 0 342 7 0 7 7 0 8 0 futexpl 64 1 0 1 1 0 1 1 0 8 1 knotepl 120 102 0 0 4 0 4 4 0 8 0 kqueuepl 216 21 0 13 1 0 1 1 0 8 0 pipepl 336 127 0 99 4 1 3 3 0 8 0 fdescpl 496 380 0 342 7 1 6 6 0 8 0 filepl 152 1353 0 1224 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 25 0 9 1 0 1 1 0 8 0 pgrppl 48 25 0 9 1 0 1 1 0 8 0 ucredpl 96 73 0 60 1 0 1 1 0 8 0 zombiepl 144 342 0 342 2 1 1 1 0 8 1 processpl 1064 394 0 342 5 1 4 4 0 8 0 procpl 672 404 0 342 6 0 6 6 0 8 0 sockpl 480 108 0 85 4 0 4 4 0 8 1 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 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 246 0 0 14 0 14 14 0 8 0 bufpl 288 3550 0 143 244 0 244 244 0 8 0 anonpl 24 53069 0 47614 49 5 44 44 0 186 9 amapchunkpl 152 5664 0 5178 21 1 20 20 0 158 1 amappl16 200 227 0 145 6 1 5 5 0 8 0 amappl15 192 88 0 82 1 0 1 1 0 8 0 amappl14 184 10 0 5 1 0 1 1 0 8 0 amappl13 176 98 0 88 2 1 1 1 0 8 0 amappl12 168 17 0 13 1 0 1 1 0 8 0 amappl11 160 40 0 28 1 0 1 1 0 8 0 amappl10 152 29 0 27 2 1 1 1 0 8 0 amappl9 144 442 0 434 1 0 1 1 0 8 0 amappl8 136 495 0 465 2 0 2 2 0 8 0 amappl7 128 109 0 95 1 0 1 1 0 8 0 amappl6 120 224 0 202 2 0 2 2 0 8 1 amappl5 112 179 0 163 1 0 1 1 0 8 0 amappl4 104 753 0 724 2 0 2 2 0 8 1 amappl3 96 149 0 137 1 0 1 1 0 8 0 amappl2 88 494 0 448 3 0 3 3 0 8 1 amappl1 80 10207 0 9619 21 3 18 18 0 8 5 amappl 88 2393 0 2211 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 380 0 342 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 380 0 342 1 0 1 1 0 8 0 vmmpekpl 168 8024 0 7995 2 0 2 2 0 8 0 vmmpepl 168 35842 0 33914 97 5 92 92 0 357 5 vmsppl 368 379 0 342 4 0 4 4 0 8 0 rwobjpl 56 11467 0 9031 40 0 40 40 0 8 4 pdppl 4096 767 0 684 109 18 91 91 0 8 8 pvpl 32 226026 0 216155 262 6 256 256 0 265 173 pmappl 248 379 0 342 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 598 0 22 17 0 17 17 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 witness_checkorder(fffffd8077a8c438,9,0) at witness_checkorder+0x10b7 rw_enter_write(fffffd8077a8c428) at rw_enter_write+0x5b fill_file(ffff800000b93800,fffffd807847db68,fffffd8077a8c3e0,0,0,ffff80002134a160,b457551af30de885,4a00,0) at fill_file+0xad2 sysctl_file(ffff800021351418,4,20000080,ffff800021351448,ffff80002124c550) at sysctl_file+0x62d kern_sysctl(ffff800021351414,5,20000080,ffff800021351448,0,0,f268b1e8cd7a6889) at kern_sysctl+0xfd sys_sysctl(ffff80002124c550,ffff8000213514b8,ffff800021351510) at sys_sysctl+0x209 syscall(ffff800021351580) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd97431707e0, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff829de780) at __mp_lock+0x122 __mp_acquire_count(ffffffff829de780,1) at __mp_acquire_count+0x48 mi_switch() at mi_switch+0x3d3 sleep_finish(ffff80002133acf0,1) at sleep_finish+0x198 tsleep(fffffd806f5c66c8,11,ffffffff825fc4a3,0) at tsleep+0x12c biowait(fffffd806f5c66c8) at biowait+0x91 bwrite(fffffd806f5c66c8) at bwrite+0x21b ffs_update(fffffd806c6a8cc8,1) at ffs_update+0x27d ufs_mkdir(ffff80002133b020) at ufs_mkdir+0x662 VOP_MKDIR(fffffd806c711948,ffff80002133b180,ffff80002133b1b0,ffff80002133b0b0) at VOP_MKDIR+0xbf domkdirat(ffff8000211f4548,ffffff9c,7f7ffffca6a0,1ff) at domkdirat+0x121 syscall(ffff80002133b330) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffca710, count: -16