Revision c68a027c05709330fe5b2f50c50d5fa02124b5d8 authored by Benjamin Coddington on 20 November 2015, 14:56:20 UTC, committed by Trond Myklebust on 24 November 2015, 02:59:42 UTC
If clp->cl_cb_ident is zero, then nfs_cb_idr_remove_locked() skips removing
it when the nfs_client is freed.  A decoding or server bug can then find
and try to put that first nfs_client which would lead to a crash.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Fixes: d6870312659d ("nfs4client: convert to idr_alloc()")
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
1 parent 91ab4b4
History

back to top