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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080226102719.GB21257@1wt.eu>
Date:	Tue, 26 Feb 2008 11:27:19 +0100
From:	Willy Tarreau <w@....eu>
To:	dann frazier <dannf@...nf.org>
Cc:	Glen Nakamura <glen@...dulo.com>, linux-kernel@...r.kernel.org
Subject: Re: PROBLEM: 2.4.36.1 hangs.

On Tue, Feb 26, 2008 at 03:13:46AM -0700, dann frazier wrote:
> I'm now able to reliably reproduce it by creating/removing a chroot
> (pbuilder create on a Debian system, though I'm sure a simpler test
> exists). Correcting the le16_to_cpu placement as Glen described
> fixes the issue for me.

OK that's excellent news.

> > BTW, I notice that 2.6 also has one extra chunk that 2.4 does not
> > have :
> > 
> >                 if (unlikely(need_revalidate)) {
> > +                       if (offset) {
> >                                 offset = ext2_validate_entry(kaddr, offset, chunk_mask);
> > +                               filp->f_pos = (n<<PAGE_CACHE_SHIFT) + offset;
> > +                       }
> > +                       filp->f_version = inode->i_version;
> >                         need_revalidate = 0;
> >                 }
> > 
> > I have no idea whether this part is needed, we'd better ask Theo or Al
> > for some advices, as I'm not tempted by merging an uncertain patch when
> > it comes to filesystems.
> 
> Looks like a test case may be available:
>   http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=2d7f2ea9c989853310c7f6e8be52cc090cc8e66b

Dann, would you care to ping Al about the opportunity to merge this entire
patch, as well as Masoud for his test-case ? The patch looks like all what
remains different between 2.4 and 2.6, so I would bet we need it too.

Thanks,
Willy

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ