diff options
| author | Anna Schumaker <anna.schumaker@hammerspace.com> | 2026-06-30 14:31:00 -0400 |
|---|---|---|
| committer | Anna Schumaker <anna.schumaker@hammerspace.com> | 2026-07-20 11:03:56 -0400 |
| commit | cf616096a0f3a2b60f7d68b6b39674a6867ded9c (patch) | |
| tree | ae31448634292eaefd68bd0ae4d9c541c9a485b0 /scripts/generate_initcall_order.pl | |
| parent | 1590cf0329716306e948a8fc29f1d3ee87d3989f (diff) | |
NFS: Pin the 'struct nfs_server' during a FREE_STATEID call
Dan Aloni reports that he was able to hit a use-after-free bug if a
FREE_STATEID operation gets delayed for whatever reason. Fix this by
bumping the refcount of the 'struct nfs_server' object for the duration
of the FREE_STATEID so it doesn't get cleaned up from underneath us
while operations are still in flight.
Reported-by: Dan Aloni <dan.aloni@vastdata.com>
Fixes: 7c1d5fae4a87 ("NFSv4: Convert nfs41_free_stateid to use an asynchronous RPC call")
Tested-by: Dan Aloni <dan.aloni@vastdata.com>
Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
Diffstat (limited to 'scripts/generate_initcall_order.pl')
0 files changed, 0 insertions, 0 deletions
