================================================================== BUG: KCSAN: data-race in __xa_clear_mark / find_get_pages_range_tag write to 0xffff88800927a8f0 of 8 bytes by task 38 on cpu 1: instrument_write include/linux/instrumented.h:42 [inline] __instrument_read_write_bitop include/asm-generic/bitops/instrumented-non-atomic.h:79 [inline] __test_and_clear_bit include/asm-generic/bitops/instrumented-non-atomic.h:109 [inline] node_clear_mark lib/xarray.c:100 [inline] xas_clear_mark lib/xarray.c:911 [inline] __xa_clear_mark+0xff/0x1e0 lib/xarray.c:1916 test_clear_page_writeback+0x321/0x520 mm/page-writeback.c:2739 end_page_writeback+0xd7/0x260 mm/filemap.c:1494 ext4_finish_bio+0x429/0x480 fs/ext4/page-io.c:143 ext4_release_io_end+0x98/0x200 fs/ext4/page-io.c:158 ext4_end_io_end fs/ext4/page-io.c:192 [inline] ext4_do_flush_completed_IO fs/ext4/page-io.c:257 [inline] ext4_end_io_rsv_work+0x306/0x360 fs/ext4/page-io.c:271 process_one_work+0x3e1/0x950 kernel/workqueue.c:2275 worker_thread+0x635/0xb90 kernel/workqueue.c:2421 kthread+0x1fd/0x220 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 read to 0xffff88800927a8f0 of 8 bytes by task 8451 on cpu 0: xas_find_chunk include/linux/xarray.h:1660 [inline] xas_next_marked include/linux/xarray.h:1691 [inline] find_get_pages_range_tag+0x35c/0x600 mm/filemap.c:2103 pagevec_lookup_range_tag+0x37/0x50 mm/swap.c:1122 __filemap_fdatawait_range mm/filemap.c:519 [inline] filemap_fdatawait_keep_errors+0x7a/0x1e0 mm/filemap.c:622 wait_sb_inodes fs/fs-writeback.c:2436 [inline] sync_inodes_sb+0x3b7/0x450 fs/fs-writeback.c:2558 __sync_filesystem fs/sync.c:34 [inline] sync_filesystem+0xe4/0x160 fs/sync.c:67 ovl_sync_fs+0x94/0xc0 fs/overlayfs/super.c:286 __sync_filesystem fs/sync.c:39 [inline] sync_filesystem+0x112/0x160 fs/sync.c:67 generic_shutdown_super+0x3c/0x1f0 fs/super.c:448 kill_anon_super+0x23/0x40 fs/super.c:1055 deactivate_locked_super+0x6a/0xb0 fs/super.c:335 deactivate_super+0x85/0x90 fs/super.c:366 cleanup_mnt+0x277/0x2e0 fs/namespace.c:1118 __cleanup_mnt+0x15/0x20 fs/namespace.c:1125 task_work_run+0x8e/0x110 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x16b/0x1a0 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:302 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 8451 Comm: syz-executor.5 Not tainted 5.11.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================