syzbot


KCSAN: data-race in put_pipe_info / wait_for_partner (2)

Status: auto-closed as invalid on 2021/11/24 20:30
Subsystems: fs
[Documentation on labels]
First crash: 925d, last: 917d
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 fs 15 974d 1094d 0/26 auto-closed as invalid on 2021/09/28 18:13

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

write to 0xffff8881320cc36c of 4 bytes by task 27341 on cpu 0:
 put_pipe_info+0x3d/0xe0 fs/pipe.c:702
 fifo_open+0x342/0x6a0 fs/pipe.c:1210
 do_dentry_open+0x52c/0x860 fs/open.c:822
 vfs_open+0x43/0x50 fs/open.c:945
 do_open fs/namei.c:3428 [inline]
 path_openat+0x17c3/0x1ec0 fs/namei.c:3561
 do_filp_open+0x105/0x220 fs/namei.c:3588
 do_sys_openat2+0xb5/0x2b0 fs/open.c:1200
 do_sys_open fs/open.c:1216 [inline]
 __do_sys_open fs/open.c:1224 [inline]
 __se_sys_open fs/open.c:1220 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1220
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff8881320cc36c of 4 bytes by task 27344 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:1077
 fifo_open+0x503/0x6a0 fs/pipe.c:1144
 do_dentry_open+0x52c/0x860 fs/open.c:822
 vfs_open+0x43/0x50 fs/open.c:945
 do_open fs/namei.c:3428 [inline]
 path_openat+0x17c3/0x1ec0 fs/namei.c:3561
 do_filp_open+0x105/0x220 fs/namei.c:3588
 do_sys_openat2+0xb5/0x2b0 fs/open.c:1200
 do_sys_open fs/open.c:1216 [inline]
 __do_sys_open fs/open.c:1224 [inline]
 __se_sys_open fs/open.c:1220 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1220
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000004 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 27344 Comm: syz-executor.3 Not tainted 5.15.0-rc6-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
2021/10/20 20:24 upstream d9abdee5fd5a 418a00eb .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in put_pipe_info / wait_for_partner
2021/10/16 20:34 upstream 304040fb4909 0c5d9412 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in put_pipe_info / wait_for_partner
2021/10/12 13:59 upstream fa5878760579 08362356 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in put_pipe_info / wait_for_partner
* Struck through repros no longer work on HEAD.