]> git.ipfire.org Git - people/ms/linux.git/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:57:31 +0000 (14:57 -0800)
commit1a3f8e6fb70de61571ed10cdd023a29e2658f1db
treedc69495bcf7612793269199e7830cabd2bf9316f
parentd52ff195d3faacb0228608aa8b2b1931d5bed21e
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