================================================================== BUG: KCSAN: data-race in __add_to_page_cache_locked / invalidate_inode_pages2_range write to 0xffff8880b220e880 of 8 bytes by task 18956 on cpu 0: __add_to_page_cache_locked+0x28a/0x770 mm/filemap.c:868 add_to_page_cache_lru+0xc7/0x260 mm/filemap.c:921 ext4_mpage_readpages+0x319/0x1450 fs/ext4/readpage.c:259 ext4_readpages+0x8e/0xb0 fs/ext4/inode.c:3243 read_pages+0xa2/0x2d0 mm/readahead.c:126 __do_page_cache_readahead+0x358/0x380 mm/readahead.c:212 ra_submit mm/internal.h:62 [inline] ondemand_readahead+0x369/0x730 mm/readahead.c:492 page_cache_sync_readahead+0x1b0/0x1e0 mm/readahead.c:527 generic_file_buffered_read mm/filemap.c:2036 [inline] generic_file_read_iter+0xef7/0x14e0 mm/filemap.c:2309 ext4_file_read_iter fs/ext4/file.c:131 [inline] ext4_file_read_iter+0x103/0x360 fs/ext4/file.c:114 call_read_iter include/linux/fs.h:1901 [inline] generic_file_splice_read+0x2df/0x470 fs/splice.c:313 do_splice_to+0xc7/0x100 fs/splice.c:892 splice_direct_to_actor+0x1b9/0x540 fs/splice.c:971 do_splice_direct+0x152/0x1d0 fs/splice.c:1080 do_sendfile+0x380/0x800 fs/read_write.c:1521 __do_sys_sendfile64 fs/read_write.c:1582 [inline] __se_sys_sendfile64 fs/read_write.c:1568 [inline] __x64_sys_sendfile64+0x121/0x140 fs/read_write.c:1568 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880b220e880 of 8 bytes by task 18959 on cpu 1: invalidate_inode_pages2_range+0x50/0xab0 mm/truncate.c:695 iomap_dio_rw+0x540/0x9a0 fs/iomap/direct-io.c:481 ext4_dio_read_iter fs/ext4/file.c:77 [inline] ext4_file_read_iter fs/ext4/file.c:129 [inline] ext4_file_read_iter+0x2b4/0x360 fs/ext4/file.c:114 call_read_iter include/linux/fs.h:1901 [inline] generic_file_splice_read+0x2df/0x470 fs/splice.c:313 do_splice_to+0xc7/0x100 fs/splice.c:892 splice_direct_to_actor+0x1b9/0x540 fs/splice.c:971 do_splice_direct+0x152/0x1d0 fs/splice.c:1080 do_sendfile+0x380/0x800 fs/read_write.c:1521 __do_sys_sendfile64 fs/read_write.c:1582 [inline] __se_sys_sendfile64 fs/read_write.c:1568 [inline] __x64_sys_sendfile64+0x121/0x140 fs/read_write.c:1568 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 18959 Comm: syz-executor.3 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================