Warning: Permanently added '10.128.0.74' (ED25519) to the list of known hosts. 2023/09/08 08:11:01 ignoring optional flag "sandboxArg"="0" 2023/09/08 08:11:01 parsed 1 programs 2023/09/08 08:11:06 executed programs: 0 witness: lock order reversal: 1st 0xffffffff82cc8bd0 &sched_lock (&sched_lock) 2nd 0xffff8000ffff9e68 &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(ffff8000ffff9e68,9,0) at witness_checkorder+0x10b7 mtx_enter(ffff8000ffff9e58) at mtx_enter+0x3e single_thread_set(ffff8000211f42c0,0,1) at single_thread_set+0x35a sigexit(ffff8000211f42c0,6) at sigexit+0x90 postsig(ffff8000211f42c0,6,ffff800021297648) at postsig+0x4a9 userret(ffff8000211f42c0) at userret+0x16e syscall(ffff800021297780) at syscall+0x4e7 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x864f0801750, count: -9 ddb{1}> show registers rdi 0x3 rsi 0xffffffff82bf22f0 __sancov_gen_cov_switch_values.134 rbp 0xffff800021297350 rbx 0x3 rdx 0x3fd rcx 0 rax 0x1 r8 0xffff8000212972c0 r9 0x8080808080808080 r10 0xf8bd10c04c2a9178 r11 0x5c966c25459973f6 r12 0xfffffd8003a0a850 r13 0 r14 0xfffffd8003a030b0 r15 0xfffffd80031c7bc0 rip 0xffffffff81b6e27c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff800021297340 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=311971 stat=onproc flags process=100000 proc=4002000 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000211f5d50,0xffffffff82c90e98 process=0xffff8000ffff9d58 user=0xffff800021292000, vmspace=0xfffffd806f1501d8 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 90534 433827 66349 0 4 0x182000 syz-executor.0 *90534 311971 66349 0 7 0x4102000 syz-executor.0 66349 183627 5988 0 3 0x82 nanoslp syz-executor.0 5988 310834 67001 0 3 0x2000082 wait syz-execprog 5988 467400 67001 0 3 0x6000082 nanoslp syz-execprog 5988 432279 67001 0 3 0x6000082 thrsleep syz-execprog 5988 486424 67001 0 3 0x6000082 thrsleep syz-execprog 5988 336742 67001 0 3 0x6000082 thrsleep syz-execprog 5988 256071 67001 0 3 0x6000082 kqread syz-execprog 5988 175656 67001 0 3 0x6000082 thrsleep syz-execprog 5988 481191 67001 0 3 0x6000082 thrsleep syz-execprog 5988 30299 67001 0 3 0x6000082 thrsleep syz-execprog 5988 327572 67001 0 3 0x6000082 thrsleep syz-execprog 67001 125152 5418 0 3 0x10008a sigsusp ksh 5418 409700 56232 0 3 0x9a kqread sshd 46990 477048 1 0 3 0x100083 ttyin getty 56232 305561 1 0 3 0x88 kqread sshd 34724 494894 50091 73 3 0x1100090 kqread syslogd 50091 188630 1 0 3 0x100082 netio syslogd 56682 101309 1 0 3 0x100080 kqread resolvd 94707 458227 48957 77 3 0x100092 kqread dhcpleased 82592 187131 48957 77 3 0x100092 kqread dhcpleased 48957 460571 1 0 3 0x80 kqread dhcpleased 52543 284827 0 0 3 0x14200 bored smr 24617 34888 0 0 3 0x14200 pgzero zerothread 54221 115959 0 0 3 0x14200 aiodoned aiodoned 58618 399182 0 0 3 0x14200 syncer update 36390 19039 0 0 3 0x14200 cleaner cleaner 81206 401856 0 0 3 0x14200 reaper reaper 55742 309015 0 0 3 0x14200 pgdaemon pagedaemon 82078 521829 0 0 3 0x14200 bored viomb 32485 393618 0 0 3 0x40014200 acpi0 acpi0 25618 46381 0 0 3 0x40014200 idle1 43147 392722 0 0 3 0x14200 bored softnet3 33405 348404 0 0 3 0x14200 bored softnet2 95432 219959 0 0 3 0x14200 bored softnet1 14269 297452 0 0 3 0x14200 bored softnet0 41040 492518 0 0 3 0x14200 bored systqmp 20944 158929 0 0 3 0x14200 bored systq 17992 163843 0 0 3 0x40014200 bored softclock 50137 408803 0 0 7 0x40014200 idle0 1 361995 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 90534 (syz-executor.0) thread 0xffff8000211f42c0 (311971) 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 138 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 23 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 270 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 151 15K 15K 78643K 2720 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 3171 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 21 0 18 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 208 0 208 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 5171 0 5171 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 6400 0 6400 10 2 8 8 1 8 8 plimitpl 152 27 0 19 1 0 1 1 0 8 0 sigapl 424 337 0 305 5 0 5 5 0 8 1 knotepl 120 62 0 0 2 0 2 2 0 8 0 kqueuepl 216 21 0 13 1 0 1 1 0 8 0 pipepl 320 110 0 103 2 0 2 2 0 8 1 fdescpl 496 320 0 305 5 1 4 4 0 8 2 filepl 152 1383 0 1318 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 305 0 305 1 0 1 1 0 8 1 processpl 1072 337 0 305 3 0 3 3 0 8 0 procpl 680 347 0 305 5 0 5 5 0 8 1 sockpl 488 84 0 62 3 0 3 3 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 307 0 0 39 0 39 39 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 318 0 0 20 0 20 20 0 8 0 bufpl 288 4057 0 144 280 0 280 280 0 8 0 anonpl 24 179812 0 176245 63 8 55 55 0 186 29 amapchunkpl 152 9297 0 8928 27 1 26 26 0 158 10 amappl16 200 5013 0 4952 10 5 5 5 0 8 0 amappl15 192 11 0 11 1 1 0 1 0 8 0 amappl14 184 123 0 113 2 0 2 2 0 8 1 amappl13 176 70 0 68 2 1 1 1 0 8 0 amappl12 168 843 0 827 2 0 2 2 0 8 1 amappl11 160 58 0 47 1 0 1 1 0 8 0 amappl10 152 21 0 20 2 1 1 1 0 8 0 amappl9 144 225 0 224 2 1 1 1 0 8 0 amappl8 136 115 0 95 2 0 2 2 0 8 0 amappl7 128 58 0 49 2 0 2 2 0 8 0 amappl6 120 178 0 163 2 0 2 2 0 8 1 amappl5 112 142 0 134 1 0 1 1 0 8 0 amappl4 104 506 0 471 2 0 2 2 0 8 0 amappl3 96 2226 0 2189 2 0 2 2 0 8 1 amappl2 88 585 0 534 4 1 3 3 0 8 1 amappl1 80 9995 0 9535 23 1 22 22 0 8 11 amappl 88 2304 0 2210 4 0 4 4 0 92 1 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 321 0 306 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 321 0 306 1 0 1 1 0 8 0 vmmpekpl 168 9113 0 9091 2 0 2 2 0 8 0 vmmpepl 168 40068 0 38873 112 1 111 111 0 357 58 vmsppl 464 320 0 306 5 1 4 4 0 8 2 rwobjpl 56 19712 0 17443 46 1 45 45 0 8 9 pdppl 4096 650 0 612 78 24 54 62 0 8 16 pvpl 32 365453 0 357714 355 12 343 346 0 265 273 pmappl 248 320 0 306 3 1 2 2 0 8 1 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 627 0 26 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(ffffffff82ca0020) at __mp_lock+0x122 intr_handler(ffff80002116f0c0,ffff800000069c00) at intr_handler+0x62 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff82ca0020) at __mp_lock+0x122 intr_handler(ffff80002116f210,ffff80000067b200) at intr_handler+0x62 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __mp_lock(ffffffff82ca0020) at __mp_lock+0x120 softintr_dispatch(0) at softintr_dispatch+0x52 Xsoftclock() at Xsoftclock+0x27 acpicpu_idle() at acpicpu_idle+0x312 sched_idle(ffffffff82c05ff0) at sched_idle+0x41e end trace frame: 0x0, count: -14 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x1c: addq $0x8,%rsp ddb{1}> trace db_enter() at db_enter+0x1c witness_checkorder(ffff8000ffff9e68,9,0) at witness_checkorder+0x10b7 mtx_enter(ffff8000ffff9e58) at mtx_enter+0x3e single_thread_set(ffff8000211f42c0,0,1) at single_thread_set+0x35a sigexit(ffff8000211f42c0,6) at sigexit+0x90 postsig(ffff8000211f42c0,6,ffff800021297648) at postsig+0x4a9 userret(ffff8000211f42c0) at userret+0x16e syscall(ffff800021297780) at syscall+0x4e7 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x864f0801750, count: -9 ddb{1}>