diff options
author | Vasily Averin <vvs@virtuozzo.com> | 2016-09-21 15:33:05 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2016-09-26 14:17:45 -0400 |
commit | 1eca45f8a840987d0df355e0176921653e4f7ec2 (patch) | |
tree | 7aad7b543bc8b14607968c78429478375dde02ce /COPYING | |
parent | 25d55296dd3eac23adb2ae46b67b65bf73b22fb2 (diff) | |
download | linux-1eca45f8a840987d0df355e0176921653e4f7ec2.tar.bz2 |
NFSD: fix corruption in notifier registration
By design notifier can be registered once only, however nfsd registers
the same inetaddr notifiers per net-namespace. When this happen it
corrupts list of notifiers, as result some notifiers can be not called
on proper event, traverse on list can be cycled forever, and second
unregister can access already freed memory.
Cc: stable@vger.kernel.org
fixes: 36684996 ("nfsd: Register callbacks on the inetaddr_chain and inet6addr_chain")
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions