Skip to content
Commit 64a817cf authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd4: reject "negative" acl lengths



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: default avatarToralf Förster <toralf.foerster@gmx.de>
Cc: stable@kernel.org
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent e49dbbf3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment