diff --git a/fs/splice.c b/fs/splice.c index 2aa8f5a..1a9c0e6 100644 --- a/fs/splice.c +++ b/fs/splice.c @@ -1289,7 +1289,7 @@ static int get_iovec_page_array(const struct iovec __user *iov, if (unlikely(!len)) break; error = -EFAULT; - if (unlikely(!base)) + if (!access_ok(VERIFY_READ, base, len)) break; /*