public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: David Howells <dhowells@redhat.com>
Cc: torvalds@linux-foundation.org, linux-afs@lists.infradead.org,
	linux-kernel@vger.kernel.org, dhowells@redhat.com,
	anton@samba.org, stable@kernel.org
Subject: Re: [PATCH] AFS: Stop readlink() on AFS crashing because file not passed to afs_readpage()
Date: Thu, 27 Aug 2009 14:53:59 -0700	[thread overview]
Message-ID: <20090827145359.87367779.akpm@linux-foundation.org> (raw)
In-Reply-To: <20090827122231.14557.79687.stgit@warthog.procyon.org.uk>

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.

  reply	other threads:[~2009-08-27 21:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-27 12:22 [PATCH] AFS: Stop readlink() on AFS crashing because file not passed to afs_readpage() David Howells
2009-08-27 21:53 ` Andrew Morton [this message]
2009-08-28 14:01   ` David Howells
  -- strict thread matches above, loose matches on Subject: below --
2009-08-27 12:09 David Howells
2009-08-27 12:32 ` David Howells

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090827145359.87367779.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=anton@samba.org \
    --cc=dhowells@redhat.com \
    --cc=linux-afs@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox