================================================================== BUG: KCSAN: data-race in atime_needs_update / ext4_unlink write to 0xffff8880b3edf1e8 of 8 bytes by task 9154 on cpu 1: ext4_unlink+0x7a6/0x9f0 fs/ext4/namei.c:3240 vfs_unlink+0x22f/0x3d0 fs/namei.c:3825 do_unlinkat+0x28a/0x4d0 fs/namei.c:3889 __do_sys_unlink fs/namei.c:3936 [inline] __se_sys_unlink fs/namei.c:3934 [inline] __x64_sys_unlink+0x2c/0x30 fs/namei.c:3934 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880b3edf1e8 of 8 bytes by task 17345 on cpu 0: timespec64_compare include/linux/time64.h:58 [inline] relatime_need_update fs/inode.c:1728 [inline] atime_needs_update+0x322/0x370 fs/inode.c:1813 touch_atime+0x53/0x1a0 fs/inode.c:1828 file_accessed include/linux/fs.h:2229 [inline] generic_file_buffered_read+0x1918/0x19e0 mm/filemap.c:2249 generic_file_read_iter+0x7d/0x3e0 mm/filemap.c:2326 ext4_file_read_iter+0x2d6/0x420 fs/ext4/file.c:74 call_read_iter include/linux/fs.h:1902 [inline] new_sync_read fs/read_write.c:415 [inline] __kernel_read+0x511/0x580 fs/read_write.c:438 integrity_kernel_read+0x4c/0x70 security/integrity/iint.c:191 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:484 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:515 [inline] ima_calc_file_hash+0x9bf/0x13e0 security/integrity/ima/ima_crypto.c:580 ima_collect_measurement+0x168/0x310 security/integrity/ima/ima_api.c:250 process_measurement+0xa65/0x10d0 security/integrity/ima/ima_main.c:324 ima_file_check+0x75/0xa0 security/integrity/ima/ima_main.c:492 do_open fs/namei.c:3245 [inline] path_openat+0x18a2/0x20e0 fs/namei.c:3360 do_filp_open+0xbd/0x1d0 fs/namei.c:3387 do_sys_openat2+0x33c/0x4a0 fs/open.c:1179 do_sys_open fs/open.c:1195 [inline] ksys_open include/linux/syscalls.h:1388 [inline] __do_sys_open fs/open.c:1201 [inline] __se_sys_open fs/open.c:1199 [inline] __x64_sys_open+0xe2/0x110 fs/open.c:1199 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 17345 Comm: syz-executor.5 Not tainted 5.8.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================