syzbot


KCSAN: data-race in pipe_release / pipe_unlock

Status: auto-closed as invalid on 2020/12/21 11:59
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+49370a3f3f9dc47aa153@syzkaller.appspotmail.com
First crash: 1264d, last: 1264d

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

read-write to 0xffff888027217130 of 4 bytes by task 14433 on cpu 1:
 put_pipe_info fs/pipe.c:688 [inline]
 pipe_release+0x164/0x1c0 fs/pipe.c:718
 __fput+0x243/0x4d0 fs/file_table.c:281
 ____fput+0x11/0x20 fs/file_table.c:314
 task_work_run+0x8e/0x110 kernel/task_work.c:151
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:164 [inline]
 exit_to_user_mode_prepare+0x13c/0x170 kernel/entry/common.c:191
 syscall_exit_to_user_mode+0x16/0x30 kernel/entry/common.c:266
 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888027217130 of 4 bytes by task 14435 on cpu 0:
 pipe_unlock+0x13/0x40 fs/pipe.c:80
 __do_sys_vmsplice fs/splice.c:1220 [inline]
 __se_sys_vmsplice+0x428/0x4f0 fs/splice.c:1289
 __x64_sys_vmsplice+0x51/0x60 fs/splice.c:1289
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/09 15:20 upstream f8394f232b1e cba33199 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.