Warning: Permanently added '10.128.1.63' (ED25519) to the list of known hosts. 2023/09/08 14:32:29 ignoring optional flag "sandboxArg"="0" 2023/09/08 14:32:29 parsed 1 programs 2023/09/08 14:32:34 executed programs: 0 witness: lock order reversal: 1st 0xffffffff82c75c58 &sched_lock (&sched_lock) 2nd 0xffff80002121ef30 &pr->ps_mtx (&pr->ps_mtx) lock order "&pr->ps_mtx"(mutex) -> "&sched_lock"(sched_lock) first seen at: #0 __mp_lock+0xa2 #1 donice+0x178 #2 syscall+0x5e2 #3 Xsyscall+0x128 lock order "&sched_lock"(sched_lock) -> "&pr->ps_mtx"(mutex) first seen at: #0 mtx_enter+0x3e #1 single_thread_set+0x35a #2 sigexit+0x90 #3 postsig+0x4a9 #4 userret+0x16e #5 syscall+0x4e7 #6 Xsyscall+0x128 Stopped at db_enter+0x1c: 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+0x1c witness_checkorder(ffff80002121ef30,9,0) at witness_checkorder+0x10b7 mtx_enter(ffff80002121ef20) at mtx_enter+0x3e single_thread_set(ffff8000211b22b0,0,1) at single_thread_set+0x35a sigexit(ffff8000211b22b0,6) at sigexit+0x90 postsig(ffff8000211b22b0,6,ffff8000212e5818) at postsig+0x4a9 userret(ffff8000211b22b0) at userret+0x16e syscall(ffff8000212e5950) at syscall+0x4e7 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x29b90476df0, count: -9 ddb{1}> show registers rdi 0x3 rsi 0xffffffff82c40e70 __sancov_gen_cov_switch_values.134 rbp 0xffff8000212e5520 rbx 0x3 rdx 0x3fd rcx 0 rax 0x1 r8 0xffff8000212e5490 r9 0x8080808080808080 r10 0x8df347f8b4221689 r11 0x91acd0622987243f r12 0xfffffd8003a0d7a0 r13 0 r14 0xfffffd8003a05b30 r15 0xfffffd80031cabc0 rip 0xffffffff82131f9c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff8000212e5510 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=521137 stat=onproc flags process=100000 proc=4002000 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000211f12b0,0xffffffff82d74600 process=0xffff80002121ee20 user=0xffff8000212e0000, vmspace=0xfffffd80741a1010 estcpu=21, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 23119 499372 92727 0 4 0x182000 syz-executor.0 *23119 521137 92727 0 7 0x4102000 syz-executor.0 92727 105318 88578 0 3 0x82 nanoslp syz-executor.0 88578 228418 70361 0 3 0x2000082 thrsleep syz-execprog 88578 397991 70361 0 3 0x6000082 nanoslp syz-execprog 88578 116194 70361 0 3 0x6000082 thrsleep syz-execprog 88578 289502 70361 0 3 0x6000082 thrsleep syz-execprog 88578 89347 70361 0 3 0x6000082 wait syz-execprog 88578 192804 70361 0 3 0x6000082 thrsleep syz-execprog 88578 142769 70361 0 3 0x6000082 thrsleep syz-execprog 88578 269173 70361 0 3 0x6000082 kqread syz-execprog 88578 269194 70361 0 3 0x6000082 thrsleep syz-execprog 88578 173974 70361 0 3 0x6000082 thrsleep syz-execprog 70361 184577 7273 0 3 0x10008a sigsusp ksh 7273 220434 90419 0 3 0x9a kqread sshd 13434 318383 1 0 3 0x100083 ttyin getty 90419 470835 1 0 3 0x88 kqread sshd 38056 198213 39110 74 3 0x1100092 bpf pflogd 39110 459271 1 0 3 0x80 netio pflogd 46588 78144 10317 73 3 0x1100090 kqread syslogd 10317 317158 1 0 3 0x100082 netio syslogd 72151 349215 1 0 3 0x100080 kqread resolvd 70710 235487 19458 77 3 0x100092 kqread dhcpleased 63881 342045 19458 77 3 0x100092 kqread dhcpleased 19458 389848 1 0 3 0x80 kqread dhcpleased 91485 159283 0 0 3 0x14200 bored smr 33979 445321 0 0 7 0x14200 zerothread 50340 151531 0 0 3 0x14200 aiodoned aiodoned 5898 34709 0 0 3 0x14200 syncer update 69180 320536 0 0 3 0x14200 cleaner cleaner 97715 389328 0 0 3 0x14200 reaper reaper 68353 155411 0 0 3 0x14200 pgdaemon pagedaemon 27388 150794 0 0 3 0x14200 bored viomb 49643 116829 0 0 3 0x40014200 acpi0 acpi0 21883 516086 0 0 3 0x40014200 idle1 9414 249023 0 0 3 0x14200 bored softnet3 74471 496373 0 0 3 0x14200 bored softnet2 51934 494211 0 0 3 0x14200 bored softnet1 33826 395687 0 0 3 0x14200 bored softnet0 64542 349032 0 0 3 0x14200 bored systqmp 60653 377488 0 0 3 0x14200 bored systq 96254 319763 0 0 3 0x40014200 bored softclock 85411 238102 0 0 3 0x40014200 idle0 1 240260 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive sched_lock &sched_lock r = 0 (0xffffffff82c75c58) #0 witness_lock+0x447 #1 single_thread_set+0x179 #2 sigexit+0x90 #3 postsig+0x4a9 #4 userret+0x16e #5 syscall+0x4e7 #6 Xsyscall+0x128 Process 23119 (syz-executor.0) thread 0xffff8000211b22b0 (521137) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82d78a60) #0 witness_lock+0x447 #1 postsig+0x49e #2 userret+0x16e #3 syscall+0x4e7 #4 Xsyscall+0x128 exclusive sched_lock &sched_lock r = 0 (0xffffffff82c75c58) #0 witness_lock+0x447 #1 single_thread_set+0x179 #2 sigexit+0x90 #3 postsig+0x4a9 #4 userret+0x16e #5 syscall+0x4e7 #6 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10165 6458K 6458K 78643K 11243 0 pcb 13 8K 8K 78643K 13 0 rtable 80 2K 2K 78643K 144 0 pf 18 7K 10K 78643K 29 0 ifaddr 17 10K 10K 78643K 17 0 ifgroup 27 1K 1K 78643K 27 0 counters 46 34K 34K 78643K 46 0 ioctlops 0 0K 4K 78643K 1476 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1176 74K 74K 78643K 1192 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 4 9K 13K 78643K 23 0 proc 67 91K 103K 78643K 330 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 1K 78643K 299 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 8 62K 64K 78643K 10 0 UVM amap 169 15K 16K 78643K 2932 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 1 5904K 5968K 78643K 3449 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 22 0 19 1 0 1 1 0 8 0 rtentry 112 34 0 1 1 0 1 1 0 8 0 unpcb 144 35 0 20 1 0 1 1 0 8 0 syncache 304 5 0 5 1 0 1 1 0 8 1 tcpqe 32 178 0 178 1 1 0 1 0 8 0 tcpcb 808 8 0 5 1 0 1 1 0 8 0 arp 120 4 0 0 1 0 1 1 0 8 0 inpcb 368 37 0 31 1 0 1 1 0 8 0 nd6 136 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 0 1 0 1 1 0 8 0 pfstkey 128 11 0 0 1 0 1 1 0 8 0 pfstate 376 11 0 0 2 0 2 2 0 8 0 pfrule 1344 21 0 15 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 145 0 0 10 0 10 10 0 8 0 art_table 32 146 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 1465 0 52 89 0 89 89 0 8 0 ffsino 272 1465 0 52 95 0 95 95 0 8 0 nchpl 144 1704 0 63 61 0 61 61 0 8 0 uvmvnodes 80 1479 0 0 31 0 31 31 0 8 0 vnodes 216 1479 0 0 83 0 83 83 0 8 0 namei 1024 5490 0 5490 2 0 2 2 0 8 2 percpumem 16 36 0 0 1 0 1 1 0 8 0 kstatmem 264 10 0 0 1 0 1 1 0 8 0 scxspl 216 6205 0 6205 3 1 2 2 1 8 2 plimitpl 152 28 0 19 1 0 1 1 0 8 0 sigapl 424 368 0 334 6 0 6 6 0 8 1 knotepl 120 70 0 0 3 0 3 3 0 8 0 kqueuepl 216 21 0 13 1 0 1 1 0 8 0 pipepl 320 118 0 111 2 0 2 2 0 8 1 fdescpl 496 351 0 334 4 0 4 4 0 8 1 filepl 152 1538 0 1468 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 104 71 0 59 1 0 1 1 0 8 0 zombiepl 144 334 0 334 1 0 1 1 0 8 1 processpl 1072 368 0 334 4 0 4 4 0 8 1 procpl 680 378 0 334 5 0 5 5 0 8 1 sockpl 488 94 0 70 4 0 4 4 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 263 0 0 33 0 33 33 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 278 0 0 18 0 18 18 0 8 0 bufpl 288 4105 0 141 284 0 284 284 0 8 0 anonpl 24 167654 0 163727 61 2 59 59 0 186 33 amapchunkpl 152 9674 0 9269 28 0 28 28 0 158 10 amappl16 200 4457 0 4393 6 1 5 5 0 8 0 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 174 0 162 2 0 2 2 0 8 1 amappl13 176 10 0 9 2 1 1 1 0 8 0 amappl12 168 931 0 913 3 1 2 2 0 8 1 amappl11 160 52 0 37 1 0 1 1 0 8 0 amappl10 152 15 0 11 1 0 1 1 0 8 0 amappl9 144 245 0 245 1 0 1 1 0 8 1 amappl8 136 110 0 87 2 0 2 2 0 8 1 amappl7 128 59 0 54 2 0 2 2 0 8 0 amappl6 120 187 0 170 2 0 2 2 0 8 1 amappl5 112 136 0 125 1 0 1 1 0 8 0 amappl4 104 548 0 507 3 0 3 3 0 8 1 amappl3 96 2249 0 2202 2 0 2 2 0 8 0 amappl2 88 606 0 550 3 0 3 3 0 8 1 amappl1 80 10290 0 9788 24 1 23 23 0 8 12 amappl 88 2485 0 2381 5 0 5 5 0 92 2 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 351 0 334 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 351 0 334 1 0 1 1 0 8 0 vmmpekpl 168 9597 0 9575 2 0 2 2 0 8 0 vmmpepl 168 41078 0 39742 118 1 117 117 0 357 58 vmsppl 464 350 0 334 4 0 4 4 0 8 1 rwobjpl 56 19568 0 17200 49 2 47 47 0 8 8 pdppl 4096 710 0 668 82 16 66 66 0 8 24 pvpl 32 363232 0 354762 370 3 367 367 0 265 293 pmappl 248 350 0 334 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 629 0 18 18 0 18 18 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82b9dff0) at x86_ipi_db+0x1e x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82c75a50) at __mp_lock+0x122 yield() at yield+0x37 uvm_pagezero_thread(ffff8000211b2aa8) at uvm_pagezero_thread+0x6d end trace frame: 0x0, count: -6 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x1c: addq $0x8,%rsp ddb{1}> trace db_enter() at db_enter+0x1c witness_checkorder(ffff80002121ef30,9,0) at witness_checkorder+0x10b7 mtx_enter(ffff80002121ef20) at mtx_enter+0x3e single_thread_set(ffff8000211b22b0,0,1) at single_thread_set+0x35a sigexit(ffff8000211b22b0,6) at sigexit+0x90 postsig(ffff8000211b22b0,6,ffff8000212e5818) at postsig+0x4a9 userret(ffff8000211b22b0) at userret+0x16e syscall(ffff8000212e5950) at syscall+0x4e7 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x29b90476df0, count: -9 ddb{1}>