All of lore.kernel.org
 help / color / mirror / Atom feed
From: Al Viro <viro@zeniv.linux.org.uk>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	linux-nfs@vger.kernel.org
Subject: [git pull] nfsd fix
Date: Tue, 24 Oct 2023 07:18:53 +0100	[thread overview]
Message-ID: <20231024061853.GG800259@ZenIV> (raw)

Catch from lock_rename() audit; nfsd_rename() checked that both directories
belonged to the same filesystem, but only after having done lock_rename().
Trivial fix, tested and acked by nfs folks.  Sat in -next for a while...

The following changes since commit 94f6f0550c625fab1f373bb86a6669b45e9748b3:

  Linux 6.6-rc5 (2023-10-08 13:49:43 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-nfsd-fix

for you to fetch changes up to 1aee9158bc978f91701c5992e395efbc6da2de3c:

  nfsd: lock_rename() needs both directories to live on the same fs (2023-10-17 00:24:35 -0400)

----------------------------------------------------------------
fix for lock_rename() misuse in nfsd

----------------------------------------------------------------
Al Viro (1):
      nfsd: lock_rename() needs both directories to live on the same fs

 fs/nfsd/vfs.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

             reply	other threads:[~2023-10-24  6:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-24  6:18 Al Viro [this message]
2023-10-24  6:50 ` [git pull] nfsd fix pr-tracker-bot

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=20231024061853.GG800259@ZenIV \
    --to=viro@zeniv.linux.org.uk \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.