Warning: Permanently added '10.128.0.42' (ED25519) to the list of known hosts. 2023/09/08 12:00:56 ignoring optional flag "sandboxArg"="0" 2023/09/08 12:00:56 parsed 1 programs 2023/09/08 12:01:01 executed programs: 0 witness: lock order reversal: 1st 0xffffffff82cc8bd0 &sched_lock (&sched_lock) 2nd 0xffff8000ffff9a38 &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(ffff8000ffff9a38,9,0) at witness_checkorder+0x10b7 mtx_enter(ffff8000ffff9a28) at mtx_enter+0x3e single_thread_set(ffff80002120d558,0,1) at single_thread_set+0x35a sigexit(ffff80002120d558,6) at sigexit+0x90 postsig(ffff80002120d558,6,ffff800021287888) at postsig+0x4a9 userret(ffff80002120d558) at userret+0x16e syscall(ffff8000212879c0) at syscall+0x4e7 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa11b3ce4360, count: -9 ddb{1}> show registers rdi 0x3 rsi 0xffffffff82bf22f0 __sancov_gen_cov_switch_values.134 rbp 0xffff800021287590 rbx 0x3 rdx 0x3fd rcx 0 rax 0x1 r8 0xffff800021287500 r9 0x8080808080808080 r10 0x7b8e6f30715ab5a5 r11 0xa71ddbf12d82d7e1 r12 0xfffffd8003a0a6f0 r13 0 r14 0xfffffd8003a03210 r15 0xfffffd80031c7bc0 rip 0xffffffff81b6e27c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff800021287580 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=38725 stat=onproc flags process=100000 proc=4002000 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80002120d800,0xffffffff82c90e98 process=0xffff8000ffff9928 user=0xffff800021282000, vmspace=0xfffffd806d72ecc0 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 44998 493637 12701 0 4 0x182000 syz-executor.0 *44998 38725 12701 0 7 0x4102000 syz-executor.0 12701 8624 20681 0 3 0x82 nanoslp syz-executor.0 20681 75707 38179 0 3 0x2000082 wait syz-execprog 20681 276705 38179 0 3 0x6000082 nanoslp syz-execprog 20681 351505 38179 0 3 0x6000082 kqread syz-execprog 20681 92246 38179 0 3 0x6000082 thrsleep syz-execprog 20681 58344 38179 0 3 0x6000082 thrsleep syz-execprog 20681 317200 38179 0 3 0x6000082 thrsleep syz-execprog 20681 350759 38179 0 3 0x6000082 thrsleep syz-execprog 20681 129918 38179 0 3 0x6000082 thrsleep syz-execprog 20681 159457 38179 0 3 0x6000082 thrsleep syz-execprog 20681 455011 38179 0 3 0x6000082 thrsleep syz-execprog 20681 73040 38179 0 3 0x6000082 thrsleep syz-execprog 20681 467993 38179 0 3 0x6000082 thrsleep syz-execprog 38179 253097 38641 0 3 0x10008a sigsusp ksh 38641 55874 10683 0 3 0x9a kqread sshd 70513 123881 1 0 3 0x100083 ttyin getty 10683 77581 1 0 3 0x88 kqread sshd 14069 47146 12818 73 3 0x1100090 kqread syslogd 12818 203451 1 0 3 0x100082 netio syslogd 47925 85676 1 0 3 0x100080 kqread resolvd 77615 269218 26178 77 3 0x100092 kqread dhcpleased 74354 492001 26178 77 3 0x100092 kqread dhcpleased 26178 269343 1 0 3 0x80 kqread dhcpleased 38216 311123 0 0 3 0x14200 bored smr 86619 121386 0 0 7 0x14200 zerothread 46936 298392 0 0 3 0x14200 aiodoned aiodoned 64239 8110 0 0 3 0x14200 syncer update 44254 77617 0 0 3 0x14200 cleaner cleaner 98367 249742 0 0 3 0x14200 reaper reaper 46547 508354 0 0 3 0x14200 pgdaemon pagedaemon 8977 101472 0 0 3 0x14200 bored viomb 70067 505324 0 0 3 0x40014200 acpi0 acpi0 14967 302218 0 0 3 0x40014200 idle1 17739 49396 0 0 3 0x14200 bored softnet3 42782 386343 0 0 3 0x14200 bored softnet2 54138 441207 0 0 3 0x14200 bored softnet1 65799 11261 0 0 3 0x14200 bored softnet0 96359 459352 0 0 3 0x14200 bored systqmp 51699 334317 0 0 3 0x14200 bored systq 8501 70029 0 0 3 0x40014200 bored softclock 81469 245519 0 0 3 0x40014200 idle0 1 328439 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 (0xffffffff82cc8bd0) #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 44998 (syz-executor.0) thread 0xffff80002120d558 (38725) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82ca0228) #0 witness_lock+0x447 #1 postsig+0x49e #2 userret+0x16e #3 syscall+0x4e7 #4 Xsyscall+0x128 exclusive sched_lock &sched_lock r = 0 (0xffffffff82cc8bd0) #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 10159 6391K 6420K 78643K 11237 0 pcb 13 8K 8K 78643K 13 0 rtable 80 2K 2K 78643K 142 0 pf 15 6K 6K 78643K 15 0 ifaddr 16 10K 10K 78643K 16 0 ifgroup 22 1K 1K 78643K 22 0 counters 46 34K 34K 78643K 46 0 ioctlops 0 0K 2K 78643K 22 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1174 73K 74K 78643K 1187 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 24 0 proc 55 78K 91K 78643K 274 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 276 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 161 15K 15K 78643K 2828 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 6 0K 0K 78643K 6 0 temp 1 5904K 5968K 78643K 3206 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 23 0 20 1 0 1 1 0 8 0 rtentry 112 34 0 1 1 0 1 1 0 8 0 unpcb 144 33 0 20 1 0 1 1 0 8 0 syncache 304 5 0 5 1 0 1 1 0 8 1 tcpqe 32 224 0 224 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 30 0 24 1 0 1 1 0 8 0 nd6 136 3 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 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 1455 0 51 89 0 89 89 0 8 1 ffsino 272 1455 0 51 94 0 94 94 0 8 0 nchpl 144 1692 0 61 61 0 61 61 0 8 0 uvmvnodes 80 1464 0 0 30 0 30 30 0 8 0 vnodes 216 1464 0 0 82 0 82 82 0 8 0 namei 1024 5201 0 5201 2 0 2 2 0 8 2 percpumem 16 36 0 0 1 0 1 1 0 8 0 kstatmem 264 8 0 0 1 0 1 1 0 8 0 scxspl 216 6194 0 6194 3 2 1 2 1 8 1 plimitpl 152 27 0 19 1 0 1 1 0 8 0 sigapl 424 343 0 311 5 0 5 5 0 8 1 knotepl 120 68 0 0 3 0 3 3 0 8 0 kqueuepl 216 21 0 13 1 0 1 1 0 8 0 pipepl 320 112 0 105 2 0 2 2 0 8 1 fdescpl 496 326 0 311 4 0 4 4 0 8 1 filepl 152 1395 0 1330 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 18 0 9 1 0 1 1 0 8 0 pgrppl 48 18 0 9 1 0 1 1 0 8 0 ucredpl 104 66 0 56 1 0 1 1 0 8 0 zombiepl 144 311 0 311 1 0 1 1 0 8 1 processpl 1072 343 0 311 3 0 3 3 0 8 0 procpl 680 355 0 311 5 0 5 5 0 8 1 sockpl 488 86 0 64 4 1 3 4 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 269 0 0 34 0 34 34 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 272 0 0 17 0 17 17 0 8 0 bufpl 288 4053 0 144 280 0 280 280 0 8 0 anonpl 24 194362 0 190685 58 1 57 57 0 186 30 amapchunkpl 152 10027 0 9618 28 0 28 28 0 158 9 amappl16 200 5433 0 5373 5 0 5 5 0 8 0 amappl15 192 13 0 13 2 1 1 1 0 8 1 amappl14 184 140 0 129 2 0 2 2 0 8 1 amappl13 176 15 0 15 1 1 0 1 0 8 0 amappl12 168 867 0 850 2 0 2 2 0 8 1 amappl11 160 84 0 72 1 0 1 1 0 8 0 amappl10 152 20 0 15 1 0 1 1 0 8 0 amappl9 144 288 0 288 1 0 1 1 0 8 1 amappl8 136 111 0 91 2 0 2 2 0 8 1 amappl7 128 58 0 51 2 0 2 2 0 8 0 amappl6 120 172 0 156 2 0 2 2 0 8 1 amappl5 112 157 0 149 1 0 1 1 0 8 0 amappl4 104 503 0 469 3 0 3 3 0 8 1 amappl3 96 2315 0 2273 2 0 2 2 0 8 0 amappl2 88 576 0 527 3 0 3 3 0 8 1 amappl1 80 10013 0 9552 22 0 22 22 0 8 12 amappl 88 2399 0 2298 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 326 0 311 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 326 0 311 1 0 1 1 0 8 0 vmmpekpl 168 9211 0 9190 2 0 2 2 0 8 0 vmmpepl 168 41191 0 39976 114 2 112 112 0 357 59 vmsppl 464 325 0 311 4 0 4 4 0 8 1 rwobjpl 56 20332 0 18051 47 1 46 46 0 8 8 pdppl 4096 660 0 622 80 22 58 62 0 8 20 pvpl 32 382326 0 374478 351 2 349 351 0 265 275 pmappl 248 325 0 311 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 621 0 24 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(ffffffff82c05ff0) at x86_ipi_db+0x1e x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82cc89c8) at __mp_lock+0x122 yield() at yield+0x37 uvm_pagezero_thread(ffff8000211b2800) 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(ffff8000ffff9a38,9,0) at witness_checkorder+0x10b7 mtx_enter(ffff8000ffff9a28) at mtx_enter+0x3e single_thread_set(ffff80002120d558,0,1) at single_thread_set+0x35a sigexit(ffff80002120d558,6) at sigexit+0x90 postsig(ffff80002120d558,6,ffff800021287888) at postsig+0x4a9 userret(ffff80002120d558) at userret+0x16e syscall(ffff8000212879c0) at syscall+0x4e7 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa11b3ce4360, count: -9 ddb{1}>