diff options
author | J. Bruce Fields <bfields@redhat.com> | 2012-12-04 18:25:10 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-11 09:03:38 -0800 |
commit | d6e0c42ccbb489d73ebc3973583474257a028d66 (patch) | |
tree | b640d50946d92e0d63524e9cc94d55157bdf11ca /fs/read_write.c | |
parent | 9d53441a95261c71d18938a797eb96f469b9dc09 (diff) | |
download | kernel_samsung_smdk4412-d6e0c42ccbb489d73ebc3973583474257a028d66.zip kernel_samsung_smdk4412-d6e0c42ccbb489d73ebc3973583474257a028d66.tar.gz kernel_samsung_smdk4412-d6e0c42ccbb489d73ebc3973583474257a028d66.tar.bz2 |
nfsd4: fix oops on unusual readlike compound
commit d5f50b0c290431c65377c4afa1c764e2c3fe5305 upstream.
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.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions