SUNRPC: NULL utsname dereference on NFS umount during namespace cleanup
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 30 Jan 2015 23:12:28 +0000 (18:12 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 3 Feb 2015 21:40:17 +0000 (16:40 -0500)
commit03a9a42a1a7e5b3e7919ddfacc1d1cc81882a955
treeeb1e9497ef3e6dd0090cfb054cfe08b6bbea5d6a
parente2c63e091e29786a34ecf42c169e627a3d1d96d7
SUNRPC: NULL utsname dereference on NFS umount during namespace cleanup

Fix an Oopsable condition when nsm_mon_unmon is called as part of the
namespace cleanup, which now apparently happens after the utsname
has been freed.

Link: http://lkml.kernel.org/r/20150125220604.090121ae@neptune.home
Reported-by: Bruno Prémont <bonbons@linux-vserver.org>
Cc: stable@vger.kernel.org # 3.18
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/lockd/mon.c
include/linux/sunrpc/clnt.h
net/sunrpc/clnt.c
net/sunrpc/rpcb_clnt.c