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
History
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
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 15.8 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.8 KB
.mailmap -rw-r--r-- 15.4 KB
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 97.4 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 547.5 KB
Makefile -rw-r--r-- 60.6 KB
README -rw-r--r-- 727 bytes

README

back to top