================================================================== BUG: KCSAN: data-race in __xa_clear_mark / xas_find_marked read to 0xffff88811b448478 of 8 bytes by task 3323 on cpu 1: xas_find_chunk include/linux/xarray.h:1752 [inline] xas_find_marked+0x211/0x650 lib/xarray.c:1516 find_get_entry mm/filemap.c:2116 [inline] filemap_get_folios_tag+0xf8/0x420 mm/filemap.c:2382 __filemap_fdatawait_range mm/filemap.c:522 [inline] filemap_fdatawait_keep_errors+0x6c/0x1b0 mm/filemap.c:625 wait_sb_inodes fs/fs-writeback.c:2942 [inline] sync_inodes_sb+0x461/0x510 fs/fs-writeback.c:3075 sync_filesystem+0x11d/0x1a0 fs/sync.c:64 generic_shutdown_super+0x52/0x230 fs/super.c:702 kill_block_super+0x2a/0x70 fs/super.c:1852 ext4_kill_sb+0x42/0x80 fs/ext4/super.c:7578 deactivate_locked_super+0x89/0x150 fs/super.c:558 deactivate_super+0xac/0xc0 fs/super.c:586 cleanup_mnt+0x143/0x1c0 fs/namespace.c:1396 __cleanup_mnt+0x19/0x20 fs/namespace.c:1403 task_work_run+0x145/0x1a0 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1fa/0x940 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x23b/0x3a0 arch/x86/entry/syscall_64.c:107 entry_SYSCALL_64_after_hwframe+0x77/0x7f read-write to 0xffff88811b448478 of 8 bytes by task 72 on cpu 0: instrument_read_write include/linux/instrumented.h:56 [inline] __instrument_read_write_bitop include/asm-generic/bitops/instrumented-non-atomic.h:84 [inline] ___test_and_clear_bit include/asm-generic/bitops/instrumented-non-atomic.h:114 [inline] node_clear_mark lib/xarray.c:102 [inline] xas_clear_mark lib/xarray.c:923 [inline] __xa_clear_mark+0xf5/0x1e0 lib/xarray.c:2106 __folio_end_writeback+0x120/0x5a0 mm/page-writeback.c:2967 folio_end_writeback_no_dropbehind+0x91/0x250 mm/filemap.c:1682 folio_end_writeback+0xb0/0x220 mm/filemap.c:1721 ext4_finish_bio+0x508/0x890 fs/ext4/page-io.c:140 ext4_release_io_end+0x9f/0x1f0 fs/ext4/page-io.c:154 ext4_end_io_end+0x1d5/0x290 fs/ext4/page-io.c:205 ext4_do_flush_completed_IO fs/ext4/page-io.c:285 [inline] ext4_end_io_rsv_work+0x15b/0x1f0 fs/ext4/page-io.c:300 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0x582/0xab0 kernel/workqueue.c:3578 worker_thread+0x56c/0x770 kernel/workqueue.c:3659 kthread+0x248/0x2a0 kernel/kthread.c:436 ret_from_fork+0x146/0x330 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 72 Comm: kworker/u8:4 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Workqueue: ext4-rsv-conversion ext4_end_io_rsv_work ==================================================================