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 Oct 3 2022, 12:52 PM
Parents
rGdb79bf75ac9e: powerpc: cpuset: add local functions for copyin/copyout
Branches
Unknown
Tags
Unknown