================================================================== BUG: KCSAN: data-race in fsnotify_perm / setattr_copy write to 0xffff88810a858128 of 2 bytes by task 24716 on cpu 1: setattr_copy+0x25c/0x270 fs/attr.c:321 ext4_setattr+0x3d4/0xeb0 fs/ext4/inode.c:5443 notify_change+0x866/0x8e0 fs/attr.c:499 chmod_common+0x13c/0x270 fs/open.c:643 vfs_fchmod fs/open.c:659 [inline] __do_sys_fchmod fs/open.c:668 [inline] __se_sys_fchmod fs/open.c:662 [inline] __x64_sys_fchmod+0xb2/0x100 fs/open.c:662 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 read to 0xffff88810a858128 of 2 bytes by task 24715 on cpu 0: fsnotify_parent include/linux/fsnotify.h:65 [inline] fsnotify_file include/linux/fsnotify.h:101 [inline] fsnotify_perm+0x2b8/0x3b0 include/linux/fsnotify.h:126 security_file_permission+0x5a/0x70 security/security.c:2564 rw_verify_area+0x89/0x140 fs/read_write.c:374 vfs_splice_read fs/splice.c:979 [inline] splice_direct_to_actor+0x1e9/0x690 fs/splice.c:1070 do_splice_direct+0x10d/0x190 fs/splice.c:1195 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: 0x8000 -> 0x8094 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 24715 Comm: syz-executor.5 Not tainted 6.5.0-syzkaller-01810-gf97e18a3f2fb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ==================================================================