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  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20081121093206.GA2672@alice>
Date:	Fri, 21 Nov 2008 10:32:06 +0100
From:	Eric Sesterhenn <snakebyte@....de>
To:	sct@...hat.com, akpm@...ux-foundation.org, adilger@....com
Cc:	linux-ext4@...r.kernel.org
Subject: Mounting corrupted ext3 image results in infinite loop

hi,

mounting an intentionally corrupted ext3 image results in
an infinite loop during the mount.

The compressed image can be found here:
http://www.cccmz.de/~snakebyte/ext3.57.img.bz2


mount ./cfs/ext3.57.img /media/test -t ext3 -o debug,data=journal -o
loop

gives the following dmesg output

[  159.477815] EXT3-fs error (device loop0): ext3_free_branches: Read
failure, inode=8, block=2147483648
[  159.488844] Aborting journal on device loop0.
[  159.492602] Remounting filesystem read-only
[  159.492987] EXT3-fs error (device loop0): ext3_free_branches: Read
failure, inode=8, block=1048576
[  159.499747] EXT3-fs error (device loop0): ext3_free_branches: Read
failure, inode=8, block=134217792
[  159.516484] EXT3-fs error (device loop0) in ext3_reserve_inode_write:
Journal has aborted
[  159.516757] EXT3-fs error (device loop0) in ext3_reserve_inode_write:
Journal has aborted
[  159.516972] EXT3-fs error (device loop0) in ext3_orphan_del: Journal
has aborted
[  181.628434] ext3_orphan_cleanup: truncating inode 8 to 1049088 bytes
[  181.628643] ext3_orphan_cleanup: truncating inode 8 to 1049088 bytes
[  181.628815] ext3_orphan_cleanup: truncating inode 8 to 1049088 bytes
[  181.628999] ext3_orphan_cleanup: truncating inode 8 to 1049088 bytes
[  181.629215] ext3_orphan_cleanup: truncating inode 8 to 1049088 bytes
[  181.629383] ext3_orphan_cleanup: truncating inode 8 to 1049088 bytes
[  181.629567] ext3_orphan_cleanup: truncating inode 8 to 1049088 bytes

the ext3_orphan_cleanup message is then repeated forever.

Greetings, Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ