Messages in this thread | | | Date | Thu, 27 Aug 2009 14:53:59 -0700 | From | Andrew Morton <> | 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@redhat.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.
| |