================================================================== BUG: KCSAN: data-race in pipe_lock / pipe_release read-write to 0xffff8881376e412c of 4 bytes by task 2340 on cpu 0: put_pipe_info fs/pipe.c:704 [inline] pipe_release+0x164/0x1c0 fs/pipe.c:734 __fput+0x292/0x510 fs/file_table.c:320 ____fput+0x11/0x20 fs/file_table.c:353 task_work_run+0x8e/0x110 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x124/0x130 kernel/entry/common.c:169 exit_to_user_mode_prepare kernel/entry/common.c:201 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:294 do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff8881376e412c of 4 bytes by task 2341 on cpu 1: pipe_lock_nested fs/pipe.c:81 [inline] pipe_lock+0x13/0x40 fs/pipe.c:90 splice_file_to_pipe+0x2a/0x360 fs/splice.c:1010 do_splice+0xc05/0xd90 fs/splice.c:1099 __do_splice fs/splice.c:1139 [inline] __do_sys_splice fs/splice.c:1346 [inline] __se_sys_splice+0x2a4/0x380 fs/splice.c:1328 __x64_sys_splice+0x74/0x80 fs/splice.c:1328 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x00000002 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 2341 Comm: syz-executor.4 Not tainted 6.0.0-rc2-syzkaller-00016-g072e51356cd5-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 ==================================================================