commit | 46d197d60683a9cbdcab41e490c205bd1143ea08 | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@redhat.com> | Tue Mar 26 14:11:13 2013 -0400 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:17:59 2020 +0200 |
tree | 0f70594ccf7f06ffa93a6fa782f22a225d97b6af | |
parent | eb2bc8ccdc1af3664aef963242e3235e6c3353f1 [diff] |
nfsd4: reject "negative" acl lengths commit 64a817cfbded8674f345d1117b117f942a351a69 upstream. Since we only enforce an upper bound, not a lower bound, a "negative" length can get through here. The symptom seen was a warning when we attempt to a kmalloc with an excessive size. Reported-by: Toralf Förster <toralf.foerster@gmx.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>