Warning: Permanently added '10.128.0.157' (ED25519) to the list of known hosts. 2023/09/08 06:45:38 ignoring optional flag "sandboxArg"="0" 2023/09/08 06:45:38 parsed 1 programs 2023/09/08 06:45:43 executed programs: 0 witness: lock order reversal: 1st 0xffffffff82c75c58 &sched_lock (&sched_lock) 2nd 0xffff800021223790 &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(ffff800021223790,9,0) at witness_checkorder+0x10b7 mtx_enter(ffff800021223780) at mtx_enter+0x3e single_thread_set(ffff8000211f5808,0,1) at single_thread_set+0x35a sigexit(ffff8000211f5808,6) at sigexit+0x90 postsig(ffff8000211f5808,6,ffff800021299318) at postsig+0x4a9 userret(ffff8000211f5808) at userret+0x16e syscall(ffff800021299450) at syscall+0x4e7 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x96ae511d7b0, count: -9 ddb{1}> show registers rdi 0x3 rsi 0xffffffff82c40e70 __sancov_gen_cov_switch_values.134 rbp 0xffff800021299020 rbx 0x3 rdx 0x3fd rcx 0 rax 0x1 r8 0xffff800021298f90 r9 0x8080808080808080 r10 0x2321d3ac6e5b94ee r11 0x8080a6f1d60ff34d r12 0xfffffd8003a0d900 r13 0 r14 0xfffffd8003a05450 r15 0xfffffd80031cabc0 rip 0xffffffff82131f9c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff800021299010 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=243137 stat=onproc flags process=100000 proc=4002000 pri=32, usrpri=54, nice=20 forw=0xffffffffffffffff, list=0xffff8000211f42c8,0xffffffff82d74600 process=0xffff800021223680 user=0xffff800021294000, vmspace=0xfffffd807eff8000 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 97004 286880 96036 0 4 0x182000 syz-executor.0 *97004 243137 96036 0 7 0x4102000 syz-executor.0 96036 159055 35744 0 3 0x82 nanoslp syz-executor.0 35744 501858 47980 0 3 0x2000082 thrsleep syz-execprog 35744 48257 47980 0 3 0x6000082 thrsleep syz-execprog 35744 77352 47980 0 3 0x6000082 wait syz-execprog 35744 282761 47980 0 3 0x6000082 thrsleep syz-execprog 35744 38733 47980 0 3 0x6000082 thrsleep syz-execprog 35744 441730 47980 0 3 0x6000082 thrsleep syz-execprog 35744 141853 47980 0 3 0x6000082 thrsleep syz-execprog 35744 442876 47980 0 3 0x6000082 kqread syz-execprog 35744 65459 47980 0 3 0x6000082 thrsleep syz-execprog 35744 119940 47980 0 3 0x6000082 thrsleep syz-execprog 35744 181920 47980 0 3 0x6000082 thrsleep syz-execprog 47980 374166 55177 0 3 0x10008a sigsusp ksh 55177 60954 4966 0 3 0x9a kqread sshd 33964 281778 1 0 3 0x100083 ttyin getty 4966 328691 1 0 3 0x88 kqread sshd 95709 521683 48126 74 3 0x1100092 bpf pflogd 48126 149404 1 0 3 0x80 netio pflogd 59106 517222 23392 73 3 0x1100090 kqread syslogd 23392 489306 1 0 3 0x100082 netio syslogd 6874 14010 1 0 3 0x100080 kqread resolvd 11907 321911 21261 77 3 0x100092 kqread dhcpleased 51139 518262 21261 77 3 0x100092 kqread dhcpleased 21261 243701 1 0 3 0x80 kqread dhcpleased 70138 278028 0 0 3 0x14200 bored smr 17478 170566 0 0 3 0x14200 pgzero zerothread 60034 363454 0 0 3 0x14200 aiodoned aiodoned 36431 325459 0 0 3 0x14200 syncer update 95151 215210 0 0 3 0x14200 cleaner cleaner 73094 92306 0 0 3 0x14200 reaper reaper 12772 296665 0 0 3 0x14200 pgdaemon pagedaemon 35131 470653 0 0 3 0x14200 bored viomb 93345 435666 0 0 3 0x40014200 acpi0 acpi0 28926 155672 0 0 3 0x40014200 idle1 26250 508780 0 0 3 0x14200 bored softnet3 14284 134970 0 0 3 0x14200 bored softnet2 8795 303383 0 0 3 0x14200 bored softnet1 65416 280873 0 0 3 0x14200 bored softnet0 60336 419466 0 0 3 0x14200 bored systqmp 46466 375245 0 0 3 0x14200 bored systq 37372 289948 0 0 3 0x40014200 bored softclock 60651 90541 0 0 7 0x40014200 idle0 1 264771 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 97004 (syz-executor.0) thread 0xffff8000211f5808 (243137) 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 146 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 25 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 302 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 15K 78643K 3040 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 3499 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 35 0 20 1 0 1 1 0 8 0 syncache 304 5 0 5 1 0 1 1 0 8 1 tcpqe 32 209 0 209 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 16 2 1 1 2 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 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 5505 0 5505 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 6203 0 6203 3 2 1 2 1 8 1 plimitpl 152 28 0 19 1 0 1 1 0 8 0 sigapl 424 371 0 337 7 1 6 6 0 8 2 knotepl 120 72 0 0 3 0 3 3 0 8 0 kqueuepl 216 21 0 13 1 0 1 1 0 8 0 pipepl 320 119 0 112 2 0 2 2 0 8 1 fdescpl 496 354 0 337 4 0 4 4 0 8 1 filepl 152 1544 0 1474 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 337 0 337 1 0 1 1 0 8 1 processpl 1072 371 0 337 4 0 4 4 0 8 1 procpl 680 382 0 337 6 1 5 5 0 8 1 sockpl 488 95 0 71 4 0 4 4 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 245 0 0 31 0 31 31 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 263 0 0 17 0 17 17 0 8 0 bufpl 288 4104 0 136 284 0 284 284 0 8 0 anonpl 24 190431 0 186645 59 1 58 58 0 186 31 amapchunkpl 152 10260 0 9859 29 1 28 29 0 158 12 amappl16 200 5400 0 5342 5 0 5 5 0 8 0 amappl15 192 16 0 15 1 0 1 1 0 8 0 amappl14 184 148 0 136 2 0 2 2 0 8 1 amappl13 176 13 0 12 2 1 1 1 0 8 0 amappl12 168 954 0 935 3 1 2 2 0 8 1 amappl11 160 52 0 38 1 0 1 1 0 8 0 amappl10 152 19 0 16 1 0 1 1 0 8 0 amappl9 144 174 0 174 1 0 1 1 0 8 1 amappl8 136 117 0 95 2 0 2 2 0 8 1 amappl7 128 49 0 43 1 0 1 1 0 8 0 amappl6 120 216 0 199 2 0 2 2 0 8 1 amappl5 112 151 0 138 1 0 1 1 0 8 0 amappl4 104 555 0 515 3 0 3 3 0 8 1 amappl3 96 2534 0 2489 3 1 2 2 0 8 0 amappl2 88 623 0 567 3 0 3 3 0 8 1 amappl1 80 10277 0 9776 23 0 23 23 0 8 11 amappl 88 2578 0 2476 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 354 0 337 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 354 0 337 1 0 1 1 0 8 0 vmmpekpl 168 9664 0 9639 2 0 2 2 0 8 0 vmmpepl 168 42717 0 41394 118 1 117 118 0 357 55 vmsppl 464 353 0 337 4 0 4 4 0 8 1 rwobjpl 56 20830 0 18473 48 1 47 48 0 8 7 pdppl 4096 716 0 674 84 22 62 66 0 8 20 pvpl 32 386834 0 378481 363 22 341 360 0 265 266 pmappl 248 353 0 337 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 628 0 25 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(ffffffff82d78858) at __mp_lock+0x122 softintr_dispatch(0) at softintr_dispatch+0x52 Xsoftclock() at Xsoftclock+0x27 acpicpu_idle() at acpicpu_idle+0x312 sched_idle(ffffffff82b9dff0) at sched_idle+0x41e end trace frame: 0x0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x1c: addq $0x8,%rsp ddb{1}> trace db_enter() at db_enter+0x1c witness_checkorder(ffff800021223790,9,0) at witness_checkorder+0x10b7 mtx_enter(ffff800021223780) at mtx_enter+0x3e single_thread_set(ffff8000211f5808,0,1) at single_thread_set+0x35a sigexit(ffff8000211f5808,6) at sigexit+0x90 postsig(ffff8000211f5808,6,ffff800021299318) at postsig+0x4a9 userret(ffff8000211f5808) at userret+0x16e syscall(ffff800021299450) at syscall+0x4e7 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x96ae511d7b0, count: -9 ddb{1}>