================================================================== BUG: KCSAN: data-race in ondemand_readahead / ondemand_readahead write to 0xffff88814254afa0 of 4 bytes by task 9336 on cpu 0: ondemand_readahead+0x3a8/0x780 mm/readahead.c:650 page_cache_sync_ra+0xdc/0xf0 mm/readahead.c:699 page_cache_sync_readahead include/linux/pagemap.h:1215 [inline] filemap_get_pages mm/filemap.c:2566 [inline] filemap_read+0x3ef/0x1430 mm/filemap.c:2660 generic_file_read_iter+0x72/0x320 mm/filemap.c:2806 ext4_file_read_iter+0x1e9/0x2a0 call_read_iter include/linux/fs.h:2181 [inline] generic_file_splice_read+0xde/0x2b0 fs/splice.c:309 do_splice_to fs/splice.c:793 [inline] splice_direct_to_actor+0x26c/0x620 fs/splice.c:865 do_splice_direct+0xfb/0x180 fs/splice.c:974 do_sendfile+0x3bf/0x910 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1317 [inline] __se_sys_sendfile64 fs/read_write.c:1303 [inline] __x64_sys_sendfile64+0x10c/0x150 fs/read_write.c:1303 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 read to 0xffff88814254afa0 of 4 bytes by task 9322 on cpu 1: ondemand_readahead+0x20f/0x780 mm/readahead.c:584 page_cache_sync_ra+0xdc/0xf0 mm/readahead.c:699 page_cache_sync_readahead include/linux/pagemap.h:1215 [inline] filemap_get_pages mm/filemap.c:2566 [inline] filemap_read+0x3ef/0x1430 mm/filemap.c:2660 generic_file_read_iter+0x72/0x320 mm/filemap.c:2806 ext4_file_read_iter+0x1e9/0x2a0 call_read_iter include/linux/fs.h:2181 [inline] generic_file_splice_read+0xde/0x2b0 fs/splice.c:309 do_splice_to fs/splice.c:793 [inline] splice_direct_to_actor+0x26c/0x620 fs/splice.c:865 do_splice_direct+0xfb/0x180 fs/splice.c:974 do_sendfile+0x3bf/0x910 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1317 [inline] __se_sys_sendfile64 fs/read_write.c:1303 [inline] __x64_sys_sendfile64+0x10c/0x150 fs/read_write.c:1303 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: 0x00000004 -> 0x00000008 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 9322 Comm: syz-executor.3 Tainted: G W 6.0.0-rc1-syzkaller-00409-ge3f259d33c0e-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 ==================================================================