Petr Malat dbfc9e9878 NFS: Remove superfluous kmap in nfs_readdir_xdr_to_array
Array is mapped by nfs_readdir_get_array(), the further kmap is a result
of a bad merge and should be removed.

This resource leakage can be exploited for DoS by receptively reading
a content of a directory on NFS (e.g. by running ls).

Fixes: 67a56e9743171 ("NFS: Fix memory leaks and corruption in readdir")
Signed-off-by: Petr Malat <oss@malat.biz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-20 09:07:37 +01:00
..
2017-10-08 10:26:10 +02:00
2020-02-14 16:31:09 -05:00
2016-10-04 16:20:26 -04:00
2016-03-31 00:30:15 -04:00
2016-05-17 15:47:55 -04:00
2016-07-30 16:33:25 -07:00
2020-02-14 16:31:07 -05:00
2019-09-21 07:14:16 +02:00
2016-10-07 18:46:28 -07:00
2016-07-20 23:30:06 -04:00
2018-03-18 11:18:54 +01:00