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] [day] [month] [year] [list]
Date:	Mon, 4 Apr 2011 22:56:11 +0800
From:	Daniel J Blueman <daniel.blueman@...il.com>
To:	Valdis.Kletnieks@...edu, Nick Piggin <npiggin@...nel.dk>,
	Linux Kernel <linux-kernel@...r.kernel.org>,
	linux-fsdevel@...r.kernel.org
Subject: Re: [2.6.39-rc1] LTP hitting max (8) nested links...

On 4 April 2011 20:48,  <Valdis.Kletnieks@...edu> wrote:
> On Mon, 04 Apr 2011 11:19:08 +0800, Daniel J Blueman said:
>
>> Re-reading everything, nested here is actually recursively nested, not
>> consecutively nested, so will never succeed, so we expect this from
>> the LTP test.
>
> We expect the LTP test to be handed an error, I suspect.  The LTP test
> probably shouldn't be able to provoke a BUG_ON.

In fact, since userspace does correctly return ELOOP [1], and I can't
reproduce it with 2.6.37, it does looks like a race in the RCU VFS
lookup, so adding Nick in the loop.

--- [1]

$ ln -s foo bar && ln -s bar foo
$ strace -e mkdir mkdir foo/a
mkdir("foo/a", 0777)                    = -1 ELOOP (Too many levels of
symbolic links)
mkdir: cannot create directory `foo/a': Too many levels of symbolic links
-- 
Daniel J Blueman
--
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