[Bug 265951] ext2fs: kernel panic when trivial rsync operation from zfs to ext3 partitions

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 20 Aug 2022 00:54:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265951

            Bug ID: 265951
           Summary: ext2fs: kernel panic when trivial rsync operation from
                    zfs to ext3 partitions
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: clear.screen@orange.fr

When doing rsync trivial (avz) operations from zfs dataset to ext3 partition
mounted with ext2fs.ko module, a kernel panic occurs trashing the whole server.

First UFS filesystem (first disk) is corrupted
Second UFS filesytem (second disk) is corrupted
Ext3fs filesystem (third disk) is corrupted

This is the output of /var/log/daemon.log

Aug 19 07:27:47 myServer savecore[1396]: reboot after panic: ext2_dirbad:
/EXT3-TARGET: bad dir ino 164859907 at offset 0: mangled entry
Aug 19 07:27:47 myServer savecore[1396]: writing core to /var/crash/vmcore.1

- The ext2fs stability and reliability have to be fixed. This is mandatory.
- Perhaps this was improved on the 13.1 branch ?
- Is there a safe way to manage ext3 filesystems regarding kernel panic ?

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