Files
linux/fs
Matthew Wilcox 0311ff82b7 fs: prevent page refcount overflow in pipe_buf_get
commit 15fab63e1e upstream.

Change pipe_buf_get() to return a bool indicating whether it succeeded
in raising the refcount of the page (if the thing in the pipe is a page).
This removes another mechanism for overflowing the page refcount.  All
callers converted to handle a failure.

Reported-by: Jann Horn <jannh@google.com>
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-05-04 09:20:11 +02:00
..
2019-05-02 09:58:54 +02:00
2018-11-13 11:08:46 -08:00
2018-12-17 09:24:41 +01:00
2018-08-17 16:20:28 -07:00
2018-08-17 16:20:27 -07:00
2019-05-02 09:58:59 +02:00
2018-07-03 16:44:45 -04:00
2018-06-05 19:23:26 +02:00
2019-03-10 07:17:21 +01:00
2018-06-11 08:22:34 -07:00