================================================================== BUG: KCSAN: data-race in read_pages / read_pages read-write to 0xffff8881454eca80 of 4 bytes by task 21752 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:2472 [inline] filemap_get_pages+0x397/0xf90 mm/filemap.c:2513 filemap_splice_read+0x238/0x7f0 mm/filemap.c:2869 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+0x3c4/0x980 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:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read-write to 0xffff8881454eca80 of 4 bytes by task 21753 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:2472 [inline] filemap_get_pages+0x397/0xf90 mm/filemap.c:2513 filemap_splice_read+0x238/0x7f0 mm/filemap.c:2869 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+0x3c4/0x980 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:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x00000016 -> 0x00000012 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 21753 Comm: syz-executor.1 Not tainted 6.7.0-rc8-syzkaller-00177-g52b1853b080a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ================================================================== ================================================================== BUG: KCSAN: data-race in read_pages / read_pages read to 0xffff8881454eca84 of 4 bytes by task 21752 on cpu 0: read_pages+0x259/0x530 mm/readahead.c:171 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:2472 [inline] filemap_get_pages+0x397/0xf90 mm/filemap.c:2513 filemap_splice_read+0x238/0x7f0 mm/filemap.c:2869 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+0x3c4/0x980 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:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b write to 0xffff8881454eca84 of 4 bytes by task 21753 on cpu 1: read_pages+0x284/0x530 mm/readahead.c:172 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:1283 [inline] filemap_get_pages+0x251/0xf90 mm/filemap.c:2497 filemap_splice_read+0x238/0x7f0 mm/filemap.c:2869 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+0x3c4/0x980 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:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x00000008 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 21753 Comm: syz-executor.1 Not tainted 6.7.0-rc8-syzkaller-00177-g52b1853b080a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ==================================================================