lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 08 Jul 2018 10:50:04 +0000
From:   bugzilla-daemon@...zilla.kernel.org
To:     linux-ext4@...nel.org
Subject: [Bug 200443] New: Operating non-crafted Ext4 image with
 inline_inodes option enabled causes "checksum invalid" error

https://bugzilla.kernel.org/show_bug.cgi?id=200443

            Bug ID: 200443
           Summary: Operating non-crafted Ext4 image with inline_inodes
                    option enabled causes "checksum invalid" error
           Product: File System
           Version: 2.5
    Kernel Version: v4.18-rc3 or tytso/dev (9a4bd84)
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
          Assignee: fs_ext4@...nel-bugs.osdl.org
          Reporter: anatoly.trosinenko@...il.com
        Regression: No

Created attachment 277273
  --> https://bugzilla.kernel.org/attachment.cgi?id=277273&action=edit
Reproducer

Operating non-crafted Ext4 image with inline_inodes option enabled causes
"checksum invalid" error

How to reproduce:

1) dd if=/dev/zero of=ext4 bs=1M count=8
   mkfs.ext4 ext4 -O inline_data -I 1024
   # mke2fs 1.44.1 (24-Mar-2018)

2) Compile either v4.18-rc3 or tytso/dev (9a4bd84) with the attached config

3) Compile ext4-bug.c (see attachment for full source)

char buf[64];
int main() {
  int fd = creat("./xyz", 0x30);
  truncate("./xyz", 1133);
  for (int i = 0; i < sizeof(buf); ++i)
    buf[i] = i + 1;
  write(fd, buf, 48);
  return 0;
}

4) mount /dev/sda /mnt -t ext4
   cd /mnt
   ../ext4-bug
   cd /
   umount /mnt
   mount /dev/sda /mnt -t ext4
   #mount /mnt -o remount # Remounting gives different error message
   rmdir /mnt/xyz

What happens:
[    4.848416] EXT4-fs error (device sda): ext4_iget:4812: inode #12: comm
init: checksum invalid
rmdir: '/mnt/xyz': Bad message

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux - Powered by OpenVZ