loop0: detected capacity change from 0 to 2048 ================================================================== BUG: KCSAN: data-race in __filemap_add_folio / filemap_write_and_wait_range read-write to 0xffff888106291070 of 8 bytes by task 10559 on cpu 0: __filemap_add_folio+0x430/0x6f0 mm/filemap.c:928 filemap_add_folio+0x9c/0x1b0 mm/filemap.c:980 page_cache_ra_unbounded+0x1c1/0x350 mm/readahead.c:275 do_page_cache_ra mm/readahead.c:327 [inline] page_cache_ra_order mm/readahead.c:532 [inline] page_cache_async_ra+0x41d/0x450 mm/readahead.c:687 do_async_mmap_readahead mm/filemap.c:3289 [inline] filemap_fault+0x2d1/0xb30 mm/filemap.c:3388 __do_fault+0xb6/0x200 mm/memory.c:4989 do_read_fault mm/memory.c:5409 [inline] do_fault mm/memory.c:5543 [inline] do_pte_missing mm/memory.c:4059 [inline] handle_pte_fault mm/memory.c:5888 [inline] __handle_mm_fault mm/memory.c:6031 [inline] handle_mm_fault+0xe98/0x2b00 mm/memory.c:6200 faultin_page mm/gup.c:1196 [inline] __get_user_pages+0xf6a/0x2350 mm/gup.c:1491 populate_vma_page_range mm/gup.c:1929 [inline] __mm_populate+0x25b/0x3b0 mm/gup.c:2032 mm_populate include/linux/mm.h:3392 [inline] vm_mmap_pgoff+0x224/0x2d0 mm/util.c:583 ksys_mmap_pgoff+0x286/0x330 mm/mmap.c:607 x64_sys_call+0x1940/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:10 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888106291070 of 8 bytes by task 10549 on cpu 1: mapping_needs_writeback mm/filemap.c:643 [inline] filemap_write_and_wait_range+0x59/0x360 mm/filemap.c:692 kiocb_write_and_wait+0x73/0x100 mm/filemap.c:2791 __iomap_dio_rw+0x50c/0x1110 fs/iomap/direct-io.c:624 iomap_dio_rw+0x40/0x90 fs/iomap/direct-io.c:790 ext4_dio_read_iter fs/ext4/file.c:94 [inline] ext4_file_read_iter+0x214/0x290 fs/ext4/file.c:145 copy_splice_read+0x383/0x5b0 fs/splice.c:365 do_splice_read fs/splice.c:984 [inline] splice_direct_to_actor+0x28b/0x670 fs/splice.c:1089 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0xd7/0x150 fs/splice.c:1233 do_sendfile+0x398/0x660 fs/read_write.c:1363 __do_sys_sendfile64 fs/read_write.c:1424 [inline] __se_sys_sendfile64 fs/read_write.c:1410 [inline] __x64_sys_sendfile64+0x110/0x150 fs/read_write.c:1410 x64_sys_call+0xfbd/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000000b11 -> 0x0000000000000b14 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 10549 Comm: syz.0.2594 Tainted: G W 6.14.0-rc7-syzkaller-00137-g5fc319360819 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 ==================================================================