[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090827145359.87367779.akpm@linux-foundation.org>
Date: Thu, 27 Aug 2009 14:53:59 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: David Howells <dhowells@...hat.com>
Cc: torvalds@...ux-foundation.org, linux-afs@...ts.infradead.org,
linux-kernel@...r.kernel.org, dhowells@...hat.com, anton@...ba.org,
stable@...nel.org
Subject: Re: [PATCH] AFS: Stop readlink() on AFS crashing because file not
passed to afs_readpage()
On Thu, 27 Aug 2009 13:22:31 +0100
David Howells <dhowells@...hat.com> wrote:
> kAFS crashes when asked to read a symbolic link because page_getlink() passes a
> NULL file pointer to read_mapping_page(), but afs_readpage() expects a file
> pointer from which to extract a key.
>
> Modify afs_readpage() to request the appropriate key from the calling process's
> keyrings if a file struct is not supplied with one attached.
That seems like a rather large bug.
To which kernel version(s) should we apply this?
Thanks.
--
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