more bio_map_user_iov() leak fixes
we need to take care of failure exit as well - pages already
in bio should be dropped by analogue of bio_unmap_pages(),
since their refcounts had been bumped only once per reference
in bio.
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
(cherry picked from commit
2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058)
Orabug:
27062562
CVE: CVE-2017-12190
Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
Acked-by: Ethan Zhao <ethan.zhao@oracle.com>
Reviewed-by: Shan Hai <shan.hai@oracle.com>
Conflicts:
block/bio.c