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+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 278163 81158 0 0x2 0 0 syz-executor * 20658 88165 0 0x2 0x1 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830e2798) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8309ab51,ffffffff8303de90,136,ffffffff830231e4) at __assert+0x29 buf_free_pages(fffffd80641d06c0) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299 buf_dealloc_mem(fffffd80641d06c0) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179 buf_put(fffffd80641d06c0) at buf_put+0x1dc sys/kern/vfs_bio.c:127 brelse(fffffd80641d06c0) at brelse+0x395 sys/kern/vfs_bio.c:944 vinvalbuf(fffffd807127d0f0,2,ffffffffffffffff,ffff800029fe62c0,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2022 ffs_truncate(fffffd807e087ab0,0,0,ffffffffffffffff) at ffs_truncate+0xf6c ufs_inactive(ffff80002a0d3f58) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd807127d0f0,ffff800029fe62c0) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vrele(fffffd807127d0f0) at vrele+0x129 sys/kern/vfs_subr.c:824 ktrwriteraw(ffff800029fe62c0,fffffd807127d0f0,fffffd807f7d35b0,ffff80002a0d41a8,ffff80002a0d4180) at ktrwriteraw+0x382 ktrcleartrace sys/kern/kern_ktrace.c:86 [inline] ktrwriteraw(ffff800029fe62c0,fffffd807127d0f0,fffffd807f7d35b0,ffff80002a0d41a8,ffff80002a0d4180) at ktrwriteraw+0x382 sys/kern/kern_ktrace.c:701 ktrpsig(ffff800029fe62c0,9,0,0,0,ffff80002a0d4270) at ktrpsig+0x1ac sys/kern/kern_ktrace.c:292 end trace frame: 0xffff80002a0d4360, count: 0 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 "pg->wire_count == 1" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/vfs_biomem.c", line 310 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830e2798) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8309ab51,ffffffff8303de90,136,ffffffff830231e4) at __assert+0x29 buf_free_pages(fffffd80641d06c0) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299 buf_dealloc_mem(fffffd80641d06c0) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179 buf_put(fffffd80641d06c0) at buf_put+0x1dc sys/kern/vfs_bio.c:127 brelse(fffffd80641d06c0) at brelse+0x395 sys/kern/vfs_bio.c:944 vinvalbuf(fffffd807127d0f0,2,ffffffffffffffff,ffff800029fe62c0,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2022 ffs_truncate(fffffd807e087ab0,0,0,ffffffffffffffff) at ffs_truncate+0xf6c ufs_inactive(ffff80002a0d3f58) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd807127d0f0,ffff800029fe62c0) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vrele(fffffd807127d0f0) at vrele+0x129 sys/kern/vfs_subr.c:824 ktrwriteraw(ffff800029fe62c0,fffffd807127d0f0,fffffd807f7d35b0,ffff80002a0d41a8,ffff80002a0d4180) at ktrwriteraw+0x382 ktrcleartrace sys/kern/kern_ktrace.c:86 [inline] ktrwriteraw(ffff800029fe62c0,fffffd807127d0f0,fffffd807f7d35b0,ffff80002a0d41a8,ffff80002a0d4180) at ktrwriteraw+0x382 sys/kern/kern_ktrace.c:701 ktrpsig(ffff800029fe62c0,9,0,0,0,ffff80002a0d4270) at ktrpsig+0x1ac sys/kern/kern_ktrace.c:292 postsig(ffff800029fe62c0,9,ffff80002a0d4378) at postsig+0x3b3 sys/kern/kern_sig.c:1571 userret(ffff800029fe62c0) at userret+0x21e sys/kern/kern_sig.c:2022 syscall(ffff80002a0d44b0) at syscall+0x9a7 mi_syscall_return sys/sys/syscall_mi.h:206 [inline] syscall(ffff80002a0d44b0) at syscall+0x9a7 sys/arch/amd64/amd64/trap.c:598 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78983ad337d0, count: -18 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a0d3a50 rbx 0xffff800029b7cdbf rdx 0 rcx 0xffff800029fe62c0 rax 0xffff800029b7bff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xe8755202daac2ebf r11 0xe5d909315df63bf r12 0xffff800029b7cbc0 r13 0 r14 0 r15 0x1 rip 0xffffffff828f8af5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a0d3a40 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=20658 pid=88165 tcnt=1 stat=onproc flags process=2 proc=1 runpri=17, usrpri=70, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff67b8,0xffff8000ffff7980 process=0xffff80002f973678 user=0xffff80002a0cf000, vmspace=0xfffffd806be98370 estcpu=20, cpticks=1, pctcpu=0.0, user=0, sys=8, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 81158 278163 43825 0 7 0x2 syz-executor 66312 443922 98862 0 2 0x2 sh 60819 299343 43825 0 2 0x2 syz-executor 98862 130176 43825 0 3 0x82 wait syz-executor 4811 452693 43825 0 3 0x82 piperd syz-executor 35308 414995 43825 0 3 0x82 piperd syz-executor 55619 26477 43825 0 3 0x82 piperd syz-executor 42771 503591 43825 0 3 0x82 piperd syz-executor 88877 32395 1 0 3 0x100083 ttyin getty *88165 20658 43825 0 7 0x3 syz-executor 30907 494178 0 0 3 0x14200 acct acct 24694 329478 0 0 3 0x14280 nfsidl nfsio 51845 246152 0 0 3 0x14280 nfsidl nfsio 46072 127284 0 0 3 0x14280 nfsidl nfsio 81910 480072 0 0 3 0x14280 nfsidl nfsio 61824 509917 0 0 3 0x14280 nfsidl nfsio 23358 55803 0 0 3 0x14280 nfsidl nfsio 2753 278692 0 0 3 0x14280 nfsidl nfsio 66416 6803 0 0 3 0x14280 nfsidl nfsio 64828 385716 0 0 3 0x14280 nfsidl nfsio 42445 107168 0 0 3 0x14280 nfsidl nfsio 84299 489729 0 0 3 0x14280 nfsidl nfsio 84915 364172 0 0 3 0x14280 nfsidl nfsio 55347 401004 0 0 3 0x14280 nfsidl nfsio 83136 388851 0 0 3 0x14280 nfsidl nfsio 65882 353292 0 0 3 0x14280 nfsidl nfsio 41942 192679 0 0 3 0x14280 nfsidl nfsio 75832 134817 0 0 3 0x14280 nfsidl nfsio 60367 346669 0 0 3 0x14280 nfsidl nfsio 80939 35216 0 0 3 0x14280 nfsidl nfsio 2664 72837 0 0 3 0x14280 nfsidl nfsio 72634 267772 0 0 3 0x14200 bored sosplice 43825 433629 34420 0 3 0x82 wait syz-executor 34420 466611 75337 0 3 0x10008a sigsusp ksh 75337 324518 3676 0 3 0x98 kqread sshd-session 3676 185506 51775 0 3 0x92 kqread sshd-session 51775 518757 1 0 3 0x88 kqread sshd 75521 288297 66296 74 3 0x1100092 bpf pflogd 66296 314902 1 0 3 0x80 sbwait pflogd 153 82645 56137 73 2 0x1100010 syslogd 56137 311997 1 0 3 0x100082 sbwait syslogd 76055 148829 1 0 3 0x100080 kqread resolvd 75382 104511 82557 77 3 0x100092 kqread dhcpleased 4684 360388 82557 77 3 0x100092 kqread dhcpleased 82557 39974 1 0 3 0x80 kqread dhcpleased 77754 489728 0 0 3 0x14200 bored smr 52023 501331 0 0 2 0x14200 zerothread 6685 407507 0 0 3 0x14200 aiodoned aiodoned 79910 47351 0 0 3 0x14200 syncer update 91090 263753 0 0 3 0x14200 cleaner cleaner 62314 182545 0 0 3 0x14200 reaper reaper 31979 108923 0 0 3 0x14200 pgdaemon pagedaemon 6317 308421 0 0 3 0x14200 bored viomb 31896 444071 0 0 3 0x40014200 acpi0 acpi0 67766 458744 0 0 3 0x40014200 idle1 49486 389475 0 0 3 0x14200 bored softnet3 81266 94902 0 0 3 0x14200 bored softnet2 58930 411102 0 0 3 0x14200 bored softnet1 17085 493961 0 0 3 0x14200 bored softnet0 92636 370285 0 0 3 0x14200 bored systqmp 36147 97572 0 0 3 0x14200 bored systq 86382 517765 0 0 3 0x14200 tmoslp softclockmp 92193 35497 0 0 3 0x40014200 tmoslp softclock 79152 326328 0 0 3 0x40014200 idle0 1 112453 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 88165 (syz-executor) thread 0xffff800029fe62c0 (20658) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10228 11135K 11532K 166960K 14878 0 pcb 17 15K 17K 166960K 885 0 rtable 152 7K 9K 166960K 4231 0 pf 41 19K 20K 166960K 439 0 ifaddr 35 7K 9K 166960K 583 0 ifgroup 60 2K 2K 166960K 671 0 sysctl 3 0K 2K 166960K 13 0 counters 66 36K 36K 166960K 390 0 ioctlops 0 0K 4K 166960K 1799 0 iov 0 0K 36K 166960K 334 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1526 96K 97K 166960K 5078 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 10K 18K 166960K 42 0 VM map 2 1K 1K 166960K 2 0 sem 25 10K 20K 166960K 69 0 dirhash 15 2K 3K 166960K 66 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 11 34K 93K 166960K 4266 0 sigio 0 0K 0K 166960K 66 0 proc 73 91K 128K 166960K 4152 0 subproc 91 5K 7K 166960K 1666 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 725 0 in_multi 62 4K 7K 166960K 1491 0 ether_multi 1 0K 0K 166960K 17 0 mrt 1 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 2369 0 pfkey data 0 0K 0K 166960K 7 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 177 63K 93K 166960K 34666 0 UVM aobj 134 4K 6K 166960K 146 0 pinsyscall 36 72K 103K 166960K 8502 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 171 0 NDP 19 0K 2K 166960K 434 0 temp 71 6823K 7080K 166960K 211295 0 kqueue 13 20K 32K 166960K 452 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 646 0 643 7 6 1 2 0 8 0 rtentry 112 1488 0 1427 5 2 3 4 0 8 0 unpcb 144 2836 0 2819 37 36 1 8 0 8 0 syncache 336 21 0 21 8 8 0 1 0 8 0 tcpqe 32 2 13 2 2 2 0 1 0 8 0 tcpcb 808 1090 0 1082 40 38 2 11 0 8 0 arp 120 269 0 257 1 0 1 1 0 8 0 inpcb 336 3996 0 3984 53 50 3 12 0 8 0 nd6 136 401 0 388 1 0 1 1 0 8 0 pkpcb 40 14 0 14 7 7 0 1 0 8 0 kcovpl 48 128 0 121 1 0 1 1 0 8 0 ppxss 1168 27 0 27 12 12 0 1 0 8 0 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 52 0 50 1 0 1 1 0 482 0 pffrnode 88 49 0 47 1 0 1 1 0 8 0 pffrent 40 158 0 156 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 pfrktable 1344 1 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 334 0 308 1 0 1 1 0 8 0 pfstkey 128 336 0 310 3 0 3 3 0 8 0 pfstate 376 335 0 309 8 2 6 7 0 8 0 pfrule 1344 28 0 21 2 1 1 2 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 6058 0 5786 47 19 28 31 0 8 8 art_table 32 6061 0 5786 4 0 4 4 0 8 0 art_node 16 1479 0 1425 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 5 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 58 0 35 1 0 1 1 0 8 0 shmpl 112 143 0 12 4 0 4 4 0 8 0 dirhash 1024 55 0 36 3 0 3 3 0 8 0 dino2pl 256 6300 0 4546 110 0 110 110 0 8 0 ffsino 272 6300 0 4546 117 0 117 117 0 8 0 nchpl 144 10325 0 9580 67 39 28 63 0 8 0 uvmvnodes 80 7933 0 0 162 0 162 162 0 8 0 vnodes 216 7933 0 0 441 0 441 441 0 8 0 namei 1024 46871 0 46871 9 8 1 2 0 8 1 percpumem 16 209 0 162 1 0 1 1 0 8 0 kstatmem 264 350 0 324 2 0 2 2 0 8 0 scsiplug 72 7 0 7 4 4 0 1 0 8 0 scxspl 216 83566 0 83566 17 16 1 8 1 8 1 plimitpl 152 863 0 846 1 0 1 1 0 8 0 sigapl 424 4370 0 4305 11 2 9 9 0 8 0 futexpl 64 36840 0 36840 5 5 0 1 0 8 0 knotepl 120 992 0 0 24 0 24 24 0 8 0 kqueuepl 216 763 0 754 7 6 1 3 0 8 0 pipepl 320 867 0 840 10 7 3 8 0 8 0 fdescpl 496 4324 0 4299 7 2 5 5 0 8 0 filepl 152 25319 0 25094 74 63 11 20 0 8 0 lockfpl 104 1260 0 1258 3 2 1 2 0 8 0 lockfspl 48 508 0 506 1 0 1 1 0 8 0 sessionpl 144 160 0 151 1 0 1 1 0 8 0 pgrppl 48 382 0 365 1 0 1 1 0 8 0 ucredpl 104 4180 0 4166 1 0 1 1 0 8 0 zombiepl 144 4305 0 4305 2 1 1 1 0 8 1 processpl 1160 4370 0 4305 7 1 6 6 0 8 0 procpl 648 8422 0 8357 13 5 8 8 0 8 2 srpgc 96 10 0 10 5 5 0 1 0 8 0 sosppl 168 10 0 10 5 5 0 1 0 8 0 sockpl 664 7619 0 7587 99 95 4 18 0 8 0 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 195 0 0 19 0 19 19 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 82 0 0 5 1 4 5 0 8 0 mtagpl 96 45 0 0 2 0 2 2 0 8 0 mbufpl 256 641 0 0 35 0 35 35 0 8 0 bufpl 280 15612 0 9117 567 45 522 567 0 8 0 anonpl 24 619822 0 615992 216 110 106 109 0 185 61 amapchunkpl 152 112034 0 111688 108 67 41 44 0 158 20 amappl16 200 10721 0 10713 123 111 12 19 0 8 7 amappl15 192 8 0 7 1 0 1 1 0 8 0 amappl14 184 420 0 408 1 0 1 1 0 8 0 amappl13 176 40 0 40 2 2 0 1 0 8 0 amappl12 168 6869 0 6846 4 2 2 3 0 8 0 amappl11 160 56 0 42 1 0 1 1 0 8 0 amappl10 152 22 0 22 1 1 0 1 0 8 0 amappl9 144 129 0 129 1 1 0 1 0 8 0 amappl8 136 19 0 16 1 0 1 1 0 8 0 amappl7 128 367 0 353 1 0 1 1 0 8 0 amappl6 120 1352 0 1349 1 0 1 1 0 8 0 amappl5 112 633 0 621 1 0 1 1 0 8 0 amappl4 104 724 0 704 1 0 1 1 0 8 0 amappl3 96 21963 0 21896 4 0 4 4 0 8 0 amappl2 88 2505 0 2437 2 0 2 2 0 8 0 amappl1 80 30825 0 30279 19 4 15 16 0 8 0 amappl 88 33103 0 32987 5 0 5 5 0 92 0 dma65536 65536 2 0 2 2 2 0 1 0 8 0 dma4096 4096 3 0 3 3 3 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma512 512 2 0 2 2 2 0 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 9 0 9 4 4 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 145 0 12 3 0 3 3 0 8 0 uaddrrnd 24 4324 0 4299 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4324 0 4299 1 0 1 1 0 8 0 vmmpekpl 168 35373 0 35312 6 2 4 4 0 8 0 vmmpepl 168 271082 0 269608 167 75 92 101 0 357 8 vmsppl 440 4323 0 4299 6 2 4 5 0 8 0 rwobjpl 56 82568 0 73649 140 11 129 131 0 8 0 pdppl 4096 8655 0 8598 301 234 67 85 0 8 10 pvpl 32 48803 0 0 391 0 391 391 0 265 0 pmappl 248 4323 0 4299 4 1 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 774 0 378 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff8349dff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff835ad028) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835ad028) at __mp_lock+0x199 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff835ad028) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835ad028) at __mp_lock+0x192 sys/kern/kern_lock.c:144 syscall(ffff80002a134620) at syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a134620) at syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x783920cb1470, count: 6 ddb{0}> trace x86_ipi_db(ffffffff8349dff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff835ad028) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835ad028) at __mp_lock+0x199 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff835ad028) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835ad028) at __mp_lock+0x192 sys/kern/kern_lock.c:144 syscall(ffff80002a134620) at syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a134620) at syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x783920cb1470, count: -9 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830e2798) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8309ab51,ffffffff8303de90,136,ffffffff830231e4) at __assert+0x29 buf_free_pages(fffffd80641d06c0) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299 buf_dealloc_mem(fffffd80641d06c0) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179 buf_put(fffffd80641d06c0) at buf_put+0x1dc sys/kern/vfs_bio.c:127 brelse(fffffd80641d06c0) at brelse+0x395 sys/kern/vfs_bio.c:944 vinvalbuf(fffffd807127d0f0,2,ffffffffffffffff,ffff800029fe62c0,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2022 ffs_truncate(fffffd807e087ab0,0,0,ffffffffffffffff) at ffs_truncate+0xf6c ufs_inactive(ffff80002a0d3f58) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd807127d0f0,ffff800029fe62c0) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vrele(fffffd807127d0f0) at vrele+0x129 sys/kern/vfs_subr.c:824 ktrwriteraw(ffff800029fe62c0,fffffd807127d0f0,fffffd807f7d35b0,ffff80002a0d41a8,ffff80002a0d4180) at ktrwriteraw+0x382 ktrcleartrace sys/kern/kern_ktrace.c:86 [inline] ktrwriteraw(ffff800029fe62c0,fffffd807127d0f0,fffffd807f7d35b0,ffff80002a0d41a8,ffff80002a0d4180) at ktrwriteraw+0x382 sys/kern/kern_ktrace.c:701 ktrpsig(ffff800029fe62c0,9,0,0,0,ffff80002a0d4270) at ktrpsig+0x1ac sys/kern/kern_ktrace.c:292 end trace frame: 0xffff80002a0d4360, count: 0 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830e2798) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8309ab51,ffffffff8303de90,136,ffffffff830231e4) at __assert+0x29 buf_free_pages(fffffd80641d06c0) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299 buf_dealloc_mem(fffffd80641d06c0) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179 buf_put(fffffd80641d06c0) at buf_put+0x1dc sys/kern/vfs_bio.c:127 brelse(fffffd80641d06c0) at brelse+0x395 sys/kern/vfs_bio.c:944 vinvalbuf(fffffd807127d0f0,2,ffffffffffffffff,ffff800029fe62c0,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2022 ffs_truncate(fffffd807e087ab0,0,0,ffffffffffffffff) at ffs_truncate+0xf6c ufs_inactive(ffff80002a0d3f58) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd807127d0f0,ffff800029fe62c0) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vrele(fffffd807127d0f0) at vrele+0x129 sys/kern/vfs_subr.c:824 ktrwriteraw(ffff800029fe62c0,fffffd807127d0f0,fffffd807f7d35b0,ffff80002a0d41a8,ffff80002a0d4180) at ktrwriteraw+0x382 ktrcleartrace sys/kern/kern_ktrace.c:86 [inline] ktrwriteraw(ffff800029fe62c0,fffffd807127d0f0,fffffd807f7d35b0,ffff80002a0d41a8,ffff80002a0d4180) at ktrwriteraw+0x382 sys/kern/kern_ktrace.c:701 ktrpsig(ffff800029fe62c0,9,0,0,0,ffff80002a0d4270) at ktrpsig+0x1ac sys/kern/kern_ktrace.c:292 postsig(ffff800029fe62c0,9,ffff80002a0d4378) at postsig+0x3b3 sys/kern/kern_sig.c:1571 userret(ffff800029fe62c0) at userret+0x21e sys/kern/kern_sig.c:2022 syscall(ffff80002a0d44b0) at syscall+0x9a7 mi_syscall_return sys/sys/syscall_mi.h:206 [inline] syscall(ffff80002a0d44b0) at syscall+0x9a7 sys/arch/amd64/amd64/trap.c:598 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78983ad337d0, count: -18