================================================================== BUG: KCSAN: data-race in __filemap_remove_folio / shmem_getpage_gfp write to 0xffff888133e602a0 of 8 bytes by task 26400 on cpu 1: page_cache_delete mm/filemap.c:145 [inline] __filemap_remove_folio+0x1e1/0x2c0 mm/filemap.c:219 filemap_remove_folio+0x69/0x210 mm/filemap.c:251 truncate_inode_folio+0x14c/0x160 mm/truncate.c:223 shmem_undo_range+0x28a/0xce0 mm/shmem.c:950 shmem_truncate_range mm/shmem.c:1042 [inline] shmem_fallocate+0x2c0/0x880 mm/shmem.c:2661 vfs_fallocate+0x486/0x720 fs/open.c:308 ksys_fallocate fs/open.c:331 [inline] __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0x75/0xc0 fs/open.c:337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888133e602a0 of 8 bytes by task 26388 on cpu 0: shmem_recalc_inode mm/shmem.c:362 [inline] shmem_getpage_gfp+0xf1b/0x12c0 mm/shmem.c:1912 shmem_getpage mm/shmem.c:149 [inline] shmem_file_read_iter+0x1b2/0x5d0 mm/shmem.c:2526 __kernel_read+0x32a/0x5d0 fs/read_write.c:439 kernel_read+0xb9/0x170 fs/read_write.c:457 kernel_read_file+0x387/0x510 fs/kernel_read_file.c:93 kernel_read_file_from_fd+0xa7/0xe0 fs/kernel_read_file.c:184 __do_sys_finit_module kernel/module.c:4222 [inline] __se_sys_finit_module+0xa2/0x120 kernel/module.c:4204 __x64_sys_finit_module+0x3a/0x40 kernel/module.c:4204 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000000000001db -> 0x00000000000001d6 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 26388 Comm: syz-executor.3 Not tainted 5.17.0-rc2-syzkaller-00054-g27bb0b18c208 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== Invalid ELF header magic: != ELF