[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-fs
Subject:    [Bug 259068] ext2fs can violate some INVARIANTS if file system is damaged
From:       bugzilla-noreply () freebsd ! org
Date:       2023-03-18 6:17:15
Message-ID: bug-259068-3630-4WHuVgssqz () https ! bugs ! freebsd ! org/bugzilla/
[Download RAW message or body]

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259068

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

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

commit 366da717deda3964ae369f1f2fbd62114d14c587
Author:     Fedor Uporov <fsu@FreeBSD.org>
AuthorDate: 2023-02-09 09:34:25 +0000
Commit:     Fedor Uporov <fsu@FreeBSD.org>
CommitDate: 2023-03-18 06:16:22 +0000

    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

 sys/fs/ext2fs/ext2_lookup.c | 7 +++++++
 1 file changed, 7 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic