loop4: detected capacity change from 0 to 128 ================================================================== BUG: KCSAN: data-race in __xa_clear_mark / xas_find_marked read-write to 0xffff888119b92478 of 8 bytes by interrupt on cpu 0: 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+0xf7/0x3b0 mm/page-writeback.c:2998 folio_end_writeback_no_dropbehind+0x6d/0x1b0 mm/filemap.c:1668 folio_end_writeback+0x1c/0x70 mm/filemap.c:1694 end_buffer_async_write+0x156/0x1f0 fs/buffer.c:419 end_bio_bh_io_sync+0x79/0xa0 fs/buffer.c:2776 bio_endio+0x37e/0x420 block/bio.c:1672 blk_update_request+0x336/0x730 block/blk-mq.c:998 blk_mq_end_request+0x26/0x50 block/blk-mq.c:1160 lo_complete_rq+0x98/0x140 drivers/block/loop.c:314 blk_complete_reqs block/blk-mq.c:1235 [inline] blk_done_softirq+0x77/0xb0 block/blk-mq.c:1240 handle_softirqs+0xba/0x290 kernel/softirq.c:622 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:1063 smpboot_thread_fn+0x32b/0x530 kernel/smpboot.c:160 kthread+0x489/0x510 kernel/kthread.c:463 ret_from_fork+0x122/0x1b0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 read to 0xffff888119b92478 of 8 bytes by task 19552 on cpu 1: 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:2070 filemap_get_folios_tag+0x13b/0x210 mm/filemap.c:2338 __filemap_fdatawait_range mm/filemap.c:533 [inline] filemap_write_and_wait_range+0x1d3/0x340 mm/filemap.c:703 filemap_write_and_wait include/linux/pagemap.h:68 [inline] sync_blockdev+0x35/0x50 block/bdev.c:260 kill_block_super+0x3c/0x70 fs/super.c:1724 deactivate_locked_super+0x75/0x1c0 fs/super.c:473 deactivate_super+0x97/0xa0 fs/super.c:506 cleanup_mnt+0x269/0x2e0 fs/namespace.c:1327 __cleanup_mnt+0x19/0x20 fs/namespace.c:1334 task_work_run+0x131/0x1a0 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xed/0x110 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: 0x0000000000000001 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 19552 Comm: syz.4.6733 Not tainted syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 ==================================================================