From: NeilBrown <neil@brown.name>
To: Chuck Lever <chuck.lever@oracle.com>, Jeff Layton <jlayton@kernel.org>
Cc: linux-nfs@vger.kernel.org,
Olga Kornievskaia <okorniev@redhat.com>,
Dai Ngo <Dai.Ngo@oracle.com>, Tom Talpey <tom@talpey.com>,
Li Lingfeng <lilingfeng3@huawei.com>
Subject: [PATCH 0/2] nfsd: provide locking for v4_end_grace
Date: Fri, 4 Jul 2025 17:20:16 +1000 [thread overview]
Message-ID: <20250704072332.3278129-1-neil@brown.name> (raw)
Writing to v4_end_grace can race with server shutdown and result in UAF.
The first patch fixes the problem in a way that is suitable for
backport. The second patch improves is slightly (in my opinion) but in
a way that cannot be backported very far.
Note that I've used a different Closes: link to the one Chuck suggested
in a recent email.
NeilBrown
[PATCH 1/2] nfsd: provide locking for v4_end_grace
[PATCH 2/2] nfsd: discard client_tracking_active and instead disable
next reply other threads:[~2025-07-04 7:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-04 7:20 NeilBrown [this message]
2025-07-04 7:20 ` [PATCH 1/2] nfsd: provide locking for v4_end_grace NeilBrown
2025-07-05 11:15 ` Jeff Layton
2025-07-06 5:56 ` NeilBrown
2025-07-04 7:20 ` [PATCH 2/2] nfsd: discard client_tracking_active and instead disable laundromat_work NeilBrown
2025-07-04 15:10 ` Chuck Lever
2025-07-04 15:13 ` Chuck Lever
2025-07-05 11:20 ` Jeff Layton
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=20250704072332.3278129-1-neil@brown.name \
--to=neil@brown.name \
--cc=Dai.Ngo@oracle.com \
--cc=chuck.lever@oracle.com \
--cc=jlayton@kernel.org \
--cc=lilingfeng3@huawei.com \
--cc=linux-nfs@vger.kernel.org \
--cc=okorniev@redhat.com \
--cc=tom@talpey.com \
/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