Skip to content
Commit 53cc0b29 authored by Petr Vandrovec's avatar Petr Vandrovec Committed by Jens Axboe
Browse files

When block layer fails to map iov, it calls bio_unmap_user to undo


mapping.  Which is good if pages were mapped - but if they were provided
by someone else and just copied then bad things happen - pages are
released once here, and once by caller, leading to user triggerable BUG
at include/linux/mm.h:246.

Signed-off-by: default avatarPetr Vandrovec <petr@vandrovec.name>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent f6f7b52e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment