]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nfsd4: fix oops on unusual readlike compound
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 4 Dec 2012 23:25:10 +0000 (18:25 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 18 Dec 2012 02:55:21 +0000 (21:55 -0500)
commitd5f50b0c290431c65377c4afa1c764e2c3fe5305
tree9d08b4a0a8a1aed35de43ec55cd0a94fbab2e015
parent9b3234b9220aae5387b60bc35a424ab6748b2b59
nfsd4: fix oops on unusual readlike compound

If the argument and reply together exceed the maximum payload size, then
a reply with a read-like operation can overlow the rq_pages array.

Cc: stable@kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c