HomeFreeBSD

Add root directory entry check.

Description

Add root directory entry check.

Add check that directory entry with ino=EXT2_ROOTINO
have correct namelength and name. It is possible to
create malicious image which will cause panic if root
directory entry have incorrect name.

PR: 259068
Reported by: Robert Morris
Reviewed by: pfg
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D38502

Details

Provenance
fsuAuthored on Feb 9 2023, 9:34 AM
Reviewer
pfg
Differential Revision
D38502: Add root directory entry check.
Parents
rG6b49a630f441: daemon: kill off some stray blank lines
Branches
Unknown
Tags
Unknown