syzbot


KCSAN: data-race in fifo_open / pipe_wait

Status: auto-closed as invalid on 2020/09/07 02:58
Subsystems: fs
[Documentation on labels]
First crash: 1362d, last: 1333d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in fifo_open / pipe_wait (2) fs 4 1279d 1293d 0/26 auto-closed as invalid on 2020/10/31 05:03

Sample crash report:
==================================================================
BUG: KCSAN: data-race in fifo_open / pipe_wait

write to 0xffff888121c7baec of 4 bytes by task 15900 on cpu 0:
 put_pipe_info fs/pipe.c:707 [inline]
 fifo_open+0x30a/0x7b0 fs/pipe.c:1177
 do_dentry_open+0x580/0x8e0 fs/open.c:828
 vfs_open+0x43/0x50 fs/open.c:942
 do_open fs/namei.c:3243 [inline]
 path_openat+0x185f/0x20e0 fs/namei.c:3360
 do_filp_open+0xbd/0x1d0 fs/namei.c:3387
 do_sys_openat2+0x33c/0x4a0 fs/open.c:1179
 do_sys_open fs/open.c:1195 [inline]
 __do_sys_openat fs/open.c:1209 [inline]
 __se_sys_openat fs/open.c:1204 [inline]
 __x64_sys_openat+0xef/0x110 fs/open.c:1204
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888121c7baec of 4 bytes by task 15903 on cpu 1:
 pipe_lock_nested fs/pipe.c:65 [inline]
 pipe_lock fs/pipe.c:74 [inline]
 pipe_wait+0xf8/0x140 fs/pipe.c:125
 wait_for_partner fs/pipe.c:1043 [inline]
 fifo_open+0x58b/0x7b0 fs/pipe.c:1111
 do_dentry_open+0x580/0x8e0 fs/open.c:828
 vfs_open+0x43/0x50 fs/open.c:942
 do_open fs/namei.c:3243 [inline]
 path_openat+0x185f/0x20e0 fs/namei.c:3360
 do_filp_open+0xbd/0x1d0 fs/namei.c:3387
 do_sys_openat2+0x33c/0x4a0 fs/open.c:1179
 do_sys_open fs/open.c:1195 [inline]
 ksys_open include/linux/syscalls.h:1388 [inline]
 __do_sys_open fs/open.c:1201 [inline]
 __se_sys_open fs/open.c:1199 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1199
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

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

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/03 02:53 upstream 142c3326b055 96dd3623 .config console log report ci2-upstream-kcsan-gce
2020/07/22 04:01 upstream 4fa640dc5230 21f1765e .config console log report ci2-upstream-kcsan-gce
2020/07/04 09:54 upstream 0c7d7d1fada7 51095195 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.