[Bug 271351] fsck_ffs can crash if fs_size < fs_ncg*fs_fpg

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 27 May 2023 19:24:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271351

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=c79a1416955a260424a5dd2013b114ff864bc926

commit c79a1416955a260424a5dd2013b114ff864bc926
Author:     Kirk McKusick <mckusick@FreeBSD.org>
AuthorDate: 2023-05-27 19:23:39 +0000
Commit:     Kirk McKusick <mckusick@FreeBSD.org>
CommitDate: 2023-05-27 19:24:11 +0000

    Updates to UFS/FFS superblock integrity checks when reading a superblock.

    Verify that the summary information does not extend past the end
    of the filesystem.

    No legitimate superblocks should fail as a result of these changes.

    Reported-by:  Robert Morris
    PR:           271351
    MFC-after:    1 week
    Sponsored-by: The FreeBSD Foundation

 sys/ufs/ffs/ffs_subr.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.