================================================================== BUG: KCSAN: data-race in __xa_clear_mark / xas_find_marked read-write to 0xffff888109256478 of 8 bytes by interrupt on cpu 1: instrument_read_write include/linux/instrumented.h:55 [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:922 [inline] __xa_clear_mark+0xf5/0x1e0 lib/xarray.c:2100 __folio_end_writeback+0x177/0x470 mm/page-writeback.c:3022 folio_end_writeback+0x71/0x3d0 mm/filemap.c:1660 ext4_finish_bio+0x459/0x8c0 fs/ext4/page-io.c:144 ext4_end_bio+0x298/0x3b0 fs/ext4/page-io.c:-1 bio_endio+0x374/0x410 block/bio.c:1651 blk_update_request+0x336/0x730 block/blk-mq.c:989 blk_mq_end_request+0x26/0x50 block/blk-mq.c:1151 lo_complete_rq+0x98/0x140 drivers/block/loop.c:304 blk_complete_reqs block/blk-mq.c:1226 [inline] blk_done_softirq+0x74/0xb0 block/blk-mq.c:1231 handle_softirqs+0xba/0x290 kernel/softirq.c:579 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:968 smpboot_thread_fn+0x32b/0x530 kernel/smpboot.c:160 kthread+0x489/0x510 kernel/kthread.c:463 ret_from_fork+0xda/0x150 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 read to 0xffff888109256478 of 8 bytes by task 3649 on cpu 0: xas_find_chunk include/linux/xarray.h:1752 [inline] xas_find_marked+0x218/0x620 lib/xarray.c:1510 find_get_entry+0x5d/0x380 mm/filemap.c:2039 filemap_get_folios_tag+0x13b/0x210 mm/filemap.c:2307 __filemap_fdatawait_range mm/filemap.c:530 [inline] filemap_fdatawait_keep_errors+0x6c/0x180 mm/filemap.c:633 wait_sb_inodes fs/fs-writeback.c:2714 [inline] sync_inodes_sb+0x39c/0x440 fs/fs-writeback.c:2836 sync_filesystem+0x102/0x190 fs/sync.c:64 generic_shutdown_super+0x44/0x210 fs/super.c:622 kill_block_super+0x2a/0x70 fs/super.c:1766 ext4_kill_sb+0x42/0x80 fs/ext4/super.c:7391 deactivate_locked_super+0x72/0x1c0 fs/super.c:474 deactivate_super+0x97/0xa0 fs/super.c:507 cleanup_mnt+0x269/0x2e0 fs/namespace.c:1378 __cleanup_mnt+0x19/0x20 fs/namespace.c:1385 task_work_run+0x12e/0x1a0 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xe4/0x100 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x1d6/0x200 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x003ffff800000000 -> 0x003fffe000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3649 Comm: syz-executor Not tainted 6.17.0-rc1-syzkaller-00014-g0e39a731820a #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 ================================================================== EXT4-fs (loop5): unmounting filesystem 00000000-0000-0000-0000-000000000000.