================================================================== BUG: KCSAN: data-race in write_cache_pages / write_cache_pages write to 0xffff8881005f0710 of 8 bytes by task 11189 on cpu 1: write_cache_pages+0x9ea/0xa30 mm/page-writeback.c:2411 generic_writepages+0x7c/0xc0 mm/page-writeback.c:2451 blkdev_writepages+0x19/0x20 block/fops.c:411 do_writepages+0x1db/0x350 mm/page-writeback.c:2469 filemap_fdatawrite_wbc+0xd6/0xf0 mm/filemap.c:388 __filemap_fdatawrite_range mm/filemap.c:421 [inline] filemap_write_and_wait_range+0xc2/0x1d0 mm/filemap.c:674 filemap_write_and_wait include/linux/pagemap.h:60 [inline] sync_blockdev+0x3e/0x50 block/bdev.c:198 sync_filesystem+0x158/0x180 fs/sync.c:70 __do_sys_syncfs fs/sync.c:160 [inline] __se_sys_syncfs+0x5f/0xe0 fs/sync.c:149 __x64_sys_syncfs+0x1b/0x20 fs/sync.c:149 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd write to 0xffff8881005f0710 of 8 bytes by task 11186 on cpu 0: write_cache_pages+0x9ea/0xa30 mm/page-writeback.c:2411 generic_writepages+0x7c/0xc0 mm/page-writeback.c:2451 blkdev_writepages+0x19/0x20 block/fops.c:411 do_writepages+0x1db/0x350 mm/page-writeback.c:2469 filemap_fdatawrite_wbc+0xd6/0xf0 mm/filemap.c:388 __filemap_fdatawrite_range mm/filemap.c:421 [inline] filemap_write_and_wait_range+0xc2/0x1d0 mm/filemap.c:674 filemap_write_and_wait include/linux/pagemap.h:60 [inline] sync_blockdev+0x3e/0x50 block/bdev.c:198 sync_filesystem+0x158/0x180 fs/sync.c:70 __do_sys_syncfs fs/sync.c:160 [inline] __se_sys_syncfs+0x5f/0xe0 fs/sync.c:149 __x64_sys_syncfs+0x1b/0x20 fs/sync.c:149 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x0000000000001900 -> 0x0000000000001902 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 11186 Comm: syz-executor.0 Tainted: G W 6.1.0-rc8-syzkaller-00035-gf3e8416619ce-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 ==================================================================