IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: [email protected]
ext4 filesystem being mounted at /141/file0 supports timestamps until 2038-01-19 (0x7fffffff)
==================================================================
BUG: KCSAN: data-race in do_sendfile / do_sendfile
write to 0xffff8881168d51f0 of 8 bytes by task 5956 on cpu 0:
do_sendfile+0x76e/0x970
__do_sys_sendfile64 fs/read_write.c:1455 [inline]
__se_sys_sendfile64 fs/read_write.c:1441 [inline]
__x64_sys_sendfile64+0x110/0x150 fs/read_write.c:1441
x64_sys_call+0xed5/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:41
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
write to 0xffff8881168d51f0 of 8 bytes by task 5950 on cpu 1:
do_sendfile+0x76e/0x970
__do_sys_sendfile64 fs/read_write.c:1455 [inline]
__se_sys_sendfile64 fs/read_write.c:1441 [inline]
__x64_sys_sendfile64+0x110/0x150 fs/read_write.c:1441
x64_sys_call+0xed5/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:41
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
value changed: 0x0000000000000000 -> 0x00000000000002e2
Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 5950 Comm: syz.1.717 Not tainted 6.12.0-rc7-syzkaller-00042-gf1b785f4c787 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
==================================================================