On 7/9/20 3:53 AM, Kirill A. Shutemov wrote:
VMA with VM_GROWSDOWN or VM_GROWSUP flag set can change their size under
mmap_read_lock(). It can lead to race with __do_munmap():
Thread AThread B
__do_munmap()
detach_vmas_to_be_unmapped()
On 7/9/20 12:53 PM, Kirill A. Shutemov wrote:
> VMA with VM_GROWSDOWN or VM_GROWSUP flag set can change their size under
> mmap_read_lock(). It can lead to race with __do_munmap():
>
> Thread AThread B
> __do_munmap()
> detach_vmas_to_be_unmapped()
>
VMA with VM_GROWSDOWN or VM_GROWSUP flag set can change their size under
mmap_read_lock(). It can lead to race with __do_munmap():
Thread AThread B
__do_munmap()
detach_vmas_to_be_unmapped()
mmap_write_downgrade()
3 matches
Mail list logo