================================================================== BUG: KCSAN: data-race in read_pages / read_pages read-write to 0xffff888137b47b80 of 4 bytes by task 6215 on cpu 0: read_pages+0x23c/0x530 mm/readahead.c:170 page_cache_ra_unbounded+0x2aa/0x2e0 mm/readahead.c:269 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_async_ra+0x94/0xa0 mm/readahead.c:717 filemap_readahead mm/filemap.c:2534 [inline] filemap_get_pages+0x386/0xe90 mm/filemap.c:2575 filemap_read+0x214/0x680 mm/filemap.c:2655 generic_file_read_iter+0x78/0x330 mm/filemap.c:2834 ext4_file_read_iter+0x1d8/0x2a0 call_read_iter include/linux/fs.h:1979 [inline] copy_splice_read+0x26b/0x4b0 fs/splice.c:364 vfs_splice_read fs/splice.c:992 [inline] splice_direct_to_actor+0x2aa/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 0xffff888137b47b80 of 4 bytes by task 6218 on cpu 1: read_pages+0x23c/0x530 mm/readahead.c:170 page_cache_ra_unbounded+0x2aa/0x2e0 mm/readahead.c:269 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_async_ra+0x94/0xa0 mm/readahead.c:717 filemap_readahead mm/filemap.c:2534 [inline] filemap_get_pages+0x386/0xe90 mm/filemap.c:2575 filemap_read+0x214/0x680 mm/filemap.c:2655 generic_file_read_iter+0x78/0x330 mm/filemap.c:2834 ext4_file_read_iter+0x1d8/0x2a0 call_read_iter include/linux/fs.h:1979 [inline] copy_splice_read+0x26b/0x4b0 fs/splice.c:364 vfs_splice_read fs/splice.c:992 [inline] splice_direct_to_actor+0x2aa/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: 0x00000000 -> 0xfffffffc Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 6218 Comm: syz-executor.4 Not tainted 6.5.0-syzkaller-11329-g708283abf896 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ================================================================== ================================================================== BUG: KCSAN: data-race in filemap_read / filemap_read read to 0xffff888137b47b90 of 8 bytes by task 6215 on cpu 1: filemap_read+0x89/0x680 mm/filemap.c:2631 generic_file_read_iter+0x78/0x330 mm/filemap.c:2834 ext4_file_read_iter+0x1d8/0x2a0 call_read_iter include/linux/fs.h:1979 [inline] copy_splice_read+0x26b/0x4b0 fs/splice.c:364 vfs_splice_read fs/splice.c:992 [inline] splice_direct_to_actor+0x2aa/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 write to 0xffff888137b47b90 of 8 bytes by task 6218 on cpu 0: filemap_read+0x605/0x680 mm/filemap.c:2724 generic_file_read_iter+0x78/0x330 mm/filemap.c:2834 ext4_file_read_iter+0x1d8/0x2a0 call_read_iter include/linux/fs.h:1979 [inline] copy_splice_read+0x26b/0x4b0 fs/splice.c:364 vfs_splice_read fs/splice.c:992 [inline] splice_direct_to_actor+0x2aa/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: 0x000000000204851b -> 0x000000000204857b Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 6218 Comm: syz-executor.4 Not tainted 6.5.0-syzkaller-11329-g708283abf896 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ================================================================== ================================================================== BUG: KCSAN: data-race in filemap_read / filemap_read write to 0xffff888137b47b90 of 8 bytes by task 6215 on cpu 1: filemap_read+0x605/0x680 mm/filemap.c:2724 generic_file_read_iter+0x78/0x330 mm/filemap.c:2834 ext4_file_read_iter+0x1d8/0x2a0 call_read_iter include/linux/fs.h:1979 [inline] copy_splice_read+0x26b/0x4b0 fs/splice.c:364 vfs_splice_read fs/splice.c:992 [inline] splice_direct_to_actor+0x2aa/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 write to 0xffff888137b47b90 of 8 bytes by task 6218 on cpu 0: filemap_read+0x605/0x680 mm/filemap.c:2724 generic_file_read_iter+0x78/0x330 mm/filemap.c:2834 ext4_file_read_iter+0x1d8/0x2a0 call_read_iter include/linux/fs.h:1979 [inline] copy_splice_read+0x26b/0x4b0 fs/splice.c:364 vfs_splice_read fs/splice.c:992 [inline] splice_direct_to_actor+0x2aa/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: 0x000000000213a520 -> 0x000000000213a580 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 6218 Comm: syz-executor.4 Not tainted 6.5.0-syzkaller-11329-g708283abf896 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ==================================================================