================================================================== BUG: KCSAN: data-race in ondemand_readahead / ondemand_readahead write to 0xffff88810d0119a4 of 4 bytes by task 12334 on cpu 0: ondemand_readahead+0x31e/0x780 mm/readahead.c:528 page_cache_sync_ra+0x1ab/0x1c0 mm/readahead.c:577 page_cache_sync_readahead include/linux/pagemap.h:839 [inline] generic_file_buffered_read_get_pages+0x234/0xaf0 mm/filemap.c:2361 generic_file_buffered_read+0x26f/0x980 mm/filemap.c:2478 generic_file_read_iter+0x80/0x3d0 mm/filemap.c:2630 call_read_iter include/linux/fs.h:1895 [inline] generic_file_splice_read+0x22a/0x310 fs/splice.c:311 do_splice_to fs/splice.c:788 [inline] splice_direct_to_actor+0x2aa/0x650 fs/splice.c:867 do_splice_direct+0xf5/0x170 fs/splice.c:976 do_sendfile+0x5db/0xca0 fs/read_write.c:1257 __do_sys_sendfile64 fs/read_write.c:1318 [inline] __se_sys_sendfile64 fs/read_write.c:1304 [inline] __x64_sys_sendfile64+0xf2/0x130 fs/read_write.c:1304 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88810d0119a4 of 4 bytes by task 12300 on cpu 1: ondemand_readahead+0x186/0x780 mm/readahead.c:462 page_cache_sync_ra+0x1ab/0x1c0 mm/readahead.c:577 page_cache_sync_readahead include/linux/pagemap.h:839 [inline] generic_file_buffered_read_get_pages+0x234/0xaf0 mm/filemap.c:2361 generic_file_buffered_read+0x26f/0x980 mm/filemap.c:2478 generic_file_read_iter+0x80/0x3d0 mm/filemap.c:2630 call_read_iter include/linux/fs.h:1895 [inline] generic_file_splice_read+0x22a/0x310 fs/splice.c:311 do_splice_to fs/splice.c:788 [inline] splice_direct_to_actor+0x2aa/0x650 fs/splice.c:867 do_splice_direct+0xf5/0x170 fs/splice.c:976 do_sendfile+0x5db/0xca0 fs/read_write.c:1257 __do_sys_sendfile64 fs/read_write.c:1318 [inline] __se_sys_sendfile64 fs/read_write.c:1304 [inline] __x64_sys_sendfile64+0xf2/0x130 fs/read_write.c:1304 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 12300 Comm: syz-executor.1 Not tainted 5.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================