HomeFreeBSD

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

Description

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

Further updates based on ways Peter Holm found to corrupt UFS
superblocks in ways that could cause kernel hangs or crashes.

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

Reported by: Peter Holm
Tested by: Peter Holm
Sponsored by: The FreeBSD Foundation

Details

Provenance
mckusickAuthored on Aug 26 2022, 7:09 AM
Parents
rG495b1baac327: Provide better diagnostic messages for bad cylinder groups.
Branches
Unknown
Tags
Unknown