panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_lock.c", line 63 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *187597 43418 32767 0x1810 0x4080080 1 syz-executor.6 464244 61218 0 0x12 0 0 sshd db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff800028e2b7a8,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff800028e2b7a8,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800027c0e890,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800027c0e890,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff800028e2b7a8,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(dde57d7e9e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff800028e2b7a8,ffff800027c0ea20,ffff800027c0ea80) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800027c0eaf0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027c0eaf0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdde2c10ab10, count: 3 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_lock.c", line 63 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff800028e2b7a8,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff800028e2b7a8,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800027c0e890,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800027c0e890,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff800028e2b7a8,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(dde57d7e9e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff800028e2b7a8,ffff800027c0ea20,ffff800027c0ea80) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800027c0eaf0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027c0eaf0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdde2c10ab10, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800027c0e650 rbx 0xffff800020de9bb7 rdx 0xffff800000bd6900 rcx 0 rax 0xffff800028e2b7a8 r8 0x101010101010101 r9 0x8080808080808080 r10 0x88a6bb6a456bbec2 r11 0x85eb62ddaae70d31 r12 0xffff800020de99b8 r13 0 r14 0 r15 0x1 rip 0xffffffff813e2898 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800027c0e640 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.6) pid=187597 stat=onproc flags process=1810 proc=4080080 pri=66, usrpri=66, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff62b0,0xffff800028e2a7f8 process=0xffff8000fffe8440 user=0xffff800027c09000, vmspace=0xfffffd806c6fea28 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 87650 54977 43431 32767 2 0x10 syz-executor.1 43024 339838 90527 32767 2 0x10 syz-executor.4 90341 132214 28557 32767 2 0x10 syz-executor.5 90341 324451 28557 32767 2 0x4000010 syz-executor.5 12334 44373 74854 32767 2 0x10 syz-executor.2 12334 280967 74854 32767 3 0x4000090 fsleep syz-executor.2 43418 23620 90692 32767 2 0x3810 syz-executor.6 *43418 187597 90692 32767 7 0x4081890 syz-executor.6 3401 476308 91002 32767 2 0x10 syz-executor.3 27439 95606 67108 32767 2 0x10 syz-executor.7 90527 359295 97337 32767 3 0x90 nanoslp syz-executor.4 97337 62587 82747 0 3 0x82 wait syz-executor.4 59062 213508 87174 32767 2 0x10 syz-executor.0 87174 473009 82747 0 3 0x82 wait syz-executor.0 67108 11878 18276 32767 2 0x10 syz-executor.7 18276 174790 82747 0 3 0x82 wait syz-executor.7 13061 204260 0 0 3 0x14200 bored sosplice 28557 25076 93030 32767 3 0x90 nanoslp syz-executor.5 90692 205974 36776 32767 2 0x10 syz-executor.6 36776 199177 82747 0 3 0x82 wait syz-executor.6 93030 480254 82747 0 3 0x82 wait syz-executor.5 74854 311356 32861 32767 2 0x10 syz-executor.2 91002 304527 25884 32767 2 0x10 syz-executor.3 43431 13314 68350 32767 2 0x10 syz-executor.1 25884 273864 82747 0 3 0x82 wait syz-executor.3 32861 374720 82747 0 3 0x82 wait syz-executor.2 68350 384396 82747 0 3 0x82 wait syz-executor.1 82747 319837 96686 0 3 0x82 thrsleep syz-fuzzer 82747 23749 96686 0 3 0x4000082 nanoslp syz-fuzzer 82747 433952 96686 0 3 0x4000082 thrsleep syz-fuzzer 82747 154600 96686 0 3 0x4000082 thrsleep syz-fuzzer 82747 181568 96686 0 3 0x4000082 kqread syz-fuzzer 82747 418096 96686 0 3 0x4000082 thrsleep syz-fuzzer 82747 218042 96686 0 3 0x4000082 nanoslp syz-fuzzer 82747 459605 96686 0 3 0x4000082 thrsleep syz-fuzzer 82747 117917 96686 0 3 0x4000082 thrsleep syz-fuzzer 96686 111070 61218 0 3 0x10008a sigsusp ksh 61218 464244 9371 0 7 0x12 sshd 80573 315136 1 0 3 0x100083 ttyin getty 9371 245531 1 0 3 0x88 kqread sshd 76564 176156 84327 73 3 0x1100090 kqread syslogd 84327 390517 1 0 3 0x100082 netio syslogd 80056 38765 1 0 3 0x100080 kqread resolvd 24039 19109 44609 77 3 0x100092 kqread dhcpleased 62512 497003 44609 77 3 0x100092 kqread dhcpleased 44609 210872 1 0 3 0x80 kqread dhcpleased 11445 12982 0 0 3 0x14200 bored smr 14275 482257 0 0 2 0x14200 zerothread 28389 282392 0 0 3 0x14200 aiodoned aiodoned 5238 392271 0 0 3 0x14200 syncer update 82436 40803 0 0 3 0x14200 cleaner cleaner 85882 440054 0 0 3 0x14200 reaper reaper 2652 28154 0 0 3 0x14200 pgdaemon pagedaemon 3790 42513 0 0 3 0x14200 bored viomb 16912 96006 0 0 3 0x40014200 acpi0 acpi0 15739 304873 0 0 3 0x40014200 idle1 7823 521854 0 0 3 0x14200 bored softnet 53723 512901 0 0 3 0x14200 bored softnet 5717 166633 0 0 3 0x14200 bored softnet 27599 407558 0 0 3 0x14200 bored softnet 7658 109183 0 0 3 0x14200 bored systqmp 91866 494938 0 0 3 0x14200 bored systq 26790 245761 0 0 3 0x40014200 bored softclock 92012 469239 0 0 3 0x40014200 idle0 1 11951 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 (0xffffffff82a153e0) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3d4 sys/kern/sched_bsd.c:419 #3 single_thread_check_locked+0x17f sys/kern/kern_sig.c:2045 #4 single_thread_check+0x4b sys/kern/kern_sig.c:2057 #5 sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] #5 sleep_finish+0x75 sys/kern/kern_synch.c:400 #6 rwsleep+0xd5 sys/kern/kern_synch.c:314 #7 futex_wait+0x13c sys/kern/sys_futex.c:260 #8 sys_futex+0xf8 sys/kern/sys_futex.c:111 #9 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #10 Xsyscall+0x128 Process 61218 (sshd) thread 0xffff800021243268 (464244) exclusive rwlock vmmaplk r = 0 (0xfffffd807effd018) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 vm_map_lock_ln+0xda sys/uvm/uvm_map.c:5457 #3 uvm_mapanon+0x22f sys/uvm/uvm_map.c:1031 #4 sys_mmap+0x870 uvm_mmapanon sys/uvm/uvm_mmap.c:986 [inline] #4 sys_mmap+0x870 sys/uvm/uvm_mmap.c:425 #5 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82ad3210) #0 witness_lock+0x44d #1 syscall+0x3e8 mi_syscall sys/sys/syscall_mi.h:93 [inline] #1 syscall+0x3e8 sys/arch/amd64/amd64/trap.c:585 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10195 6410K 6420K 78643K 11310 0 pcb 13 10K 12K 78643K 15 0 rtable 238 6K 7K 78643K 1132 0 ifaddr 81 17K 17K 78643K 139 0 sysctl 3 1K 1K 78643K 3 0 counters 56 35K 35K 78643K 72 0 ioctlops 0 0K 2K 78643K 139 0 iov 0 0K 28K 78643K 1514 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1271 79K 79K 78643K 3222 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 122 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 1269 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 25 93K 125K 78643K 7143 0 sigio 0 0K 0K 78643K 168 0 proc 56 78K 115K 78643K 1263 0 subproc 104 6K 6K 78643K 208 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 572 0 in_multi 99 6K 6K 78643K 278 0 ether_multi 1 0K 0K 78643K 43 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 169 758K 758K 78643K 169 0 exec 0 0K 2K 78643K 1579 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 282 85K 101K 78643K 45498 0 UVM aobj 131 4K 4K 78643K 137 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 249 0 NDP 11 0K 2K 78643K 51 0 temp 124 4722K 4802K 78643K 20414 0 kqueue 12 18K 24K 78643K 614 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 569 0 566 7 6 1 3 0 8 0 rtentry 112 213 0 101 4 0 4 4 0 8 0 unpcb 136 14296 0 14283 74 71 3 9 0 8 2 syncache 296 104 0 104 14 14 0 1 0 8 0 tcpqe 32 87 0 87 13 13 0 1 0 8 0 tcpcb 736 5949 0 5941 78 69 9 12 0 8 7 arp 120 37 0 18 1 0 1 1 0 8 0 ipq 40 3 0 3 1 1 0 1 0 8 0 ipqe 40 6 0 6 1 1 0 1 0 8 0 inpcb 320 8989 0 8976 82 75 7 12 0 8 5 ip6q 72 4 0 4 1 1 0 1 0 8 0 ip6af 40 12 0 12 1 1 0 1 0 8 0 nd6 48 59 0 34 1 0 1 1 0 8 0 kcovpl 48 16 0 8 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 876 0 413 33 4 29 30 0 8 0 art_table 32 877 0 413 4 0 4 4 0 8 0 art_node 16 212 0 110 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 1 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 1267 0 1257 1 0 1 1 0 8 0 shmpl 112 134 0 6 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 11595 0 10148 91 0 91 91 0 8 0 ffsino 272 11595 0 10148 97 0 97 97 0 8 0 nchpl 144 21965 0 20330 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 75751 0 75751 5 4 1 2 0 8 1 percpumem 16 48 0 8 1 0 1 1 0 8 0 kstatmem 264 38 0 16 2 0 2 2 0 8 0 scxspl 216 63796 0 63796 28 27 1 7 0 8 1 plimitpl 152 1797 0 1774 7 6 1 2 0 8 0 sigapl 424 7406 0 7352 7 0 7 7 0 8 0 futexpl 64 68569 0 68567 3 2 1 1 0 8 0 knotepl 120 646 0 0 14 0 14 14 0 8 0 kqueuepl 224 2057 0 2049 33 32 1 5 0 8 0 pipepl 336 1834 0 1806 38 35 3 11 0 8 0 fdescpl 496 7388 0 7352 7 2 5 6 0 8 0 filepl 152 60936 0 60702 90 77 13 22 0 8 3 lockfpl 104 1499 0 1497 2 0 2 2 0 8 1 lockfspl 48 342 0 340 1 0 1 1 0 8 0 sessionpl 144 31 0 15 1 0 1 1 0 8 0 pgrppl 48 55 0 39 1 0 1 1 0 8 0 ucredpl 104 11215 0 11197 1 0 1 1 0 8 0 zombiepl 144 7352 0 7352 2 1 1 1 0 8 1 processpl 1064 7406 0 7352 5 1 4 5 0 8 0 procpl 672 22057 0 21992 18 10 8 8 0 8 1 sosppl 168 83 0 83 12 12 0 1 0 8 0 sockpl 480 24069 0 24032 419 404 15 45 0 8 7 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 33 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 16 0 0 2 0 2 2 0 8 0 mcl2k2 2112 11 0 0 1 0 1 1 0 8 0 mcl2k 2048 243 0 0 19 0 19 19 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 3799 0 0 218 0 218 218 0 8 0 bufpl 288 16564 0 10236 453 0 453 453 0 8 0 anonpl 24 1519998 0 1507808 227 139 88 105 0 186 0 amapchunkpl 152 139137 0 138551 73 44 29 40 0 158 0 amappl16 200 23598 0 23247 151 131 20 33 0 8 0 amappl15 192 233 0 230 1 0 1 1 0 8 0 amappl14 184 1251 0 1247 1 0 1 1 0 8 0 amappl13 176 1969 0 1963 1 0 1 1 0 8 0 amappl12 168 6 0 3 1 0 1 1 0 8 0 amappl11 160 1777 0 1760 1 0 1 1 0 8 0 amappl10 152 879 0 872 1 0 1 1 0 8 0 amappl9 144 1150 0 1145 1 0 1 1 0 8 0 amappl8 136 1390 0 1302 4 0 4 4 0 8 0 amappl7 128 710 0 695 1 0 1 1 0 8 0 amappl6 120 934 0 913 2 1 1 2 0 8 0 amappl5 112 7876 0 7854 1 0 1 1 0 8 0 amappl4 104 2907 0 2875 2 0 2 2 0 8 0 amappl3 96 22556 0 22505 2 0 2 2 0 8 0 amappl2 88 9972 0 9900 3 1 2 3 0 8 0 amappl1 80 179124 0 178454 29 13 16 19 0 8 0 amappl 88 44539 0 44377 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 136 0 6 3 0 3 3 0 8 0 uaddrrnd 24 7388 0 7352 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7388 0 7352 1 0 1 1 0 8 0 vmmpekpl 168 62274 0 62220 3 0 3 3 0 8 0 vmmpepl 168 735069 0 732384 214 86 128 138 0 357 7 vmsppl 368 7387 0 7352 4 0 4 4 0 8 0 rwobjpl 56 190455 0 183072 120 12 108 109 0 8 0 pdppl 4096 14783 0 14704 254 173 81 95 0 8 2 pvpl 32 3008841 0 2991470 400 235 165 247 0 265 7 pmappl 248 7387 0 7352 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1308 0 287 30 0 30 30 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82988ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82a151d8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a151d8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff8000212b6780) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff8000212b6780) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7ffffef400, count: 8 ddb{0}> trace x86_ipi_db(ffffffff82988ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82a151d8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a151d8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff8000212b6780) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff8000212b6780) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7ffffef400, count: -7 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff800028e2b7a8,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff800028e2b7a8,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800027c0e890,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800027c0e890,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff800028e2b7a8,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(dde57d7e9e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff800028e2b7a8,ffff800027c0ea20,ffff800027c0ea80) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800027c0eaf0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027c0eaf0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdde2c10ab10, count: 3 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff800028e2b7a8,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff800028e2b7a8,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800027c0e890,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800027c0e890,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff800028e2b7a8,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(dde57d7e9e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff800028e2b7a8,ffff800027c0ea20,ffff800027c0ea80) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800027c0eaf0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027c0eaf0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdde2c10ab10, count: -12