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]
Date:	Mon, 18 Oct 2010 11:05:16 +0200
From:	Toralf Förster <toralf.foerster@....de>
To:	Christoph Hellwig <hch@....de>
Cc:	user-mode-linux-devel@...ts.sourceforge.net,
	linux-kernel@...r.kernel.org, Richard Weinberger <richard@....at>,
	Al Viro <viro@...iv.linux.org.uk>
Subject: Re: Fwd: Re: UML kernel crash of v2.6.36-rcX kernel

Well, in addition to my last mail the following patch isn't a fix, but it 
might point to the culprit.
If I apply this patch against latest tree, then the crash doesn't occur :

diff --git a/include/linux/statfs.h b/include/linux/statfs.h
index 0166d32..e336e70 100644
--- a/include/linux/statfs.h
+++ b/include/linux/statfs.h
@@ -15,8 +15,8 @@ struct kstatfs {
        __kernel_fsid_t f_fsid;
        long f_namelen;
        long f_frsize;
-   long f_flags;
        long f_spare[4];
+ long f_flags;
 };



Christoph Hellwig wrote at 22:18:37
> On Sun, Oct 17, 2010 at 03:55:39PM +0200, Toralf F?rster wrote:
> > I bisected it again w/ a fixed test script, got the same bad commit
> > script and double checked, that this commit is really the culprit which
> > crashes a user mode linux kernel at my 32bix x86 stable Gentoo running
> > 2.6.35.6 vanilla kernel as host system and 2/ gcc version 4.4.3 (Gentoo
> > 4.4.3-r2 p1.2) and glibc-2.11.2-r1 in the tool chain.
> 
> I really can't see any relation to the patch.  Can you try the some
> things in the following order, please:
> 
>  (1) git-revert 365b18189789bfa1acd9939e6312b8a4b4577b28 on current
>      Linus tree and see it it works.
>      If it works try the next, else the bisect must have been a weird
>      conicidence and I can't really help more.
>  (2) re-apply only the changes to include/asm-generic/statfs.h from
>      365b18189789bfa1acd9939e6312b8a4b4577b28 and see if that still
>      boots.
>  (3) re-apply the arch/mips/include/asm/statfs.h and
>      arch/s390/include/asm/statfs.h changes and see if it still boots
>  (4) re-apply the include/linux/statfs.h changes and see if it still
>       boots
>  (5) re-apply the fs/statfs.c changes, and by now it really shouldn't
>      boot anymore
>  (6) verify the code really is the same again as in current Linus' tree


-- 
MfG/Kind regards
Toralf Förster

pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

--
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