Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit aa45ee8f authored by Russell King's avatar Russell King
Browse files

ARM: Ensure do_cache_op takes mmap_sem



do_cache_op() uses find_vma() to validate its arguments without holding
any locking.  This means that the VMA could vanish beneath us.  Fix
this by taking a read lock on mmap_sem.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 90140c30
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment