Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
splice: missing user pointer access verification
vmsplice_to_user() must always check the user pointer and length with access_ok() before copying. Likewise, for the slow path of copy_from_user_mmap_sem() we need to check that we may read from the user region. Signed-off-by: Jens Axboe <[email protected]> Cc: Wojciech Purczynski <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information