================================================================== BUG: KCSAN: data-race in __xa_set_mark / find_get_pages_range_tag write to 0xffff8880bb1518e8 of 8 bytes by task 7105 on cpu 0: instrument_write include/linux/instrumented.h:42 [inline] __test_and_set_bit include/asm-generic/bitops/instrumented-non-atomic.h:71 [inline] node_set_mark lib/xarray.c:93 [inline] xas_set_mark lib/xarray.c:879 [inline] __xa_set_mark+0x233/0x330 lib/xarray.c:1708 __set_page_dirty+0x17e/0x1d0 fs/buffer.c:610 mark_buffer_dirty+0x12e/0x260 fs/buffer.c:1138 __ext4_block_zero_page_range+0x59c/0x7f0 fs/ext4/inode.c:3764 ext4_block_zero_page_range fs/ext4/inode.c:3802 [inline] ext4_zero_partial_blocks+0x180/0x370 fs/ext4/inode.c:3854 ext4_punch_hole+0x591/0xa20 fs/ext4/inode.c:4046 ext4_fallocate+0xe5/0x560 fs/ext4/extents.c:4659 vfs_fallocate+0x431/0x580 fs/open.c:309 file_ioctl fs/ioctl.c:494 [inline] do_vfs_ioctl+0xde0/0xec0 fs/ioctl.c:732 ksys_ioctl fs/ioctl.c:751 [inline] __do_sys_ioctl fs/ioctl.c:762 [inline] __se_sys_ioctl+0x81/0x130 fs/ioctl.c:760 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:760 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:359 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880bb1518e8 of 8 bytes by task 7099 on cpu 1: xas_find_chunk include/linux/xarray.h:1625 [inline] xas_next_marked include/linux/xarray.h:1656 [inline] find_get_pages_range_tag+0x30c/0x580 mm/filemap.c:1908 pagevec_lookup_range_tag+0x37/0x50 mm/swap.c:1120 mpage_prepare_extent_to_map+0x19c/0x650 fs/ext4/inode.c:2559 ext4_writepages+0x97d/0x1ef0 fs/ext4/inode.c:2780 do_writepages+0x7b/0x150 mm/page-writeback.c:2354 __filemap_fdatawrite_range+0x19b/0x1d0 mm/filemap.c:421 __filemap_fdatawrite mm/filemap.c:429 [inline] filemap_flush+0x1f/0x30 mm/filemap.c:456 ext4_alloc_da_blocks+0x4c/0x130 fs/ext4/inode.c:3146 ext4_release_file+0x5b/0x1c0 fs/ext4/file.c:142 __fput+0x1df/0x460 fs/file_table.c:281 ____fput+0x11/0x20 fs/file_table.c:314 task_work_run+0x8e/0x110 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:216 [inline] __prepare_exit_to_usermode+0x1c6/0x230 arch/x86/entry/common.c:246 __syscall_return_slowpath+0x47/0x60 arch/x86/entry/common.c:329 do_syscall_64+0x5d/0xb0 arch/x86/entry/common.c:368 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 7099 Comm: syz-executor.5 Not tainted 5.8.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================