================================================================== BUG: KCSAN: data-race in read_pages / read_pages read-write to 0xffff888138049780 of 4 bytes by task 15406 on cpu 0: read_pages+0x23c/0x530 mm/readahead.c:170 page_cache_ra_unbounded+0x224/0x2e0 do_page_cache_ra mm/readahead.c:299 [inline] page_cache_ra_order mm/readahead.c:546 [inline] ondemand_readahead+0x524/0x690 mm/readahead.c:668 page_cache_sync_ra+0x27e/0x2a0 mm/readahead.c:695 page_cache_sync_readahead include/linux/pagemap.h:1293 [inline] filemap_get_pages+0x251/0xe90 mm/filemap.c:2556 filemap_splice_read+0x238/0x7f0 mm/filemap.c:2919 ext4_file_splice_read+0x95/0xb0 fs/ext4/file.c:158 vfs_splice_read fs/splice.c:993 [inline] splice_direct_to_actor+0x28c/0x690 fs/splice.c:1069 do_splice_direct+0x10d/0x190 fs/splice.c:1194 do_sendfile+0x3b6/0x9a0 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64 fs/read_write.c:1308 [inline] __x64_sys_sendfile64+0x110/0x150 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read-write to 0xffff888138049780 of 4 bytes by task 15421 on cpu 1: read_pages+0x23c/0x530 mm/readahead.c:170 page_cache_ra_unbounded+0x224/0x2e0 do_page_cache_ra mm/readahead.c:299 [inline] page_cache_ra_order mm/readahead.c:546 [inline] ondemand_readahead+0x524/0x690 mm/readahead.c:668 page_cache_sync_ra+0x27e/0x2a0 mm/readahead.c:695 page_cache_sync_readahead include/linux/pagemap.h:1293 [inline] filemap_get_pages+0x251/0xe90 mm/filemap.c:2556 filemap_splice_read+0x238/0x7f0 mm/filemap.c:2919 ext4_file_splice_read+0x95/0xb0 fs/ext4/file.c:158 vfs_splice_read fs/splice.c:993 [inline] splice_direct_to_actor+0x28c/0x690 fs/splice.c:1069 do_splice_direct+0x10d/0x190 fs/splice.c:1194 do_sendfile+0x3b6/0x9a0 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64 fs/read_write.c:1308 [inline] __x64_sys_sendfile64+0x110/0x150 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x0000001e -> 0x0000001a Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 15421 Comm: syz-executor.1 Not tainted 6.5.0-syzkaller-12796-g32bf43e4efdb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 ==================================================================