panic: kernel diagnostic assertion "pg->wire_count == 1" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/vfs_biomem.c", line 310 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *210849 27569 0 0x2 0 0K syz-executor.4 114686 92561 0 0x2 0 1 syz-executor.3 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82751deb) at panic+0x177 sys/kern/subr_prf.c:198 __assert(ffffffff827cd2be,ffffffff827b612f,136,ffffffff82795411) at __assert+0x25 sys/kern/subr_prf.c:157 buf_free_pages(fffffd805aa57278) at buf_free_pages+0x1c2 sys/kern/vfs_biomem.c:299 buf_dealloc_mem(fffffd805aa57278) at buf_dealloc_mem+0xdf sys/kern/vfs_biomem.c:179 buf_put(fffffd805aa57278) at buf_put+0x161 sys/kern/vfs_bio.c:129 brelse(fffffd805aa57278) at brelse+0x5b3 sys/kern/vfs_bio.c:957 vinvalbuf(fffffd8067287530,2,fffffd807f7d7680,ffff8000212b4300,0,ffffffffffffffff) at vinvalbuf+0x391 sys/kern/vfs_subr.c:2021 ffs_truncate(fffffd806ecc7bb0,0,4,fffffd807f7d7680) at ffs_truncate+0xf2a sys/ufs/ffs/ffs_inode.c:326 ufs_rmdir(ffff800022cf52b8) at ufs_rmdir+0x3a9 sys/ufs/ufs/ufs_vnops.c:1343 VOP_RMDIR(fffffd807dfee2d0,fffffd8067287530,ffff800022cf5398) at VOP_RMDIR+0x122 sys/kern/vfs_vops.c:407 dounlinkat(ffff8000212b4300,ffffff9c,7f7fffffb7d0,8) at dounlinkat+0x20e sys/kern/vfs_syscalls.c:1881 syscall(ffff800022cf5510) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800022cf5510) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffb7c0, count: 1 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 "pg->wire_count == 1" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/vfs_biomem.c", line 310 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82751deb) at panic+0x177 sys/kern/subr_prf.c:198 __assert(ffffffff827cd2be,ffffffff827b612f,136,ffffffff82795411) at __assert+0x25 sys/kern/subr_prf.c:157 buf_free_pages(fffffd805aa57278) at buf_free_pages+0x1c2 sys/kern/vfs_biomem.c:299 buf_dealloc_mem(fffffd805aa57278) at buf_dealloc_mem+0xdf sys/kern/vfs_biomem.c:179 buf_put(fffffd805aa57278) at buf_put+0x161 sys/kern/vfs_bio.c:129 brelse(fffffd805aa57278) at brelse+0x5b3 sys/kern/vfs_bio.c:957 vinvalbuf(fffffd8067287530,2,fffffd807f7d7680,ffff8000212b4300,0,ffffffffffffffff) at vinvalbuf+0x391 sys/kern/vfs_subr.c:2021 ffs_truncate(fffffd806ecc7bb0,0,4,fffffd807f7d7680) at ffs_truncate+0xf2a sys/ufs/ffs/ffs_inode.c:326 ufs_rmdir(ffff800022cf52b8) at ufs_rmdir+0x3a9 sys/ufs/ufs/ufs_vnops.c:1343 VOP_RMDIR(fffffd807dfee2d0,fffffd8067287530,ffff800022cf5398) at VOP_RMDIR+0x122 sys/kern/vfs_vops.c:407 dounlinkat(ffff8000212b4300,ffffff9c,7f7fffffb7d0,8) at dounlinkat+0x20e sys/kern/vfs_syscalls.c:1881 syscall(ffff800022cf5510) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800022cf5510) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffb7c0, count: -14 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800022cf4da0 rbx 0xffffffff82b25b8f cpu_info_full_primary+0x2b8f rdx 0 rcx 0 rax 0xffff8000212b4300 r8 0x101010101010101 r9 0x8080808080808080 r10 0x87beb7bc4df1f77e r11 0xd00daafe6b0268ff r12 0xffffffff82b25990 cpu_info_full_primary+0x2990 r13 0 r14 0 r15 0x1 rip 0xffffffff81b420b8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800022cf4d90 ss 0 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.4) pid=210849 stat=onproc flags process=2 proc=0 pri=17, usrpri=57, nice=20 forw=0xffffffffffffffff, list=0xffff8000212b5608,0xffff800021217078 process=0xffff80002afd8cb0 user=0xffff800022cf0000, vmspace=0xfffffd806b943018 estcpu=14, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 64981 265960 35551 0 2 0 syz-executor.2 27206 25049 79562 0 3 0x80 fsleep syz-executor.7 27206 508376 79562 0 2 0x4000000 syz-executor.7 79562 253589 24664 0 3 0x82 nanoslp syz-executor.7 29993 226250 24664 0 3 0x2 biowait syz-executor.0 82037 331536 1 0 3 0x80 fsleep syz-executor.0 82037 321844 1 0 3 0x4000000 vmmaplk syz-executor.0 82037 516536 1 0 3 0x4000000 vmmaplk syz-executor.0 97445 252664 1 0 3 0 vmmaplk syz-executor.0 97445 108826 1 0 3 0x4000000 vmmaplk syz-executor.0 95807 368439 24664 0 2 0x2 syz-executor.1 *27569 210849 24664 0 7 0x2 syz-executor.4 24465 225862 24664 0 2 0x2 syz-executor.5 18678 124442 1 0 3 0x100083 ttyin getty 40531 123549 1 0 3 0 vmmaplk syz-executor.4 40531 523420 1 0 3 0x4000000 vmmaplk syz-executor.4 40531 307374 1 0 3 0x4000000 vmmaplk syz-executor.4 92561 114686 24664 0 7 0x2 syz-executor.3 23546 271281 0 0 3 0x14280 nfsidl nfsio 48342 146276 0 0 3 0x14280 nfsidl nfsio 64 475689 0 0 3 0x14280 nfsidl nfsio 20880 517829 0 0 3 0x14280 nfsidl nfsio 10883 107965 0 0 3 0x14280 nfsidl nfsio 95421 364070 0 0 3 0x14280 nfsidl nfsio 61463 58319 0 0 3 0x14280 nfsidl nfsio 93616 94844 0 0 3 0x14280 nfsidl nfsio 7056 277836 0 0 3 0x14280 nfsidl nfsio 10193 212547 0 0 3 0x14280 nfsidl nfsio 8837 321878 0 0 3 0x14280 nfsidl nfsio 41864 226945 0 0 3 0x14280 nfsidl nfsio 4086 272050 0 0 3 0x14280 nfsidl nfsio 13664 514134 0 0 3 0x14280 nfsidl nfsio 55629 208649 0 0 3 0x14280 nfsidl nfsio 80285 109681 0 0 3 0x14280 nfsidl nfsio 76104 121614 0 0 3 0x14280 nfsidl nfsio 5728 509591 0 0 3 0x14280 nfsidl nfsio 4871 194033 0 0 3 0x14280 nfsidl nfsio 15222 476913 0 0 3 0x14280 nfsidl nfsio 39774 39257 0 0 3 0x14200 bored sosplice 35551 497870 24664 0 3 0x82 nanoslp syz-executor.2 24664 9276 55698 0 3 0x82 wait syz-fuzzer 24664 386180 55698 0 2 0x4000002 syz-fuzzer 24664 86322 55698 0 3 0x4000082 wait syz-fuzzer 24664 406455 55698 0 3 0x4000082 thrsleep syz-fuzzer 24664 492425 55698 0 3 0x4000082 wait syz-fuzzer 24664 378060 55698 0 3 0x4000082 thrsleep syz-fuzzer 24664 291358 55698 0 3 0x4000082 wait syz-fuzzer 24664 370460 55698 0 3 0x4000082 wait syz-fuzzer 24664 429073 55698 0 2 0x4000002 syz-fuzzer 24664 43486 55698 0 3 0x4000082 thrsleep syz-fuzzer 24664 288496 55698 0 3 0x4000082 thrsleep syz-fuzzer 24664 393703 55698 0 3 0x4000082 thrsleep syz-fuzzer 24664 157902 55698 0 3 0x4000082 wait syz-fuzzer 24664 296044 55698 0 2 0x4000002 syz-fuzzer 24664 135000 55698 0 3 0x4000082 wait syz-fuzzer 24664 178499 55698 0 3 0x4000082 thrsleep syz-fuzzer 55698 330554 80563 0 3 0x10008a sigsusp ksh 80563 5467 26947 0 3 0x9a kqread sshd 26947 354445 1 0 3 0x88 kqread sshd 74579 60221 32491 74 3 0x1100092 bpf pflogd 32491 470528 1 0 3 0x80 netio pflogd 56368 430059 87668 73 3 0x1100010 biowait syslogd 87668 482724 1 0 3 0x100082 netio syslogd 13399 495269 1 0 3 0x100080 kqread resolvd 6498 401649 14204 77 3 0x100092 kqread dhcpleased 13954 278787 14204 77 3 0x100092 kqread dhcpleased 14204 255428 1 0 3 0x80 kqread dhcpleased 53189 486175 0 0 3 0x14200 bored smr 27138 167469 0 0 2 0x14200 zerothread 91241 147127 0 0 3 0x14200 aiodoned aiodoned 30520 303971 0 0 3 0x14200 syncer update 35791 162570 0 0 3 0x14200 cleaner cleaner 96681 289329 0 0 3 0x14200 reaper reaper 28496 419859 0 0 3 0x14200 pgdaemon pagedaemon 18897 358647 0 0 3 0x14200 bored viomb 28943 131400 0 0 3 0x40014200 acpi0 acpi0 94943 462967 0 0 3 0x40014200 idle1 27155 398845 0 0 3 0x14200 bored softnet 75094 216092 0 0 3 0x14200 bored softnet 30250 385063 0 0 3 0x14200 bored softnet 54487 311266 0 0 3 0x14200 bored softnet 39664 155377 0 0 3 0x14200 bored systqmp 80910 132194 0 0 3 0x14200 bored systq 7721 280320 0 0 3 0x40014200 bored softclock 82721 116918 0 0 3 0x40014200 idle0 1 122096 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 82037 (syz-executor.0) thread 0xffff8000212b5098 (321844) Process 97445 (syz-executor.0) thread 0xffff800021228df0 (108826) Process 40531 (syz-executor.4) thread 0xffff800021228880 (523420) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10244 6548K 6965K 78643K 19308 0 pcb 13 16K 18K 78643K 1269 0 rtable 177 15K 16K 78643K 1227 0 ifaddr 75 25K 27K 78643K 378 0 sysctl 2 0K 2K 78643K 7 0 counters 56 35K 36K 78643K 462 0 ioctlops 0 0K 4K 78643K 1863 0 iov 0 0K 16K 78643K 745 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1536 96K 96K 78643K 4745 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 51 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 339 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 89K 78643K 5296 0 sigio 0 0K 0K 78643K 131 0 proc 70 91K 115K 78643K 1231 0 subproc 130 8K 8K 78643K 364 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 152 0 in_multi 69 4K 6K 78643K 423 0 ether_multi 1 0K 0K 78643K 16 0 mrt 1 0K 0K 78643K 8 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 241 1076K 1076K 78643K 241 0 exec 0 0K 1K 78643K 1133 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 372 108K 120K 78643K 38344 0 UVM aobj 131 4K 4K 78643K 136 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 182 0 NDP 13 0K 2K 78643K 135 0 temp 141 5779K 6802K 78643K 51344 0 kqueue 12 18K 26K 78643K 323 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 180 0 177 1 0 1 1 0 8 0 rtentry 112 412 0 339 4 0 4 4 0 8 0 unpcb 144 16167 0 16152 90 84 6 12 0 8 5 syncache 296 34 0 34 9 9 0 1 0 8 0 tcpqe 32 93 0 93 6 6 0 1 0 8 0 tcpcb 776 1359 0 1355 67 66 1 14 0 8 0 arp 120 61 0 48 1 0 1 1 0 8 0 inpcb 368 4938 0 4931 117 116 1 16 0 8 0 nd6 48 95 0 77 1 0 1 1 0 8 0 pkpcb 40 13 0 13 3 3 0 1 0 8 0 kcovpl 48 28 0 18 1 0 1 1 0 8 0 mppekey 1024 3 0 3 1 1 0 1 0 8 0 ppxss 1256 164 0 164 8 8 0 1 0 8 0 pppxif 1456 142 0 142 5 5 0 1 0 8 0 pfstscr 40 18 0 15 1 0 1 1 0 8 0 pffrag 232 14 0 14 6 6 0 1 0 482 0 pffrnode 88 14 0 14 6 6 0 1 0 8 0 pffrent 40 29 0 29 6 6 0 1 0 8 0 pfosfp 40 1431 0 1007 5 0 5 5 0 8 0 pfosfpen 112 1431 0 714 21 0 21 21 0 8 0 pfanchor 1280 193 0 118 13 6 7 11 0 8 0 pfstitem 24 59 0 54 1 0 1 1 0 8 0 pfstkey 128 79 0 76 1 0 1 1 0 8 0 pfstate 384 66 0 61 4 2 2 3 0 8 0 pfrule 1344 21 0 20 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 1849 0 1485 44 17 27 31 0 8 0 art_table 32 1851 0 1486 4 0 4 4 0 8 0 art_node 16 411 0 345 1 0 1 1 0 8 0 sysvmsgpl 40 43 0 38 2 1 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 335 0 325 1 0 1 1 0 8 0 shmpl 112 133 0 5 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 7786 0 6334 92 0 92 92 0 8 0 ffsino 272 7786 0 6334 98 0 98 98 0 8 0 nchpl 144 15532 0 13902 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 1 0 1 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 56254 0 56253 6 5 1 2 0 8 0 percpumem 16 244 0 203 1 0 1 1 0 8 0 vmpool 696 7 0 7 6 5 1 1 0 8 1 kstatmem 264 142 0 116 4 1 3 3 0 8 0 scsiplug 72 5 0 5 2 2 0 1 0 8 0 scxspl 216 41350 0 41348 25 24 1 8 0 8 0 plimitpl 152 423 0 405 1 0 1 1 0 8 0 sigapl 424 5588 0 5523 11 2 9 9 0 8 0 futexpl 64 51355 0 51353 3 2 1 1 0 8 0 knotepl 120 739 0 0 18 2 16 17 0 8 0 kqueuepl 216 717 0 709 11 10 1 5 0 8 0 pipepl 320 930 0 902 23 20 3 8 0 8 0 fdescpl 496 5550 0 5523 5 0 5 5 0 8 0 filepl 152 45368 0 45104 117 100 17 22 0 8 4 lockfpl 104 2281 0 2279 5 4 1 3 0 8 0 lockfspl 48 818 0 816 1 0 1 1 0 8 0 sessionpl 144 46 0 27 1 0 1 1 0 8 0 pgrppl 48 142 0 123 1 0 1 1 0 8 0 ucredpl 104 5487 0 5475 1 0 1 1 0 8 0 zombiepl 144 5523 0 5523 5 4 1 1 0 8 1 processpl 1072 5588 0 5523 5 0 5 5 0 8 0 procpl 696 15403 0 15317 14 4 10 11 0 8 0 srpgc 96 32 0 32 9 9 0 1 0 8 0 sosppl 168 49 0 49 11 11 0 1 0 8 0 sockpl 488 21300 0 21275 579 560 19 40 0 8 15 mcl64k 65536 25 0 0 3 0 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 14 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 25 0 0 4 1 3 3 0 8 0 mcl2k2 2112 12 0 0 1 0 1 1 0 8 0 mcl2k 2048 481 0 0 55 13 42 55 0 8 0 mtagpl 96 538 0 0 11 0 11 11 0 8 0 mbufpl 256 1720 0 0 92 0 92 92 0 8 0 bufpl 288 11403 0 5081 452 0 452 452 0 8 0 anonpl 24 1132396 0 1115622 238 59 179 179 0 186 49 amapchunkpl 152 106512 0 105738 74 13 61 61 0 158 26 amappl16 200 10213 0 9628 85 52 33 44 0 8 1 amappl15 192 46 0 43 1 0 1 1 0 8 0 amappl14 184 228 0 212 2 0 2 2 0 8 0 amappl13 176 95 0 94 1 0 1 1 0 8 0 amappl12 168 663 0 659 1 0 1 1 0 8 0 amappl11 160 48 0 34 1 0 1 1 0 8 0 amappl10 152 51 0 41 1 0 1 1 0 8 0 amappl9 144 1023 0 1022 1 0 1 1 0 8 0 amappl8 136 418 0 325 4 0 4 4 0 8 0 amappl7 128 231 0 204 2 0 2 2 0 8 0 amappl6 120 304 0 286 2 1 1 2 0 8 0 amappl5 112 323 0 314 1 0 1 1 0 8 0 amappl4 104 867 0 829 2 0 2 2 0 8 0 amappl3 96 16610 0 16555 2 0 2 2 0 8 0 amappl2 88 6490 0 6406 5 2 3 4 0 8 1 amappl1 80 127181 0 126418 31 12 19 28 0 8 0 amappl 88 37398 0 37200 7 1 6 6 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 135 0 5 3 0 3 3 0 8 0 uaddrrnd 24 5557 0 5530 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5557 0 5530 1 0 1 1 0 8 0 vmmpekpl 168 48598 0 48537 4 0 4 4 0 8 0 vmmpepl 168 517891 0 515009 345 178 167 171 0 357 19 vmsppl 440 5556 0 5530 6 2 4 5 0 8 0 rwobjpl 56 142026 0 134108 123 7 116 117 0 8 0 pdppl 4096 11121 0 11060 523 450 73 81 0 8 12 pvpl 32 2251206 0 2229042 541 226 315 365 0 265 89 pmappl 248 5556 0 5530 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1509 0 614 28 1 27 27 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82751deb) at panic+0x177 sys/kern/subr_prf.c:198 __assert(ffffffff827cd2be,ffffffff827b612f,136,ffffffff82795411) at __assert+0x25 sys/kern/subr_prf.c:157 buf_free_pages(fffffd805aa57278) at buf_free_pages+0x1c2 sys/kern/vfs_biomem.c:299 buf_dealloc_mem(fffffd805aa57278) at buf_dealloc_mem+0xdf sys/kern/vfs_biomem.c:179 buf_put(fffffd805aa57278) at buf_put+0x161 sys/kern/vfs_bio.c:129 brelse(fffffd805aa57278) at brelse+0x5b3 sys/kern/vfs_bio.c:957 vinvalbuf(fffffd8067287530,2,fffffd807f7d7680,ffff8000212b4300,0,ffffffffffffffff) at vinvalbuf+0x391 sys/kern/vfs_subr.c:2021 ffs_truncate(fffffd806ecc7bb0,0,4,fffffd807f7d7680) at ffs_truncate+0xf2a sys/ufs/ffs/ffs_inode.c:326 ufs_rmdir(ffff800022cf52b8) at ufs_rmdir+0x3a9 sys/ufs/ufs/ufs_vnops.c:1343 VOP_RMDIR(fffffd807dfee2d0,fffffd8067287530,ffff800022cf5398) at VOP_RMDIR+0x122 sys/kern/vfs_vops.c:407 dounlinkat(ffff8000212b4300,ffffff9c,7f7fffffb7d0,8) at dounlinkat+0x20e sys/kern/vfs_syscalls.c:1881 syscall(ffff800022cf5510) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800022cf5510) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffb7c0, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020d68ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x18 kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x18 sys/dev/kcov.c:148 __mp_lock(ffffffff82db6020) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82db6020) at __mp_lock+0x133 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82db6020,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3bb sys/kern/sched_bsd.c:405 sleep_finish(ffff80002e410cd0,1) at sleep_finish+0x180 sys/kern/kern_synch.c:417 tsleep(fffffd8069c3b138,11,ffffffff82818941,0) at tsleep+0x12c sys/kern/kern_synch.c:155 getblk(fffffd807efb46c0,12ff60,4000,0,ffffffffffffffff) at getblk+0x13c sys/kern/vfs_bio.c:1028 bread(fffffd807efb46c0,12ff60,4000,ffff80002e410f78) at bread+0x3a bio_doread sys/kern/vfs_bio.c:433 [inline] bread(fffffd807efb46c0,12ff60,4000,ffff80002e410f78) at bread+0x3a sys/kern/vfs_bio.c:478 ffs_update(fffffd806d3c89a0,1) at ffs_update+0x14b sys/ufs/ffs/ffs_inode.c:91 ffs_truncate(fffffd806d3c89a0,0,4,fffffd807f7d7680) at ffs_truncate+0xcec ufs_rmdir(ffff80002e411248) at ufs_rmdir+0x3a9 sys/ufs/ufs/ufs_vnops.c:1343 end trace frame: 0xffff80002e4112b0, count: 0 ddb{1}> trace x86_ipi_db(ffff800020d68ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x18 kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x18 sys/dev/kcov.c:148 __mp_lock(ffffffff82db6020) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82db6020) at __mp_lock+0x133 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82db6020,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3bb sys/kern/sched_bsd.c:405 sleep_finish(ffff80002e410cd0,1) at sleep_finish+0x180 sys/kern/kern_synch.c:417 tsleep(fffffd8069c3b138,11,ffffffff82818941,0) at tsleep+0x12c sys/kern/kern_synch.c:155 getblk(fffffd807efb46c0,12ff60,4000,0,ffffffffffffffff) at getblk+0x13c sys/kern/vfs_bio.c:1028 bread(fffffd807efb46c0,12ff60,4000,ffff80002e410f78) at bread+0x3a bio_doread sys/kern/vfs_bio.c:433 [inline] bread(fffffd807efb46c0,12ff60,4000,ffff80002e410f78) at bread+0x3a sys/kern/vfs_bio.c:478 ffs_update(fffffd806d3c89a0,1) at ffs_update+0x14b sys/ufs/ffs/ffs_inode.c:91 ffs_truncate(fffffd806d3c89a0,0,4,fffffd807f7d7680) at ffs_truncate+0xcec ufs_rmdir(ffff80002e411248) at ufs_rmdir+0x3a9 sys/ufs/ufs/ufs_vnops.c:1343 VOP_RMDIR(fffffd807dc42be8,fffffd806e8d7970,ffff80002e411328) at VOP_RMDIR+0x122 sys/kern/vfs_vops.c:407 dounlinkat(ffff8000212b7080,ffffff9c,7f7ffffeeb00,8) at dounlinkat+0x20e sys/kern/vfs_syscalls.c:1881 syscall(ffff80002e4114a0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e4114a0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeeaf0, count: -18