panic: kernel diagnostic assertion "p->p_stat == SONPROC || p->p_stat == SSLEEP || p->p_stat == SSTOP" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_synch.c", line 408 Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 483550 35875 32767 0x10 0 1K syz-executor.5 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8279e22b) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281fbec,ffffffff828522e7,198,ffffffff827afc9d) at __assert+0x29 sys/kern/subr_prf.c:157 tsleep_nsec(0,1,4ed71d433c83624c,120) at tsleep_nsec rwsleep(ffff800022cd9b60,ffffffff82baa2e0,120,ffffffff82796f7f,0) at rwsleep+0xab sys/kern/kern_synch.c:300 futex_wait(fd29f2b2d20,2,0,2) at futex_wait+0x13d sys/kern/sys_futex.c:250 sys_futex(ffff800022cd9b60,ffff80002af958c0,ffff80002af95910) at sys_futex+0xfc sys/kern/sys_futex.c:101 syscall(ffff80002af95990) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002af95990) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfd295734d90, count: 6 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: kernel diagnostic assertion "p->p_stat == SONPROC || p->p_stat == SSLEEP || p->p_stat == SSTOP" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_synch.c", line 408 ddb{0}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8279e22b) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281fbec,ffffffff828522e7,198,ffffffff827afc9d) at __assert+0x29 sys/kern/subr_prf.c:157 tsleep_nsec(0,1,4ed71d433c83624c,120) at tsleep_nsec rwsleep(ffff800022cd9b60,ffffffff82baa2e0,120,ffffffff82796f7f,0) at rwsleep+0xab sys/kern/kern_synch.c:300 futex_wait(fd29f2b2d20,2,0,2) at futex_wait+0x13d sys/kern/sys_futex.c:250 sys_futex(ffff800022cd9b60,ffff80002af958c0,ffff80002af95910) at sys_futex+0xfc sys/kern/sys_futex.c:101 syscall(ffff80002af95990) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002af95990) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfd295734d90, count: -9 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002af955d0 rbx 0xffffffff82b6fb9f cpu_info_full_primary+0x2b9f rdx 0 rcx 0xffff800022cd9b60 rax 0xffffffff82b6eff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x71a8419f19311915 r11 0x114f8e82ea34f7f5 r12 0xffffffff82b6f9a0 cpu_info_full_primary+0x29a0 r13 0 r14 0 r15 0x1 rip 0xffffffff8164e73c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002af955c0 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.0) pid=452212 stat=run flags process=1810 proc=4080080 pri=65, usrpri=65, nice=20 forw=0x0, list=0xffff800022cd8b10,0xffffffff82d79258 process=0xffff800021211d60 user=0xffff80002af90000, vmspace=0xfffffd8069b60760 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 12740 105701 17826 32767 3 0x3810 suspend syz-executor.0 *12740 452212 17826 32767 2 0x4081890 syz-executor.0 20898 432634 84181 32767 2 0x10 syz-executor.7 20898 440578 84181 32767 2 0x4000010 syz-executor.7 85761 422061 86575 32767 3 0x90 piperd syz-executor.3 86575 219697 57460 0 3 0x82 wait syz-executor.3 35875 483550 43684 32767 7 0x10 syz-executor.5 43684 14090 57460 0 3 0x82 wait syz-executor.5 84181 341896 87315 32767 3 0x90 nanoslp syz-executor.7 87315 248479 57460 0 3 0x82 wait syz-executor.7 7474 296599 92794 32767 3 0x90 nanoslp syz-executor.4 92794 301851 57460 0 3 0x82 wait syz-executor.4 85955 349386 51160 32767 2 0x10 syz-executor.6 51160 337594 57460 0 3 0x82 wait syz-executor.6 17826 122998 989 32767 3 0x90 nanoslp syz-executor.0 989 121110 57460 0 3 0x82 wait syz-executor.0 36297 130168 98527 32767 3 0x90 nanoslp syz-executor.2 98527 170358 57460 0 3 0x82 wait syz-executor.2 25699 443070 77832 32767 2 0x10 syz-executor.1 77832 155897 57460 0 3 0x82 wait syz-executor.1 36010 365459 0 0 3 0x14200 bored sosplice 57460 116218 66300 0 3 0x2000082 thrsleep syz-fuzzer 57460 344396 66300 0 3 0x6000082 nanoslp syz-fuzzer 57460 163711 66300 0 3 0x6000082 wait syz-fuzzer 57460 244856 66300 0 3 0x6000082 wait syz-fuzzer 57460 315054 66300 0 3 0x6000082 thrsleep syz-fuzzer 57460 68489 66300 0 3 0x6000082 thrsleep syz-fuzzer 57460 270406 66300 0 3 0x6000082 wait syz-fuzzer 57460 297917 66300 0 3 0x6000082 wait syz-fuzzer 57460 407287 66300 0 3 0x6000082 thrsleep syz-fuzzer 57460 378584 66300 0 3 0x6000082 thrsleep syz-fuzzer 57460 12053 66300 0 3 0x6000082 wait syz-fuzzer 57460 106965 66300 0 3 0x6000082 wait syz-fuzzer 57460 447662 66300 0 3 0x6000082 wait syz-fuzzer 57460 287429 66300 0 3 0x6000082 wait syz-fuzzer 57460 256220 66300 0 3 0x6000082 thrsleep syz-fuzzer 57460 172060 66300 0 3 0x6000082 kqread syz-fuzzer 66300 495187 14973 0 3 0x10008a sigsusp ksh 14973 182562 43150 0 3 0x9a kqread sshd 39123 167752 1 0 3 0x100083 ttyin getty 43150 372902 1 0 3 0x88 kqread sshd 37740 262290 24679 73 3 0x1100090 kqread syslogd 24679 10380 1 0 3 0x100082 netio syslogd 68251 96085 1 0 3 0x100080 kqread resolvd 20559 7149 41214 77 3 0x100092 kqread dhcpleased 85043 470552 41214 77 3 0x100092 kqread dhcpleased 41214 321254 1 0 3 0x80 kqread dhcpleased 52792 18459 0 0 3 0x14200 bored smr 25852 171326 0 0 2 0x14200 zerothread 13662 303323 0 0 3 0x14200 aiodoned aiodoned 42291 392992 0 0 3 0x14200 syncer update 33735 142800 0 0 3 0x14200 cleaner cleaner 40202 436194 0 0 3 0x14200 reaper reaper 67896 142549 0 0 3 0x14200 pgdaemon pagedaemon 22124 259036 0 0 3 0x14200 bored viomb 10660 52441 0 0 3 0x40014200 acpi0 acpi0 15393 514655 0 0 3 0x40014200 idle1 24115 41144 0 0 3 0x14200 bored softnet3 78966 372525 0 0 3 0x14200 bored softnet2 19045 220912 0 0 3 0x14200 bored softnet1 48089 328916 0 0 3 0x14200 bored softnet0 74433 124743 0 0 3 0x14200 bored systqmp 81230 384128 0 0 3 0x14200 bored systq 57434 112094 0 0 3 0x40014200 bored softclock 55988 33885 0 0 3 0x40014200 idle0 1 296024 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive sched_lock &sched_lock r = 0 (0xffffffff82c5bfa8) #0 witness_lock+0x447 #1 sleep_finish+0x142 sys/kern/kern_synch.c:398 #2 rwsleep+0xab sys/kern/kern_synch.c:300 #3 futex_wait+0x13d sys/kern/sys_futex.c:250 #4 sys_futex+0xfc sys/kern/sys_futex.c:101 #5 syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] #5 syscall+0x606 sys/arch/amd64/amd64/trap.c:623 #6 Xsyscall+0x128 Process 25699 (syz-executor.1) thread 0xffff8000212322d8 (443070) exclusive rrwlock inode r = 0 (0xfffffd8074949d60) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 ufs_ihashins+0x46 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1343 #6 ffs_inode_alloc+0x1c2 sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf8 sys/ufs/ufs/ufs_vnops.c:1149 #8 VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388 #9 domkdirat+0x125 sys/kern/vfs_syscalls.c:3073 #10 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #10 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80713ea2b8) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0xd5 sys/kern/vfs_lookup.c:418 #6 namei+0x55a sys/kern/vfs_lookup.c:250 #7 domkdirat+0x79 sys/kern/vfs_syscalls.c:3058 #8 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #8 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10215 6412K 6420K 78643K 11529 0 pcb 13 12K 14K 78643K 17 0 rtable 248 7K 7K 78643K 3001 0 pf 29 8K 8K 78643K 186 0 ifaddr 44 16K 16K 78643K 364 0 ifgroup 50 2K 2K 78643K 363 0 sysctl 3 1K 1K 78643K 3 0 counters 60 35K 35K 78643K 216 0 ioctlops 0 0K 2K 78643K 1564 0 iov 0 0K 28K 78643K 8498 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1279 80K 80K 78643K 6589 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 398 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 2831 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 21 77K 105K 78643K 39867 0 sigio 0 0K 0K 78643K 1053 0 proc 56 78K 115K 78643K 4035 0 subproc 104 6K 6K 78643K 1118 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 2128 0 in_multi 99 7K 7K 78643K 1442 0 ether_multi 1 0K 0K 78643K 61 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 229 1023K 1023K 78643K 229 0 exec 0 0K 1K 78643K 4858 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 602 100K 113K 78643K 376013 0 UVM aobj 131 4K 4K 78643K 150 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 876 0 NDP 11 0K 2K 78643K 261 0 temp 75 5984K 6048K 78643K 96598 0 kqueue 12 18K 28K 78643K 2368 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> 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 823 0 820 7 6 1 2 0 8 0 rtentry 112 1031 0 914 4 0 4 4 0 8 0 unpcb 144 16743 0 16730 153 147 6 8 0 8 5 syncache 296 643 0 643 46 46 0 1 0 8 0 tcpqe 32 600 0 600 43 43 0 1 0 8 0 tcpcb 808 29895 0 29890 387 383 4 18 0 8 3 arp 120 182 0 163 1 0 1 1 0 8 0 ipq 40 60 0 60 20 20 0 1 0 8 0 ipqe 40 231 0 231 20 20 0 1 0 8 0 inpcb 368 41671 0 41657 412 407 5 21 0 8 3 nd6 136 312 0 282 2 0 2 2 0 8 0 kcovpl 48 86 0 78 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 4149 0 3662 45 14 31 33 0 8 0 art_table 32 4150 0 3662 5 1 4 5 0 8 0 art_node 16 1030 0 923 1 0 1 1 0 8 0 sysvmsgpl 40 23 0 8 1 0 1 1 0 8 0 semupl 112 6 0 6 1 1 0 1 0 8 0 semapl 112 2829 0 2819 1 0 1 1 0 8 0 shmpl 112 147 0 19 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 48459 0 46968 94 0 94 94 0 8 0 ffsino 272 48459 0 46968 100 0 100 100 0 8 0 nchpl 144 98711 0 97069 63 1 62 63 0 8 0 uvmvnodes 80 6142 0 0 126 0 126 126 0 8 0 vnodes 216 6142 0 0 342 0 342 342 0 8 0 namei 1024 318130 0 318129 10 9 1 2 0 8 0 percpumem 16 121 0 78 1 0 1 1 0 8 0 kstatmem 264 178 0 156 2 0 2 2 0 8 0 scxspl 216 297003 0 297003 98 97 1 8 1 8 1 plimitpl 152 4028 0 4003 33 31 2 2 0 8 0 sigapl 424 40003 0 39952 8 1 7 7 0 8 0 futexpl 64 306197 0 306196 15 14 1 1 0 8 0 knotepl 120 1569 0 0 21 3 18 18 0 8 0 kqueuepl 216 7236 0 7228 142 139 3 5 0 8 2 pipepl 320 7163 0 7135 152 149 3 13 0 8 0 fdescpl 496 39985 0 39953 5 0 5 5 0 8 0 filepl 152 221865 0 221622 330 315 15 23 0 8 5 lockfpl 104 5603 0 5601 6 5 1 2 0 8 0 lockfspl 48 1795 0 1793 1 0 1 1 0 8 0 sessionpl 144 101 0 85 1 0 1 1 0 8 0 pgrppl 48 807 0 791 1 0 1 1 0 8 0 ucredpl 104 28152 0 28134 1 0 1 1 0 8 0 zombiepl 144 39954 0 39952 1 0 1 1 0 8 0 processpl 1072 40003 0 39952 4 0 4 4 0 8 0 procpl 696 103118 0 103050 36 28 8 9 0 8 0 sosppl 168 690 0 690 32 32 0 2 0 8 0 sockpl 488 60526 0 60502 936 925 11 41 0 8 7 mcl64k 65536 58 0 0 3 0 3 3 0 8 0 mcl16k 16384 25 0 0 3 0 3 3 0 8 0 mcl12k 12288 43 0 0 3 1 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 54 0 0 5 2 3 3 0 8 0 mcl4k 4096 121 0 0 9 6 3 6 0 8 0 mcl2k2 2112 22 0 0 2 0 2 2 0 8 0 mcl2k 2048 1146 0 0 35 18 17 32 0 8 0 mtagpl 96 10 0 0 1 0 1 1 0 8 0 mbufpl 256 2592 0 0 120 0 120 120 0 8 0 bufpl 288 59820 0 53491 453 0 453 453 0 8 0 anonpl 24 3717029 0 3705629 427 331 96 141 0 186 0 amapchunkpl 152 1185108 0 1184315 270 231 39 47 0 158 5 amappl16 200 80253 0 79983 501 482 19 56 0 8 4 amappl15 192 12 0 11 2 1 1 1 0 8 0 amappl14 184 390 0 372 2 1 1 2 0 8 0 amappl13 176 13 0 12 2 1 1 1 0 8 0 amappl12 168 41812 0 41772 11 9 2 3 0 8 0 amappl11 160 54 0 44 1 0 1 1 0 8 0 amappl10 152 124 0 106 1 0 1 1 0 8 0 amappl9 144 333 0 333 58 57 1 1 0 8 1 amappl8 136 2296 0 1902 14 0 14 14 0 8 0 amappl7 128 178 0 162 2 0 2 2 0 8 0 amappl6 120 1139 0 1099 7 5 2 2 0 8 0 amappl5 112 975 0 964 1 0 1 1 0 8 0 amappl4 104 1848 0 1790 2 0 2 2 0 8 0 amappl3 96 233729 0 233646 8 5 3 4 0 8 0 amappl2 88 41651 0 41562 4 1 3 3 0 8 0 amappl1 80 150367 0 149843 22 10 12 22 0 8 0 amappl 88 373846 0 373605 7 0 7 7 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 149 0 19 3 0 3 3 0 8 0 uaddrrnd 24 39985 0 39953 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 39985 0 39953 1 0 1 1 0 8 0 vmmpekpl 168 285051 0 284998 4 0 4 4 0 8 0 vmmpepl 168 2268666 0 2266062 539 408 131 152 0 357 0 vmsppl 464 39984 0 39953 6 1 5 5 0 8 0 rwobjpl 56 536782 0 528875 150 35 115 116 0 8 0 pdppl 4096 79978 0 79906 1232 1150 82 86 0 8 10 pvpl 32 11377037 0 11359220 903 722 181 362 0 265 0 pmappl 248 39984 0 39953 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 2915 0 1991 29 1 28 28 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8279e22b) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281fbec,ffffffff828522e7,198,ffffffff827afc9d) at __assert+0x29 sys/kern/subr_prf.c:157 tsleep_nsec(0,1,4ed71d433c83624c,120) at tsleep_nsec rwsleep(ffff800022cd9b60,ffffffff82baa2e0,120,ffffffff82796f7f,0) at rwsleep+0xab sys/kern/kern_synch.c:300 futex_wait(fd29f2b2d20,2,0,2) at futex_wait+0x13d sys/kern/sys_futex.c:250 sys_futex(ffff800022cd9b60,ffff80002af958c0,ffff80002af95910) at sys_futex+0xfc sys/kern/sys_futex.c:101 syscall(ffff80002af95990) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002af95990) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfd295734d90, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffff800020d58ff0) at x86_ipi_db+0x1e 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+0x27 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x30 kd_curproc sys/dev/kcov.c:590 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x30 sys/dev/kcov.c:158 __mp_lock(ffffffff82c5bda0) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82c5bda0) at __mp_lock+0x133 sys/kern/kern_lock.c:147 wakeup_n(ffffffff82d7e998,ffffffff) at wakeup_n+0x37 sys/kern/kern_synch.c:541 uvm_pmr_freepages(fffffd8007b8c800,1) at uvm_pmr_freepages+0x2ce sys/uvm/uvm_pmemrange.c:1303 uvm_km_pgremove_intrsafe(ffff800000e43000,ffff800000e53000) at uvm_km_pgremove_intrsafe+0x91 sys/uvm/uvm_km.c:306 uvm_unmap_kill_entry_withlock(ffffffff82d78c38,ffffffff82d685d0,1) at uvm_unmap_kill_entry_withlock+0x157 sys/uvm/uvm_map.c:1937 uvm_unmap_remove(ffffffff82d78c38,ffff800000e43000,ffff800000e53000,ffff80002afa4d00,0,1,c88252a702b78c23) at uvm_unmap_remove+0x516 sys/uvm/uvm_map.c:2067 uvm_unmap(ffffffff82d78c38,ffff800000e43000,ffff800000e53000) at uvm_unmap+0x9d vm_map_unlock_ln sys/uvm/uvm_map.c:5379 [inline] uvm_unmap(ffffffff82d78c38,ffff800000e43000,ffff800000e53000) at uvm_unmap+0x9d sys/uvm/uvm_map.c:1856 free(ffff800000e43000,7f,10000) at free+0x21b sys/kern/kern_malloc.c:441 ufs_readdir(ffff80002afa4ff0) at ufs_readdir+0x3ab sys/ufs/ufs/ufs_vnops.c:1496 VOP_READDIR(fffffd8066ddec08,ffff80002afa5070,fffffd807f7d6208,ffff80002afa50b4) at VOP_READDIR+0xc3 sys/kern/vfs_vops.c:444 end trace frame: 0xffff80002afa5120, count: 0 ddb{1}> trace x86_ipi_db(ffff800020d58ff0) at x86_ipi_db+0x1e 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+0x27 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x30 kd_curproc sys/dev/kcov.c:590 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x30 sys/dev/kcov.c:158 __mp_lock(ffffffff82c5bda0) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82c5bda0) at __mp_lock+0x133 sys/kern/kern_lock.c:147 wakeup_n(ffffffff82d7e998,ffffffff) at wakeup_n+0x37 sys/kern/kern_synch.c:541 uvm_pmr_freepages(fffffd8007b8c800,1) at uvm_pmr_freepages+0x2ce sys/uvm/uvm_pmemrange.c:1303 uvm_km_pgremove_intrsafe(ffff800000e43000,ffff800000e53000) at uvm_km_pgremove_intrsafe+0x91 sys/uvm/uvm_km.c:306 uvm_unmap_kill_entry_withlock(ffffffff82d78c38,ffffffff82d685d0,1) at uvm_unmap_kill_entry_withlock+0x157 sys/uvm/uvm_map.c:1937 uvm_unmap_remove(ffffffff82d78c38,ffff800000e43000,ffff800000e53000,ffff80002afa4d00,0,1,c88252a702b78c23) at uvm_unmap_remove+0x516 sys/uvm/uvm_map.c:2067 uvm_unmap(ffffffff82d78c38,ffff800000e43000,ffff800000e53000) at uvm_unmap+0x9d vm_map_unlock_ln sys/uvm/uvm_map.c:5379 [inline] uvm_unmap(ffffffff82d78c38,ffff800000e43000,ffff800000e53000) at uvm_unmap+0x9d sys/uvm/uvm_map.c:1856 free(ffff800000e43000,7f,10000) at free+0x21b sys/kern/kern_malloc.c:441 ufs_readdir(ffff80002afa4ff0) at ufs_readdir+0x3ab sys/ufs/ufs/ufs_vnops.c:1496 VOP_READDIR(fffffd8066ddec08,ffff80002afa5070,fffffd807f7d6208,ffff80002afa50b4) at VOP_READDIR+0xc3 sys/kern/vfs_vops.c:444 sys_getdents(ffff80002128fb88,ffff80002afa5130,ffff80002afa5180) at sys_getdents+0x211 sys/kern/vfs_syscalls.c:3143 syscall(ffff80002afa5200) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002afa5200) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79afd95603e0, count: -17