Skip to content
Snippets Groups Projects
Commit 3c8d6db7 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by Aarthi Thiruvengadam
Browse files

AIO: properly check iovec sizes


commit ff19ac8fb71e8a2bf07d61b959062998139c1104 upstream

In Linus's tree, the iovec code has been reworked massively, but in
older kernels the AIO layer should be checking this before passing the
request on to other layers.

Many thanks to Ben Hawkes of Google Project Zero for pointing out the
issue.

Bug: 28588279

Reported-by: default avatarBen Hawkes <hawkes@google.com>
Acked-by: default avatarBenjamin LaHaise <bcrl@kvack.org>
Tested-by: default avatarWilly Tarreau <w@1wt.eu>
[backported to 3.10 - willy]
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>

Change-Id: Id11bb629bd6afaf09b9db5a944e2d060972bc0f1
parent 8292fe59
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment