================================================================== BUG: KCSAN: data-race in xas_clear_mark / xas_find_marked read-write to 0xffff88810b89e228 of 8 bytes by task 3641 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+0x91/0x180 lib/xarray.c:922 __folio_start_writeback+0x23f/0x370 mm/page-writeback.c:3026 ext4_bio_write_folio+0x5a2/0xa10 fs/ext4/page-io.c:541 mpage_submit_folio fs/ext4/inode.c:2094 [inline] mpage_process_page_bufs+0x484/0x5e0 fs/ext4/inode.c:2201 mpage_prepare_extent_to_map+0x83e/0xca0 fs/ext4/inode.c:2743 ext4_do_writepages+0x70f/0x2870 fs/ext4/inode.c:2884 ext4_writepages+0x191/0x300 fs/ext4/inode.c:3032 do_writepages+0x1b9/0x300 mm/page-writeback.c:2560 filemap_writeback mm/filemap.c:387 [inline] filemap_flush_range+0x105/0x140 mm/filemap.c:436 sync_file_range+0x1c2/0x240 fs/sync.c:286 ksys_sync_file_range fs/sync.c:356 [inline] __do_sys_sync_file_range fs/sync.c:362 [inline] __se_sys_sync_file_range fs/sync.c:359 [inline] __x64_sys_sync_file_range+0x7b/0xd0 fs/sync.c:359 x64_sys_call+0xda6/0x2550 arch/x86/include/generated/asm/syscalls_64.h:278 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff88810b89e228 of 8 bytes by task 3639 on cpu 1: xas_find_chunk include/linux/xarray.h:1752 [inline] xas_find_marked+0x211/0x650 lib/xarray.c:1513 find_get_entry mm/filemap.c:2087 [inline] filemap_get_folios_tag+0xf7/0x400 mm/filemap.c:2353 mpage_prepare_extent_to_map+0x32a/0xca0 fs/ext4/inode.c:2634 ext4_do_writepages+0x70f/0x2870 fs/ext4/inode.c:2884 ext4_writepages+0x191/0x300 fs/ext4/inode.c:3032 do_writepages+0x1b9/0x300 mm/page-writeback.c:2560 filemap_writeback mm/filemap.c:387 [inline] filemap_flush_range+0x105/0x140 mm/filemap.c:436 sync_file_range+0x1c2/0x240 fs/sync.c:286 ksys_sync_file_range fs/sync.c:356 [inline] __do_sys_sync_file_range fs/sync.c:362 [inline] __se_sys_sync_file_range fs/sync.c:359 [inline] __x64_sys_sync_file_range+0x7b/0xd0 fs/sync.c:359 x64_sys_call+0xda6/0x2550 arch/x86/include/generated/asm/syscalls_64.h:278 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xfffffffff0000000 -> 0xfffffff800000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3639 Comm: syz-executor399 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 ================================================================== ================================================================== BUG: KCSAN: data-race in xas_clear_mark / xas_find_marked read-write to 0xffff88810b89e228 of 8 bytes by task 3641 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+0x91/0x180 lib/xarray.c:922 __folio_start_writeback+0x23f/0x370 mm/page-writeback.c:3026 ext4_bio_write_folio+0x5a2/0xa10 fs/ext4/page-io.c:541 mpage_submit_folio fs/ext4/inode.c:2094 [inline] mpage_process_page_bufs+0x484/0x5e0 fs/ext4/inode.c:2201 mpage_prepare_extent_to_map+0x83e/0xca0 fs/ext4/inode.c:2743 ext4_do_writepages+0x70f/0x2870 fs/ext4/inode.c:2884 ext4_writepages+0x191/0x300 fs/ext4/inode.c:3032 do_writepages+0x1b9/0x300 mm/page-writeback.c:2560 filemap_writeback mm/filemap.c:387 [inline] filemap_flush_range+0x105/0x140 mm/filemap.c:436 sync_file_range+0x1c2/0x240 fs/sync.c:286 ksys_sync_file_range fs/sync.c:356 [inline] __do_sys_sync_file_range fs/sync.c:362 [inline] __se_sys_sync_file_range fs/sync.c:359 [inline] __x64_sys_sync_file_range+0x7b/0xd0 fs/sync.c:359 x64_sys_call+0xda6/0x2550 arch/x86/include/generated/asm/syscalls_64.h:278 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff88810b89e228 of 8 bytes by task 3639 on cpu 1: xas_find_chunk include/linux/xarray.h:1752 [inline] xas_find_marked+0x211/0x650 lib/xarray.c:1513 find_get_entry mm/filemap.c:2087 [inline] filemap_get_folios_tag+0xf7/0x400 mm/filemap.c:2353 mpage_prepare_extent_to_map+0x32a/0xca0 fs/ext4/inode.c:2634 ext4_do_writepages+0x70f/0x2870 fs/ext4/inode.c:2884 ext4_writepages+0x191/0x300 fs/ext4/inode.c:3032 do_writepages+0x1b9/0x300 mm/page-writeback.c:2560 filemap_writeback mm/filemap.c:387 [inline] filemap_flush_range+0x105/0x140 mm/filemap.c:436 sync_file_range+0x1c2/0x240 fs/sync.c:286 ksys_sync_file_range fs/sync.c:356 [inline] __do_sys_sync_file_range fs/sync.c:362 [inline] __se_sys_sync_file_range fs/sync.c:359 [inline] __x64_sys_sync_file_range+0x7b/0xd0 fs/sync.c:359 x64_sys_call+0xda6/0x2550 arch/x86/include/generated/asm/syscalls_64.h:278 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffffffffff000000 -> 0xfffffffffc000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3639 Comm: syz-executor399 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 ==================================================================