================================================================== BUG: KCSAN: data-race in __filemap_add_folio / filemap_write_and_wait_range read-write to 0xffff8881198fd890 of 8 bytes by task 13426 on cpu 1: __filemap_add_folio+0x5b9/0x7d0 mm/filemap.c:928 filemap_add_folio+0x98/0x1b0 mm/filemap.c:969 page_cache_ra_unbounded+0x1f3/0x380 mm/readahead.c:275 page_cache_sync_ra+0x6ad/0x6c0 mm/readahead.c:-1 filemap_get_pages+0x2d0/0x1150 mm/filemap.c:2603 filemap_splice_read+0x3a9/0x740 mm/filemap.c:2991 ext4_file_splice_read+0x8f/0xb0 fs/ext4/file.c:158 do_splice_read fs/splice.c:982 [inline] splice_direct_to_actor+0x26f/0x680 fs/splice.c:1086 do_splice_direct_actor fs/splice.c:1204 [inline] do_splice_direct+0xda/0x150 fs/splice.c:1230 do_sendfile+0x380/0x650 fs/read_write.c:1370 __do_sys_sendfile64 fs/read_write.c:1431 [inline] __se_sys_sendfile64 fs/read_write.c:1417 [inline] __x64_sys_sendfile64+0x105/0x150 fs/read_write.c:1417 x64_sys_call+0x2bb0/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff8881198fd890 of 8 bytes by task 13434 on cpu 0: mapping_needs_writeback mm/filemap.c:641 [inline] filemap_write_and_wait_range+0x59/0x340 mm/filemap.c:690 ext4_dio_write_iter fs/ext4/file.c:626 [inline] ext4_file_write_iter+0xe04/0xf00 fs/ext4/file.c:721 iter_file_splice_write+0x663/0xa60 fs/splice.c:738 do_splice_from fs/splice.c:938 [inline] direct_splice_actor+0x153/0x2a0 fs/splice.c:1161 splice_direct_to_actor+0x30f/0x680 fs/splice.c:1105 do_splice_direct_actor fs/splice.c:1204 [inline] do_splice_direct+0xda/0x150 fs/splice.c:1230 do_sendfile+0x380/0x650 fs/read_write.c:1370 __do_sys_sendfile64 fs/read_write.c:1431 [inline] __se_sys_sendfile64 fs/read_write.c:1417 [inline] __x64_sys_sendfile64+0x105/0x150 fs/read_write.c:1417 x64_sys_call+0x2bb0/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000000000 -> 0x0000000000000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 13434 Comm: syz.8.4259 Tainted: G W syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 ================================================================== ================================================================== BUG: KCSAN: data-race in filemap_splice_read / filemap_splice_read write to 0xffff888103ee0228 of 8 bytes by task 13426 on cpu 0: filemap_splice_read+0x4f4/0x740 mm/filemap.c:3037 ext4_file_splice_read+0x8f/0xb0 fs/ext4/file.c:158 do_splice_read fs/splice.c:982 [inline] splice_direct_to_actor+0x26f/0x680 fs/splice.c:1086 do_splice_direct_actor fs/splice.c:1204 [inline] do_splice_direct+0xda/0x150 fs/splice.c:1230 do_sendfile+0x380/0x650 fs/read_write.c:1370 __do_sys_sendfile64 fs/read_write.c:1431 [inline] __se_sys_sendfile64 fs/read_write.c:1417 [inline] __x64_sys_sendfile64+0x105/0x150 fs/read_write.c:1417 x64_sys_call+0x2bb0/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f write to 0xffff888103ee0228 of 8 bytes by task 13434 on cpu 1: filemap_splice_read+0x4f4/0x740 mm/filemap.c:3037 ext4_file_splice_read+0x8f/0xb0 fs/ext4/file.c:158 do_splice_read fs/splice.c:982 [inline] splice_direct_to_actor+0x26f/0x680 fs/splice.c:1086 do_splice_direct_actor fs/splice.c:1204 [inline] do_splice_direct+0xda/0x150 fs/splice.c:1230 do_sendfile+0x380/0x650 fs/read_write.c:1370 __do_sys_sendfile64 fs/read_write.c:1431 [inline] __se_sys_sendfile64 fs/read_write.c:1417 [inline] __x64_sys_sendfile64+0x105/0x150 fs/read_write.c:1417 x64_sys_call+0x2bb0/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000000a3e -> 0x0000000000000a44 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 13434 Comm: syz.8.4259 Tainted: G W syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 ==================================================================