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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <478180BD.3050204@jaysonking.com>
Date:	Sun, 06 Jan 2008 19:30:37 -0600
From:	Jayson King <dev@...sonking.com>
To:	linux-ext4@...r.kernel.org
Subject: Re: [Bug 9692] New: journal_data mount option causes filesystem

Andrew Morton wrote:
 >On Sat,  5 Jan 2008 09:52:15 -0800 (PST) 
bugme-daemon@...zilla.kernel.org wrote:
 >> http://bugzilla.kernel.org/show_bug.cgi?id=9692
 >>
 >>            Summary: journal_data mount option causes filesystem 
corruption
 >>                     with blocksize != 4096
 >>            Product: File System
 >>            Version: 2.5
 >>      KernelVersion: 2.6.23.9
 >>           Platform: All
 >>         OS/Version: Linux
 >>               Tree: Mainline
 >>             Status: NEW
 >>           Severity: high
 >>           Priority: P1
 >>          Component: ext3
 >>         AssignedTo: akpm@...l.org
 >>         ReportedBy: h.judt@....at

This looks to be an off-by-one bug with e2fsck in the function
check_blocks(), and there isn't any actual filesystem corruption
(e2fsck causes the corruption).

Please see the attached patch, which fixes the problem for me.

Jayson King


View attachment "0001-e2fsck-Fix-off-by-one-error-in-check_blocks.patch" of type "text/plain" (1275 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ