================================================================== BUG: KCSAN: data-race in __rb_erase_color / vm_area_dup write to 0xffff88812493ba80 of 8 bytes by task 28896 on cpu 1: rb_set_black lib/rbtree.c:61 [inline] ____rb_erase_color lib/rbtree.c:373 [inline] __rb_erase_color+0x51c/0x700 lib/rbtree.c:413 rb_erase_augmented include/linux/rbtree_augmented.h:305 [inline] rb_erase_augmented_cached include/linux/rbtree_augmented.h:314 [inline] vma_interval_tree_remove+0x4dd/0x8b0 mm/interval_tree.c:23 __remove_shared_vm_struct+0xad/0xd0 mm/mmap.c:154 unlink_file_vma+0x69/0x90 mm/mmap.c:169 free_pgtables+0xbe/0x200 mm/memory.c:400 unmap_region+0x21c/0x270 mm/mmap.c:2604 __do_munmap+0x661/0xb60 mm/mmap.c:2823 do_munmap mm/mmap.c:2834 [inline] mmap_region+0x165/0xd50 mm/mmap.c:1727 do_mmap+0x6c8/0xba0 mm/mmap.c:1555 do_mmap_pgoff include/linux/mm.h:2338 [inline] vm_mmap_pgoff+0x12d/0x190 mm/util.c:506 ksys_mmap_pgoff+0x99/0x420 mm/mmap.c:1607 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:100 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:91 [inline] __x64_sys_mmap+0x2e/0x40 arch/x86/kernel/sys_x86_64.c:91 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88812493ba28 of 200 bytes by task 28898 on cpu 0: vm_area_dup+0x70/0xf0 kernel/fork.c:362 __split_vma+0x88/0x350 mm/mmap.c:2656 __do_munmap+0xb02/0xb60 mm/mmap.c:2781 do_munmap mm/mmap.c:2834 [inline] mmap_region+0x165/0xd50 mm/mmap.c:1727 do_mmap+0x6c8/0xba0 mm/mmap.c:1555 do_mmap_pgoff include/linux/mm.h:2338 [inline] vm_mmap_pgoff+0x12d/0x190 mm/util.c:506 ksys_mmap_pgoff+0x2d8/0x420 mm/mmap.c:1607 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:100 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:91 [inline] __x64_sys_mmap+0x2e/0x40 arch/x86/kernel/sys_x86_64.c:91 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 28898 Comm: modprobe Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================