syzbot


panic: kernel diagnostic assertion "pg->wire_count == NUM" failed

Status: upstream: reported on 2024/10/19 06:04
Reported-by: syzbot+d113566386be5479a185@syzkaller.appspotmail.com
First crash: 33d, last: 29d

Sample crash report:
panic: kernel diagnostic assertion "pg->wire_count == 1" failed
: file "/syzkaller/managers/main/kernel/sys/kern/vfs_biomem.c",
 line 310
Starting stack trace...
panic(ffffffff830b234c) at panic+0x1ba sys/kern/subr_prf.c:229
__assert(ffffffff830679a2,ffffffff83073127,136,ffffffff82fef9b5) at __assert+0x29
buf_free_pages(fffffd806056e348) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299
buf_dealloc_mem(fffffd806056e348) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179
buf_put(fffffd806056e348) at buf_put+0x1dc sys/kern/vfs_bio.c:127
brelse(fffffd806056e348) at brelse+0x395 sys/kern/vfs_bio.c:944
vinvalbuf(fffffd806a3e37a8,2,fffffd807f7d7478,ffff80002a4d1458,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2022
ffs_truncate(fffffd807b3d7788,0,4,fffffd807f7d7478) at ffs_truncate+0xf63
ufs_rmdir(ffff800032df3428) at ufs_rmdir+0x374 sys/ufs/ufs/ufs_vnops.c:1265
VOP_RMDIR(fffffd807d473e98,fffffd806a3e37a8,ffff800032df3508) at VOP_RMDIR+0x19a sys/kern/vfs_vops.c:413
dounlinkat(ffff80002a4d1458,ffffff9c,7bf6989c2870,8) at dounlinkat+0x2e0 sys/kern/vfs_syscalls.c:1885
syscall(ffff800032df3680) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7bf6989c2860, count: 244
End of stack trace.

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/22 21:38 openbsd 1a81a8e6e44b 9d74f456 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/22 19:35 openbsd 1a81a8e6e44b 9d74f456 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/22 17:51 openbsd 1a81a8e6e44b 9d74f456 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/21 23:24 openbsd ad7ea506c175 14517542 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/21 20:15 openbsd ad7ea506c175 14517542 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/21 16:46 openbsd ad7ea506c175 14517542 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/21 16:37 openbsd ad7ea506c175 14517542 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/21 13:49 openbsd ad7ea506c175 14517542 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/21 10:20 openbsd e432ca3c48ac cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/21 08:51 openbsd e432ca3c48ac cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/20 23:25 openbsd 10994215a7ed cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/20 20:50 openbsd 10994215a7ed cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/20 15:34 openbsd 10994215a7ed cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/20 15:13 openbsd 10994215a7ed cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/20 13:30 openbsd bcc47c46a274 cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/19 23:46 openbsd 9cfd9950dbe9 cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/19 18:11 openbsd 9cfd9950dbe9 cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/19 16:45 openbsd 9cfd9950dbe9 cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/19 08:58 openbsd b0e7aced8b61 cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
2024/10/19 06:03 openbsd b0e7aced8b61 cd6fc0a3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: kernel diagnostic assertion "pg->wire_count == NUM" failed
* Struck through repros no longer work on HEAD.