loop2: detected capacity change from 0 to 2048 EXT4-fs (loop2): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. ================================================================== BUG: KCSAN: data-race in do_sync_mmap_readahead / ondemand_readahead write to 0xffff88813bd88b78 of 8 bytes by task 22788 on cpu 0: do_sync_mmap_readahead+0x323/0x3b0 mm/filemap.c:3201 filemap_fault+0x3d6/0xb70 mm/filemap.c:3297 __do_fault mm/memory.c:4198 [inline] do_read_fault mm/memory.c:4547 [inline] do_fault mm/memory.c:4670 [inline] do_pte_missing mm/memory.c:3664 [inline] handle_pte_fault mm/memory.c:4939 [inline] __handle_mm_fault mm/memory.c:5079 [inline] handle_mm_fault+0x1224/0x2c10 mm/memory.c:5233 faultin_page mm/gup.c:959 [inline] __get_user_pages+0x42e/0xd20 mm/gup.c:1258 populate_vma_page_range mm/gup.c:1649 [inline] __mm_populate+0x23b/0x360 mm/gup.c:1758 mm_populate include/linux/mm.h:3213 [inline] vm_mmap_pgoff+0x1a3/0x240 mm/util.c:548 ksys_mmap_pgoff+0x2b8/0x330 mm/mmap.c:1409 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 0xffff88813bd88b78 of 8 bytes by task 22785 on cpu 1: ondemand_readahead+0x25a/0x6c0 mm/readahead.c:658 page_cache_sync_ra+0x284/0x2a0 mm/readahead.c:708 page_cache_sync_readahead include/linux/pagemap.h:1213 [inline] filemap_get_pages+0x254/0xea0 mm/filemap.c:2563 filemap_read+0x1fb/0x670 mm/filemap.c:2658 generic_file_read_iter+0x78/0x340 mm/filemap.c:2837 ext4_file_read_iter+0x1d8/0x2a0 call_read_iter include/linux/fs.h:1865 [inline] copy_splice_read+0x26b/0x4b0 fs/splice.c:367 vfs_splice_read fs/splice.c:995 [inline] splice_direct_to_actor+0x2aa/0x690 fs/splice.c:1072 do_splice_direct+0x10d/0x190 fs/splice.c:1197 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: 0x000000000000028a -> 0x000000000000028b Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 22785 Comm: syz-executor.2 Not tainted 6.5.0-rc4-syzkaller-00041-gec351c8f2e62 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 ================================================================== EXT4-fs (loop2): Delayed block allocation failed for inode 18 at logical offset 1344 with max blocks 1 with error 28