================================================================== BUG: KCSAN: data-race in do_sendfile / iterate_dir write to 0xffff888165ad4740 of 8 bytes by task 15222 on cpu 1: iterate_dir+0x140/0x300 fs/readdir.c:107 __do_sys_getdents fs/readdir.c:322 [inline] __se_sys_getdents+0x88/0x1a0 fs/readdir.c:307 __x64_sys_getdents+0x43/0x50 fs/readdir.c:307 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff888165ad4740 of 8 bytes by task 15223 on cpu 0: do_sendfile+0x118/0x980 fs/read_write.c:1202 __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:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x0000000000000000 -> 0x7fffffffffffffff Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 15223 Comm: syz-executor.5 Tainted: G W 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ==================================================================