https://github.com/torvalds/linux
Revision 9affa435817711861d774f5626c393c80f16d044 authored by J. Bruce Fields on 15 July 2020, 17:31:36 UTC, committed by J. Bruce Fields on 22 July 2020, 20:47:14 UTC
We hold the cl_lock here, and that's enough to keep stateid's from going
away, but it's not enough to prevent the files they point to from going
away.  Take fi_lock and a reference and check for NULL, as we do in
other code.

Reported-by: NeilBrown <neilb@suse.de>
Fixes: 78599c42ae3c ("nfsd4: add file to display list of client's opens")
Reviewed-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
1 parent becd201
Raw File
Tip revision: 9affa435817711861d774f5626c393c80f16d044 authored by J. Bruce Fields on 15 July 2020, 17:31:36 UTC
nfsd4: fix NULL dereference in nfsd/clients display code
Tip revision: 9affa43
.gitignore
# SPDX-License-Identifier: GPL-2.0-only
x509_certificate_list
back to top