syzbot


KCSAN: data-race in put_pipe_info / wait_for_partner

Status: auto-closed as invalid on 2021/09/28 18:13
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 657d, last: 532d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in put_pipe_info / wait_for_partner (2) 3 475d 483d 0/24 auto-closed as invalid on 2021/11/24 20:30

Sample crash report:
==================================================================
BUG: KCSAN: data-race in put_pipe_info / wait_for_partner

write to 0xffff888100c6c2ac of 4 bytes by task 11670 on cpu 0:
 put_pipe_info+0x3d/0xe0 fs/pipe.c:706
 fifo_open+0x342/0x6a0 fs/pipe.c:1214
 do_dentry_open+0x529/0x850 fs/open.c:826
 vfs_open+0x43/0x50 fs/open.c:949
 do_open fs/namei.c:3374 [inline]
 path_openat+0x1787/0x1f20 fs/namei.c:3507
 do_filp_open+0xe9/0x200 fs/namei.c:3534
 do_sys_openat2+0xa3/0x250 fs/open.c:1204
 do_sys_open fs/open.c:1220 [inline]
 __do_sys_openat fs/open.c:1236 [inline]
 __se_sys_openat fs/open.c:1231 [inline]
 __x64_sys_openat+0xef/0x110 fs/open.c:1231
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888100c6c2ac of 4 bytes by task 11681 on cpu 1:
 pipe_lock_nested fs/pipe.c:80 [inline]
 pipe_lock fs/pipe.c:89 [inline]
 wait_for_partner+0xe0/0x1d0 fs/pipe.c:1081
 fifo_open+0x503/0x6a0 fs/pipe.c:1148
 do_dentry_open+0x529/0x850 fs/open.c:826
 vfs_open+0x43/0x50 fs/open.c:949
 do_open fs/namei.c:3374 [inline]
 path_openat+0x1787/0x1f20 fs/namei.c:3507
 do_filp_open+0xe9/0x200 fs/namei.c:3534
 do_sys_openat2+0xa3/0x250 fs/open.c:1204
 do_sys_open fs/open.c:1220 [inline]
 __do_sys_open fs/open.c:1228 [inline]
 __se_sys_open fs/open.c:1224 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1224
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000002 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 11681 Comm: syz-executor.1 Tainted: G        W         5.14.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (15):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-kcsan-gce 2021/08/24 18:09 upstream 6e764bcd1cf7 b599f2fc .config console log report info KCSAN: data-race in put_pipe_info / wait_for_partner
ci2-upstream-kcsan-gce 2021/08/20 16:35 upstream d992fe5318d8 b599f2fc .config console log report info KCSAN: data-race in put_pipe_info / wait_for_partner
ci2-upstream-kcsan-gce 2021/07/29 16:18 upstream 4010a528219e 8a799410 .config console log report info KCSAN: data-race in put_pipe_info / wait_for_partner
ci2-upstream-kcsan-gce 2021/07/28 00:07 upstream 7d549995d4e0 17d6ab15 .config console log report info KCSAN: data-race in put_pipe_info / wait_for_partner
ci2-upstream-kcsan-gce 2021/07/25 00:48 upstream 7ffca2bb9d8b 4d1b57d4 .config console log report info KCSAN: data-race in put_pipe_info / wait_for_partner
ci2-upstream-kcsan-gce 2021/07/20 17:38 upstream 8cae8cd89f05 1b201b48 .config console log report info KCSAN: data-race in put_pipe_info / wait_for_partner
ci2-upstream-kcsan-gce 2021/07/12 21:14 upstream 7fef2edf7cc7 f415556d .config console log report info KCSAN: data-race in put_pipe_info / wait_for_partner
ci2-upstream-kcsan-gce 2021/06/11 09:20 upstream 06af8679449d 1ba81399 .config console log report info KCSAN: data-race in put_pipe_info / wait_for_partner
ci2-upstream-kcsan-gce 2021/05/30 09:49 upstream b90e90f40b4f 325a8dab .config console log report info KCSAN: data-race in put_pipe_info / wait_for_partner
ci2-upstream-kcsan-gce 2021/05/13 14:39 upstream c06a2ba62fc4 ecb594cb .config console log report info KCSAN: data-race in put_pipe_info / wait_for_partner
ci2-upstream-kcsan-gce 2021/05/05 03:59 upstream d665ea6ea86c 06c27ff5 .config console log report info KCSAN: data-race in put_pipe_info / wait_for_partner
ci2-upstream-kcsan-gce 2021/05/01 22:55 upstream 10a3efd0fee5 77e2b668 .config console log report info KCSAN: data-race in put_pipe_info / wait_for_partner
ci2-upstream-kcsan-gce 2021/04/28 21:18 upstream 68a32ba14177 77e2b668 .config console log report info KCSAN: data-race in put_pipe_info / wait_for_partner
ci2-upstream-kcsan-gce 2021/04/26 09:30 upstream 9f4ad9e425a1 805b5003 .config console log report info KCSAN: data-race in put_pipe_info / wait_for_partner
ci2-upstream-kcsan-gce 2021/04/21 20:05 upstream 16fc44d6387e 2bc8999a .config console log report info KCSAN: data-race in put_pipe_info / wait_for_partner
* Struck through repros no longer work on HEAD.