assert "pg->wire_count == NUM" failed in vfs_biomem.c (6)

0 views
Skip to first unread message

syzbot

unread,
Dec 2, 2025, 6:25:33 AM (21 hours ago) Dec 2
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 2f5495769435 wrap the veb_port refcnt ops to make it a bit..
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=1136b8c2580000
kernel config: https://syzkaller.appspot.com/x/.config?x=7058272de1526588
dashboard link: https://syzkaller.appspot.com/bug?extid=943152053d5ffeac2af2

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/24550efa9503/disk-2f549576.raw.xz
bsd.gdb: https://storage.googleapis.com/syzbot-assets/ac092d989355/bsd-2f549576.gdb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/d894425cc958/kernel-2f549576.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+943152...@syzkaller.appspotmail.com

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
*163768 68918 0 0x1000 0x4080000 0K syz-executor
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff833a9fe9) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff833edd47,ffffffff833453c9,136,ffffffff833312cf) at __assert+0x29 sys/kern/subr_prf.c:-1
buf_free_pages(fffffd805f014c28) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd805f014c28) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179
buf_put(fffffd805f014c28) at buf_put+0x1d9 sys/kern/vfs_bio.c:123
brelse(fffffd805f014c28) at brelse+0x397 sys/kern/vfs_bio.c:932
vinvalbuf(fffffd800bd8b210,2,fffffd80097fd618,ffff80003c42f500,0,ffffffffffffffff) at vinvalbuf+0x539 sys/kern/vfs_subr.c:1997
ffs_truncate(fffffd806e8ceac8,0,4,fffffd80097fd618) at ffs_truncate+0xf4a sys/ufs/ffs/ffs_inode.c:-1
ffs_write(ffff80003c457490) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401
VOP_WRITE(fffffd800bd8b210,ffff80003c457648,7,fffffd80097fd618) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245
vn_write(fffffd806c9bf7c0,ffff80003c457648,0) at vn_write+0x1d3 sys/kern/vfs_vnops.c:408
dofilewritev(ffff80003c42f500,3,ffff80003c457648,0,ffff80003c457700) at dofilewritev+0x242 sys/kern/sys_generic.c:380
sys_write(ffff80003c42f500,ffff80003c4577b0,ffff80003c457700) at sys_write+0xa2 sys/kern/sys_generic.c:300
end trace frame: 0xffff80003c4577a0, 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{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+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff833a9fe9) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff833edd47,ffffffff833453c9,136,ffffffff833312cf) at __assert+0x29 sys/kern/subr_prf.c:-1
buf_free_pages(fffffd805f014c28) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd805f014c28) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179
buf_put(fffffd805f014c28) at buf_put+0x1d9 sys/kern/vfs_bio.c:123
brelse(fffffd805f014c28) at brelse+0x397 sys/kern/vfs_bio.c:932
vinvalbuf(fffffd800bd8b210,2,fffffd80097fd618,ffff80003c42f500,0,ffffffffffffffff) at vinvalbuf+0x539 sys/kern/vfs_subr.c:1997
ffs_truncate(fffffd806e8ceac8,0,4,fffffd80097fd618) at ffs_truncate+0xf4a sys/ufs/ffs/ffs_inode.c:-1
ffs_write(ffff80003c457490) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401
VOP_WRITE(fffffd800bd8b210,ffff80003c457648,7,fffffd80097fd618) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245
vn_write(fffffd806c9bf7c0,ffff80003c457648,0) at vn_write+0x1d3 sys/kern/vfs_vnops.c:408
dofilewritev(ffff80003c42f500,3,ffff80003c457648,0,ffff80003c457700) at dofilewritev+0x242 sys/kern/sys_generic.c:380
sys_write(ffff80003c42f500,ffff80003c4577b0,ffff80003c457700) at sys_write+0xa2 sys/kern/sys_generic.c:300
syscall(ffff80003c4577b0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c4577b0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x63893bef140, count: -16
ddb{0}> show registers
rdi 0
rsi 0x1
rbp 0xffff80003c456f10
rbx 0xffffffff837dae07 cpu_info_full_primary+0x2e07
rdx 0
rcx 0xffff80003c42f500
rax 0xffffffff837d9ff0 cpu_info_full_primary+0x1ff0
r8 0x101010101010101
r9 0x8080808080808080
r10 0xae762df3d1fda899
r11 0xcec8b5100ab466b0
r12 0xffffffff837dac08 cpu_info_full_primary+0x2c08
r13 0
r14 0
r15 0x1
rip 0xffffffff821fa525 db_enter+0x25
cs 0x8
rflags 0x246
rsp 0xffff80003c456f00
ss 0x10
db_enter+0x25: addq $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor) tid=163768 pid=68918 tcnt=2 stat=onproc
flags process=1000<SINGLEEXIT> proc=4080000<SUSPSINGLE,THREAD>
runpri=17, usrpri=61, slppri=17, nice=20
wchan=0x0, wmesg=, ps_single=0xffff80003c42e040 scnt=1 ecnt=0
forw=0xffffffffffffffff, list=0xffff80003c42e040,0xffff80003c42e2e8
process=0xffff8000fffed358 user=0xffff80003c452000, vmspace=0xfffffd806cad69a0
estcpu=11, cpticks=18, pctcpu=0.9, user=0, sys=18, intr=0
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
10858 399705 52151 0 3 0x2 clonelk ifconfig
52151 480987 73976 0 3 0x10008a sigsusp sh
73976 503402 45627 0 3 0x82 wait syz-executor
70669 251012 45627 0 3 0x82 piperd syz-executor
68918 4318 1 0 3 0x3000 suspend syz-executor
*68918 163768 1 0 7 0x4081000 syz-executor
41072 516725 45627 0 3 0x82 piperd syz-executor
60345 182352 0 0 3 0x14280 nfsidl nfsio
20471 205436 0 0 3 0x14280 nfsidl nfsio
78538 149140 0 0 3 0x14280 nfsidl nfsio
29084 27407 0 0 3 0x14280 nfsidl nfsio
47248 35541 1 0 3 0x100083 ttyin getty
85746 408533 45627 0 3 0x82 piperd syz-executor
30279 366836 45627 0 3 0x82 piperd syz-executor
45627 131022 53288 0 3 0x82 wait syz-executor
53288 23544 17540 0 3 0x10008a sigsusp ksh
17540 276816 68276 0 3 0x98 kqread sshd-session
68276 202161 66833 0 3 0x92 kqread sshd-session
66833 283041 1 0 3 0x88 kqread sshd
14713 215554 28900 74 3 0x1100092 bpf pflogd
28900 449013 1 0 3 0x80 sbwait pflogd
7262 34734 94941 73 2 0x1100010 syslogd
94941 430848 1 0 3 0x100082 sbwait syslogd
59351 459705 1 0 3 0x100080 kqread resolvd
2181 129763 61220 77 3 0x100092 kqread dhcpleased
53848 136379 61220 77 3 0x100092 kqread dhcpleased
61220 152201 1 0 3 0x80 kqread dhcpleased
68492 63311 0 0 3 0x14200 bored smr
39265 111480 0 0 2 0x14200 zerothread
42958 151794 0 0 3 0x14200 aiodoned aiodoned
5739 492210 0 0 3 0x14200 syncer update
16211 26132 0 0 3 0x14200 cleaner cleaner
31160 335721 0 0 3 0x14200 reaper reaper
13138 436602 0 0 3 0x14200 pgdaemon pagedaemon
21167 106572 0 0 3 0x14200 bored viomb
58567 21337 0 0 3 0x40014200 acpi0 acpi0
94569 427150 0 0 7 0x40014200 idle1
70909 420859 0 0 3 0x14200 bored softnet1
52320 233955 0 0 3 0x14200 bored softnet0
35578 24222 0 0 3 0x14200 bored systqmp
18071 41470 0 0 3 0x14200 bored systq
68522 134784 0 0 3 0x14200 tmoslp softclockmp
12300 464189 0 0 3 0x40014200 tmoslp softclock
11175 160653 0 0 3 0x40014200 idle0
1 177708 0 0 3 0x82 wait init
0 0 -1 0 3 0x10010200 scheduler swapper
ddb{0}> show all locks
Process 68918 (syz-executor) thread 0xffff80003c42f500 (163768)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff838b8730)
#0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1 __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1
#2 sleep_finish+0x2d8 sys/kern/kern_synch.c:369
#3 biowait+0xc6 sys/kern/vfs_bio.c:1242
#4 bwrite+0x2e7 sys/kern/vfs_bio.c:754
#5 ffs_update+0x2fe sys/ufs/ffs/ffs_inode.c:111
#6 ffs_truncate+0xc9b sys/ufs/ffs/ffs_inode.c:-1
#7 ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401
#8 VOP_WRITE+0x101 sys/kern/vfs_vops.c:245
#9 vn_write+0x1d3 sys/kern/vfs_vnops.c:408
#10 dofilewritev+0x242 sys/kern/sys_generic.c:380
#11 sys_write+0xa2 sys/kern/sys_generic.c:300
#12 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#12 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775
#13 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd806e8ceb68)
#0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320
#2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621
#3 VOP_LOCK+0xa3 sys/kern/vfs_vops.c:527
#4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570
#5 vn_write+0x18f sys/kern/vfs_vnops.c:405
#6 dofilewritev+0x242 sys/kern/sys_generic.c:380
#7 sys_write+0xa2 sys/kern/sys_generic.c:300
#8 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#8 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775
#9 Xsyscall+0x128
Process 7262 (syslogd) thread 0xffff80002a263c98 (34734)
exclusive rrwlock inode r = 0 (0xfffffd806ee42228)
#0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320
#2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621
#3 VOP_LOCK+0xa3 sys/kern/vfs_vops.c:527
#4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570
#5 sys_fsync+0x144 sys/kern/vfs_syscalls.c:2940
#6 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#6 syscall+0xb17 sys/arch/amd64/amd64/trap.c:775
#7 Xsyscall+0x128
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10248 11059K 12586K 166960K 17977 0
pcb 17 16K 31K 166960K 1052 0
rtable 197 13K 15K 166960K 1012 0
pf 44 19K 84K 166960K 453 0
ifaddr 36 7K 8K 166960K 276 0
ifgroup 63 2K 3K 166960K 511 0
sysctl 4 1K 9K 166960K 40 0
counters 72 37K 39K 166960K 540 0
ioctlops 0 0K 4K 166960K 2487 0
iov 0 0K 24K 166960K 404 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1521 96K 96K 166960K 6129 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 3 5K 13K 166960K 65 0
VM map 2 1K 1K 166960K 2 0
sem 23 137K 137K 166960K 231 0
dirhash 93 16K 19K 166960K 7218 0
ACPI 1692 195K 286K 166960K 12470 0
file desc 11 37K 240K 166960K 4266 0
sigio 0 0K 0K 166960K 190 0
proc 80 131K 180K 166960K 1216 0
subproc 63 3K 4K 166960K 174 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 0 0K 0K 166960K 778 0
in_multi 52 3K 7K 166960K 337 0
ether_multi 1 0K 0K 166960K 52 0
mrt 1 0K 0K 166960K 42 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 253 1129K 1129K 166960K 253 0
exec 0 0K 1K 166960K 1478 0
fusefs mount 1 32K 32K 166960K 1 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 198 153K 183K 166960K 40852 0
UVM aobj 168 177K 177K 166960K 174 0
pinsyscall 36 72K 102K 166960K 5584 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 284 0
NDP 15 0K 1K 166960K 206 0
temp 75 8675K 30948K 166960K 205312 0
kqueue 13 20K 33K 166960K 837 0
SYN cache 2 8K 16K 166960K 3 0
ddb{0}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache 128 26 0 0 1 0 1 1 0 8 0
rtpcb 120 504 0 501 5 4 1 3 0 8 0
rtentry 176 305 0 241 6 2 4 6 0 8 0
unpcb 144 3656 0 3639 28 24 4 6 0 8 3
syncache 336 10 0 10 4 4 0 1 0 8 0
tcpqe 32 4 0 4 2 2 0 1 0 8 0
tcpcb 736 1665 0 1661 39 38 1 7 0 8 0
arp 136 46 0 32 1 0 1 1 0 8 0
inpcb 328 5244 0 5236 41 38 3 10 0 8 2
nd6 152 62 0 52 2 1 1 2 0 8 0
pkpcb 40 18 0 18 6 6 0 1 0 8 0
kcovpl 48 19 0 12 1 0 1 1 0 8 0
mppekey 1024 3 0 3 2 2 0 1 0 8 0
ppxss 1192 185 0 185 2 2 0 1 0 8 0
pppxif 1504 17 0 17 8 8 0 1 0 8 0
pffrag 232 81 0 69 1 0 1 1 0 482 0
pffrnode 88 75 0 63 1 0 1 1 0 8 0
pffrent 40 370 0 358 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 7 0 4 1 0 1 1 0 8 0
pfanchor 1288 2 0 0 1 0 1 1 0 8 0
pfstitem 24 251 0 162 1 0 1 1 0 8 0
pfstkey 128 251 0 162 5 0 5 5 0 8 0
pfstate 448 251 0 162 15 0 15 15 0 8 0
pfrule 1344 23 0 17 2 1 1 2 0 8 0
rttmr 136 9 0 9 5 5 0 1 0 8 0
art_heap8 4096 6 0 1 6 1 5 5 0 8 0
art_heap4 256 1377 0 1095 41 18 23 29 0 8 1
art_table 40 1383 0 1096 5 1 4 5 0 8 0
art_node 32 300 0 245 1 0 1 1 0 8 0
sysvmsgpl 40 8 0 2 1 0 1 1 0 8 0
semupl 112 4 0 4 4 4 0 1 0 8 0
semapl 112 219 0 198 1 0 1 1 0 8 0
shmpl 112 82 0 2 3 0 3 3 0 8 0
dirhash 1024 2421 0 2377 7 0 7 7 0 8 0
dino2pl 256 10019 0 8494 96 0 96 96 0 8 0
ffsino 296 10019 0 8494 118 0 118 118 0 8 0
nchpl 144 16114 0 15488 64 40 24 64 0 8 0
rtmask 32 36 0 36 8 8 0 1 0 8 0
vnodes 216 5926 0 0 330 0 330 330 0 8 0
namei 1024 58840 0 58840 6 5 1 2 0 8 1
percpumem 16 285 0 234 1 0 1 1 0 8 0
vcpupl 3968 86 0 1 11 0 11 11 0 8 0
vmpool 840 89 0 4 11 1 10 10 0 8 0
pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0
kstatmem 264 348 0 316 4 1 3 3 0 8 0
scsiplug 72 29 0 29 6 6 0 1 0 8 0
scxspl 216 101318 0 101318 17 15 2 8 1 8 2
plimitpl 152 1198 0 1179 1 0 1 1 0 8 0
sigapl 424 4546 0 4499 9 2 7 8 0 8 0
knotepl 120 643 0 0 17 0 17 17 0 8 0
kqueuepl 224 2087 0 2078 20 19 1 5 0 8 0
pipepl 344 645 0 617 12 9 3 9 0 8 0
fdescpl 528 4491 0 4466 3 0 3 3 0 8 0
filepl 160 36127 0 35934 55 41 14 22 0 8 1
lockfpl 104 1667 0 1665 2 1 1 2 0 8 0
lockfspl 48 625 0 623 1 0 1 1 0 8 0
sessionpl 144 40 0 31 1 0 1 1 0 8 0
pgrppl 48 119 0 101 1 0 1 1 0 8 0
ucredpl 104 7305 0 7291 1 0 1 1 0 8 0
zombiepl 144 6175 0 6172 2 1 1 1 0 8 0
processpl 1232 4546 0 4499 6 1 5 6 0 8 0
procpl 664 11749 0 11701 9 3 6 8 0 8 0
sosppl 176 29 0 29 8 8 0 1 0 8 0
sockpl 752 9659 0 9631 86 75 11 24 0 8 8
mcl64k 65536 21 0 0 3 0 3 3 0 8 0
mcl16k 16384 4 0 0 1 0 1 1 0 8 0
mcl12k 12288 3 0 0 1 0 1 1 0 8 0
mcl9k 9216 2 0 0 1 0 1 1 0 8 0
mcl8k 8192 10 0 0 2 0 2 2 0 8 0
mcl4k 4096 135 0 0 17 0 17 17 0 8 0
mcl2k 2048 137 0 0 11 2 9 11 0 8 0
mtagpl 96 101 0 0 3 0 3 3 0 8 0
mbufpl 256 6822 0 0 422 0 422 422 0 8 0
bufpl 280 41003 0 34867 439 0 439 439 0 8 0
anonpl 32 15267 0 0 123 0 123 123 0 246 0
amapchunkpl 152 152709 0 152273 85 48 37 44 0 158 7
amappl16 200 13818 0 13493 105 87 18 31 0 8 0
amappl15 192 5 0 5 1 1 0 1 0 8 0
amappl14 184 5 0 5 2 2 0 1 0 8 0
amappl13 176 526 0 524 1 0 1 1 0 8 0
amappl12 168 4923 0 4888 3 0 3 3 0 8 0
amappl11 160 6 0 6 1 1 0 1 0 8 0
amappl10 152 52 0 38 1 0 1 1 0 8 0
amappl9 144 244 0 244 1 1 0 1 0 8 0
amappl8 136 35 0 31 1 0 1 1 0 8 0
amappl7 128 114 0 111 1 0 1 1 0 8 0
amappl6 120 382 0 366 1 0 1 1 0 8 0
amappl5 112 78 0 67 1 0 1 1 0 8 0
amappl4 104 488 0 456 1 0 1 1 0 8 0
amappl3 96 25461 0 25403 4 1 3 3 0 8 0
amappl2 88 4615 0 4544 2 0 2 2 0 8 0
amappl1 80 27567 0 27000 15 0 15 15 0 8 0
amappl 88 39254 0 39135 5 0 5 5 0 92 0
uvmvnodes 80 209 0 1 5 0 5 5 0 8 0
dma65536 65536 3 0 3 3 3 0 1 0 8 0
dma8192 8192 1 0 1 1 1 0 1 0 8 0
dma4096 4096 2 0 2 2 2 0 1 0 8 0
dma1024 1024 1 0 0 1 0 1 1 0 8 0
dma256 256 76 0 76 4 4 0 1 0 8 0
dma128 128 263 0 263 7 7 0 1 0 8 0
dma64 64 9 0 9 3 3 0 1 0 8 0
dma32 32 7 0 7 1 1 0 1 0 8 0
dma16 16 22 0 21 1 0 1 1 0 8 0
aobjpl 72 173 0 6 4 0 4 4 0 8 0
uaddrrnd 24 4492 0 4467 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 4492 0 4467 1 0 1 1 0 8 0
vmmpekpl 168 36263 0 36197 4 0 4 4 0 8 0
vmmpepl 168 285532 0 283673 157 56 101 112 0 357 2
vmsppl 488 4491 0 4467 5 0 5 5 0 8 0
rwobjpl 80 71717 0 70163 44 8 36 38 0 8 0
pdppl 4096 9170 0 9027 206 61 145 156 0 8 2
pvpl 32 34733 0 0 279 0 279 279 0 265 0
pmappl 256 4580 0 4471 8 0 8 8 0 8 0
extentpl 40 45 0 27 1 0 1 1 0 8 0
phpool 112 897 0 141 23 0 23 23 0 8 0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff833a9fe9) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff833edd47,ffffffff833453c9,136,ffffffff833312cf) at __assert+0x29 sys/kern/subr_prf.c:-1
buf_free_pages(fffffd805f014c28) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd805f014c28) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179
buf_put(fffffd805f014c28) at buf_put+0x1d9 sys/kern/vfs_bio.c:123
brelse(fffffd805f014c28) at brelse+0x397 sys/kern/vfs_bio.c:932
vinvalbuf(fffffd800bd8b210,2,fffffd80097fd618,ffff80003c42f500,0,ffffffffffffffff) at vinvalbuf+0x539 sys/kern/vfs_subr.c:1997
ffs_truncate(fffffd806e8ceac8,0,4,fffffd80097fd618) at ffs_truncate+0xf4a sys/ufs/ffs/ffs_inode.c:-1
ffs_write(ffff80003c457490) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401
VOP_WRITE(fffffd800bd8b210,ffff80003c457648,7,fffffd80097fd618) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245
vn_write(fffffd806c9bf7c0,ffff80003c457648,0) at vn_write+0x1d3 sys/kern/vfs_vnops.c:408
dofilewritev(ffff80003c42f500,3,ffff80003c457648,0,ffff80003c457700) at dofilewritev+0x242 sys/kern/sys_generic.c:380
sys_write(ffff80003c42f500,ffff80003c4577b0,ffff80003c457700) at sys_write+0xa2 sys/kern/sys_generic.c:300
syscall(ffff80003c4577b0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c4577b0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x63893bef140, count: -16
ddb{0}> machine ddbcpu 1
Stopped at x86_ipi_db+0x27: addq $0x8,%rsp
x86_ipi_db(ffff8000299ddff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224
sched_idle(ffff8000299ddff0) at sched_idle+0x391 sys/kern/kern_sched.c:191
end trace frame: 0x0, count: 10
ddb{1}> trace
x86_ipi_db(ffff8000299ddff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224
sched_idle(ffff8000299ddff0) at sched_idle+0x391 sys/kern/kern_sched.c:191
end trace frame: 0x0, count: -5


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages