]> git.hungrycats.org Git - linux/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 22:52:58 +0000 (14:52 -0800)
commitbcc9c506f2ba6f8602825b628d97bad1d4e5dd79
treea84cd5b2fd523ceaa742e833babfa0415fd0dd7b
parent08be8f079c22ce79f4923a49a119cb55ec3556d0
SUNRPC: NULL utsname dereference on NFS umount during namespace cleanup

commit 03a9a42a1a7e5b3e7919ddfacc1d1cc81882a955 upstream.

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>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/lockd/mon.c
include/linux/sunrpc/clnt.h
net/sunrpc/clnt.c
net/sunrpc/rpcb_clnt.c