syzbot


panic: ffs_update: bad link cnt (2)

Status: upstream: reported on 2023/09/18 11:32
Reported-by: syzbot+432bf0268bbc057b7791@syzkaller.appspotmail.com
First crash: 250d, last: 2d10h
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: ffs_update: bad link cnt 18 343d 845d 0/3 auto-obsoleted due to no activity on 2023/09/14 15:36

Sample crash report:
syncing disks...panic: ffs_update: bad link cnt
Starting stack trace...
panic(ffffffff828ebed0) at panic+0x16f sys/kern/subr_prf.c:229
ffs_update(fffffd806e3c0230,0) at ffs_update+0x2da sys/ufs/ffs/ffs_inode.c:99
VOP_FSYNC(fffffd8052dc38c0,fffffd807f7d3958,2,ffff80002a237210) at VOP_FSYNC+0xd2 sys/kern/vfs_vops.c:311
ffs_sync_vnode(fffffd8052dc38c0,ffff80002a2754d8) at ffs_sync_vnode+0x16b sys/ufs/ffs/ffs_vfsops.c:1081
vfs_mount_foreach_vnode(ffff8000006cec00,ffffffff81d309d0,ffff80002a2754d8) at vfs_mount_foreach_vnode+0x55 sys/kern/vfs_subr.c:910
ffs_sync(ffff8000006cec00,2,0,fffffd807f7d3958,ffff80002a237210) at ffs_sync+0x104 sys/ufs/ffs/ffs_vfsops.c:1131
sys_sync(ffff80002a237210,0,0) at sys_sync+0xbc sys/kern/vfs_syscalls.c:537
vfs_syncwait(ffff80002a237210,1) at vfs_syncwait+0x3b
vfs_shutdown(ffff80002a237210) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791
boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900
reboot(100) at reboot+0x84
panic(ffffffff82895e72) at panic+0x18f sys/kern/subr_prf.c:231
vop_generic_badop(ffff80002a2757a8) at vop_generic_badop+0x1f sys/kern/vfs_default.c:133
VOP_STRATEGY(fffffd807a806db8,fffffd80633add40) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634
bwrite(fffffd80633add40) at bwrite+0x1d3 sys/kern/vfs_bio.c:757
VOP_BWRITE(fffffd80633add40) at VOP_BWRITE+0x4e sys/kern/vfs_vops.c:646
ufs_mkdir(ffff80002a275a20) at ufs_mkdir+0x445 sys/ufs/ufs/ufs_vnops.c:1160
VOP_MKDIR(fffffd80734bfa58,ffff80002a275b80,ffff80002a275bb0,ffff80002a275ab0) at VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:394
domkdirat(ffff80002a237210,ffffff9c,77a324ee1850,1ff) at domkdirat+0x125 sys/kern/vfs_syscalls.c:3104
syscall(ffff80002a275d30) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
syscall(ffff80002a275d30) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x77a324ee18c0, count: 236
End of stack trace.

dump to dev 4,1 not possible
rebooting...
SeaBIOS (version 1.8.2-google)
Total RAM Size = 0x0000000080000000 = 2048 MiB
CPUs found: 2     Max CPUs supported: 2
SeaBIOS (version 1.8.2-google)
Machine UUID 43b93b83-f320-801a-a1ee-23eab263a335
found virtio-scsi at 0:3
virtio-scsi vendor='Google' product='PersistentDisk' rev='1' type=0 removable=0
virtio-scsi blksize=512 sectors=4194304 = 2048 MiB
drive 0x000f27c0: PCHS=0/0/0 translation=lba LCHS=520/128/63 s=4194304
Sending Seabios boot VM event.
Booting from Hard Disk 0...
>> OpenBSD/amd64 BOOT 3.65
boot> set $lines = 0
set: syntax error
boot> set $maxwidth = 0
set: syntax error
boot> show panic
boot: illegal argument panic
boot> trace
boot> show registers
boot> show proc
boot> ps
boot> show all locks
boot> show malloc
boot> show all pools
boot> machine ddbcpu 0
machine: syntax error
boot> trace
boot> machine ddbcpu 1
machine: syntax error
boot> trace

Crashes (23):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/23 03:29 openbsd 6859a790d2a4 4d098039 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ffs_update: bad link cnt
2024/05/22 02:13 openbsd 6859a790d2a4 1014eca7 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2024/05/20 04:25 openbsd 676865473293 c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2024/05/19 06:10 openbsd 088a2cd995ac c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2024/05/19 03:28 openbsd 088a2cd995ac c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2024/05/16 11:49 openbsd b20edd337af0 ef5d53ed .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2024/05/15 18:40 openbsd f413dfa09d56 7e8e0c0f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2024/05/03 15:45 openbsd 5344938f422c ddfc15a1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2024/05/03 14:57 openbsd 5344938f422c ddfc15a1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2024/05/01 16:16 openbsd a6ba80fb8d43 3ba885bc .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2024/04/26 08:00 openbsd 85e00e3040cd 8bdc0f22 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2024/04/24 11:51 openbsd e6c7c102cf5d 21339d7b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2024/04/20 10:31 openbsd 55906bae5af5 af24b050 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2024/04/19 23:47 openbsd 097a266d85db af24b050 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2024/04/13 19:53 openbsd 3a5505f27483 c8349e48 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2024/04/08 07:48 openbsd c112ccd4e935 ca620dd8 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2024/04/06 22:48 openbsd 85fbf21ae5ae ca620dd8 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2024/04/03 06:58 openbsd 2ee472d028ec 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2024/03/27 08:18 openbsd d9c286e032a7 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ffs_update: bad link cnt
2024/01/21 03:17 openbsd e7a417afe28e 9bd8dcda .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ffs_update: bad link cnt
2023/12/31 06:47 openbsd e79f4293759c fb427a07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
2023/12/11 06:23 openbsd 83762a71f748 28b24332 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ffs_update: bad link cnt
2023/09/18 11:31 openbsd 649d9dd9bffc 0b6a67ac .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ffs_update: bad link cnt
* Struck through repros no longer work on HEAD.