diff options
author | 2020-03-29 19:55:05 -0400 | |
---|---|---|
committer | 2020-04-01 13:37:56 -0400 | |
commit | dc9dc2febb17f72e9878eb540ad3996f7984239a (patch) | |
tree | ebe5d0a572a1584384969fd3612853b1ae776a84 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | NFS: Fix races nfs_page_group_destroy() vs nfs_destroy_unlinked_subrequests() (diff) | |
download | wireguard-linux-dc9dc2febb17f72e9878eb540ad3996f7984239a.tar.xz wireguard-linux-dc9dc2febb17f72e9878eb540ad3996f7984239a.zip |
NFS: Fix use-after-free issues in nfs_pageio_add_request()
We need to ensure that we create the mirror requests before calling
nfs_pageio_add_request_mirror() on the request we are adding.
Otherwise, we can end up with a use-after-free if the call to
nfs_pageio_add_request_mirror() triggers I/O.
Fixes: c917cfaf9bbe ("NFS: Fix up NFS I/O subrequest creation")
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions