summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-01-14 19:33:08 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-19 20:18:02 +0100
commitd06367ac1730ded79aa78307126236bf83af95a3 (patch)
tree451e2129d59ba675d7ef07ac628e38923d4f98b0 /certs
parentab8957396a692d46a357aec8ff57abc9bd5a878a (diff)
fix a fencepost error in pipe_advance()
commit b9dc6f65bc5e232d1c05fe34b5daadc7e8bbf1fb upstream. The logics in pipe_advance() used to release all buffers past the new position failed in cases when the number of buffers to release was equal to pipe->buffers. If that happened, none of them had been released, leaving pipe full. Worse, it was trivial to trigger and we end up with pipe full of uninitialized pages. IOW, it's an infoleak. Reported-by: "Alan J. Wylie" <alan@wylie.me.uk> Tested-by: "Alan J. Wylie" <alan@wylie.me.uk> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions