syzbot


KCSAN: data-race in pipe_double_lock / pipe_release

Status: auto-closed as invalid on 2020/07/23 17:42
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 828d, last: 828d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in pipe_double_lock / pipe_release

write to 0xffff8880a247e42c of 4 bytes by task 7539 on cpu 1:
 put_pipe_info fs/pipe.c:707 [inline]
 pipe_release+0x186/0x1e0 fs/pipe.c:737
 __fput+0x1df/0x460 fs/file_table.c:281
 ____fput+0x11/0x20 fs/file_table.c:314
 task_work_run+0x8e/0x110 kernel/task_work.c:123
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_usermode_loop arch/x86/entry/common.c:216 [inline]
 __prepare_exit_to_usermode+0x1c8/0x230 arch/x86/entry/common.c:246
 __syscall_return_slowpath arch/x86/entry/common.c:329 [inline]
 do_syscall_64+0xb9/0x120 arch/x86/entry/common.c:368
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8880a247e42c of 4 bytes by task 7559 on cpu 0:
 pipe_lock_nested fs/pipe.c:65 [inline]
 pipe_double_lock+0x79/0xe0 fs/pipe.c:102
 splice_pipe_to_pipe fs/splice.c:1532 [inline]
 do_splice+0x2e2/0x1060 fs/splice.c:1118
 __do_sys_splice fs/splice.c:1419 [inline]
 __se_sys_splice fs/splice.c:1401 [inline]
 __x64_sys_splice+0xf2/0x190 fs/splice.c:1401
 do_syscall_64+0x71/0x120 arch/x86/entry/common.c:359
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 7559 Comm: syz-executor.4 Not tainted 5.8.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2020/06/18 17:41 upstream 1b5044021070 3ea11d3f .config log report
* Struck through repros no longer work on HEAD.