==================================================================
BUG: KCSAN: data-race in osq_lock / osq_lock

write to 0xffff88812bf2b054 of 4 bytes by task 27244 on cpu 1:
 osq_lock+0x89/0x2f0 kernel/locking/osq_lock.c:99
 rwsem_optimistic_spin+0x5f/0x320 kernel/locking/rwsem.c:800
 rwsem_down_write_slowpath+0x109/0x950 kernel/locking/rwsem.c:1150
 __down_write kernel/locking/rwsem.c:1392 [inline]
 down_write+0x88/0x90 kernel/locking/rwsem.c:1535
 i_mmap_lock_write include/linux/fs.h:526 [inline]
 unlink_file_vma+0x5b/0x90 mm/mmap.c:168
 free_pgtables+0x14f/0x200 mm/memory.c:396
 exit_mmap+0x151/0x300 mm/mmap.c:3162
 __mmput kernel/fork.c:1079 [inline]
 mmput+0xea/0x280 kernel/fork.c:1100
 exit_mm kernel/exit.c:485 [inline]
 do_exit+0x4c9/0x18f0 kernel/exit.c:804
 do_group_exit+0xb4/0x1c0 kernel/exit.c:921
 __do_sys_exit_group kernel/exit.c:932 [inline]
 __se_sys_exit_group kernel/exit.c:930 [inline]
 __x64_sys_exit_group+0x2e/0x30 kernel/exit.c:930
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff88812bf2b054 of 4 bytes by task 27245 on cpu 0:
 osq_lock+0x170/0x2f0 kernel/locking/osq_lock.c:143
 rwsem_optimistic_spin+0x5f/0x320 kernel/locking/rwsem.c:800
 rwsem_down_write_slowpath+0x109/0x950 kernel/locking/rwsem.c:1150
 __down_write kernel/locking/rwsem.c:1392 [inline]
 down_write+0x88/0x90 kernel/locking/rwsem.c:1535
 i_mmap_lock_write include/linux/fs.h:526 [inline]
 __vma_adjust+0x196/0x12a0 mm/mmap.c:834
 vma_adjust include/linux/mm.h:2276 [inline]
 __split_vma+0x208/0x350 mm/mmap.c:2707
 split_vma+0x73/0xa0 mm/mmap.c:2736
 mprotect_fixup+0x43f/0x510 mm/mprotect.c:413
 do_mprotect_pkey+0x3eb/0x660 mm/mprotect.c:553
 __do_sys_mprotect mm/mprotect.c:578 [inline]
 __se_sys_mprotect mm/mprotect.c:575 [inline]
 __x64_sys_mprotect+0x51/0x70 mm/mprotect.c:575
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 27245 Comm: blkid Not tainted 5.4.0-rc3+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================