Files
linux/fs/nfsd
J. Bruce Fields fe540c34cb nfsd: fix auth_domain reference leak on nlm operations
commit 954032d252 upstream.

This was noticed by users who performed more than 2^32 lock operations
and hence made this counter overflow (eventually leading to
use-after-free's).  Setting rq_client to NULL here means that it won't
later get auth_domain_put() when it should be.

Appears to have been introduced in 2.5.42 by "[PATCH] kNFSd: Move auth
domain lookup into svcauth" which moved most of the rq_client handling
to common svcauth code, but left behind this one line.

Cc: Neil Brown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-04-14 16:53:47 -07:00
..
2008-02-01 16:42:05 -05:00
2009-09-23 07:39:29 -07:00
2007-05-09 12:30:54 -07:00
2008-06-23 13:02:50 -04:00
2008-06-23 13:02:50 -04:00
2009-09-23 18:13:10 -07:00
2009-05-11 17:23:14 -04:00
2011-03-27 11:30:42 -07:00
2008-02-14 21:17:08 -08:00