================================================================== BUG: KCSAN: data-race in ondemand_readahead / ondemand_readahead write to 0xffff888100d157a4 of 4 bytes by task 30275 on cpu 1: 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+0x38d/0x2110 mm/filemap.c:2227 generic_file_read_iter+0x80/0x3d0 mm/filemap.c:2535 ext4_file_read_iter+0x2d0/0x420 fs/ext4/file.c:74 call_read_iter include/linux/fs.h:1881 [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+0x574/0xb70 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 0xffff888100d157a4 of 4 bytes by task 30281 on cpu 0: 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+0x38d/0x2110 mm/filemap.c:2227 generic_file_read_iter+0x80/0x3d0 mm/filemap.c:2535 ext4_file_read_iter+0x2d0/0x420 fs/ext4/file.c:74 call_read_iter include/linux/fs.h:1881 [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+0x574/0xb70 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: 0 PID: 30281 Comm: syz-executor.0 Not tainted 5.10.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================