syzbot


KCSAN: data-race in fifo_open / wait_for_partner (5)

Status: auto-obsoleted due to no activity on 2024/07/08 17:39
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+6f8fb953e2a2f8a0a8ff@syzkaller.appspotmail.com
First crash: 152d, last: 89d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in fifo_open / wait_for_partner (3) fs 3 373d 419d 0/27 auto-obsoleted due to no activity on 2023/09/28 09:43
upstream KCSAN: data-race in fifo_open / wait_for_partner (4) fs 8 206d 266d 0/27 auto-obsoleted due to no activity on 2024/03/13 09:11
upstream KCSAN: data-race in fifo_open / wait_for_partner (2) fs 54 457d 854d 0/27 auto-obsoleted due to no activity on 2023/07/06 11:38
upstream KCSAN: data-race in fifo_open / wait_for_partner fs 66 901d 1363d 0/27 auto-closed as invalid on 2022/04/18 09:31

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

read-write to 0xffff8881181fc96c of 4 bytes by task 10575 on cpu 0:
 fifo_open+0xa0/0x5e0 fs/pipe.c:1116
 do_dentry_open+0x644/0xbf0 fs/open.c:955
 vfs_open+0x30/0x40 fs/open.c:1089
 do_open fs/namei.c:3650 [inline]
 path_openat+0x18d6/0x1da0 fs/namei.c:3807
 do_filp_open+0xf7/0x200 fs/namei.c:3834
 do_sys_openat2+0xab/0x120 fs/open.c:1405
 do_sys_open fs/open.c:1420 [inline]
 __do_sys_creat fs/open.c:1496 [inline]
 __se_sys_creat fs/open.c:1490 [inline]
 __x64_sys_creat+0x66/0x90 fs/open.c:1490
 x64_sys_call+0x2365/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:86
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff8881181fc96c of 4 bytes by task 10574 on cpu 1:
 pipe_lock fs/pipe.c:91 [inline]
 wait_for_partner+0x106/0x1e0 fs/pipe.c:1093
 fifo_open+0x483/0x5e0 fs/pipe.c:1160
 do_dentry_open+0x644/0xbf0 fs/open.c:955
 vfs_open+0x30/0x40 fs/open.c:1089
 do_open fs/namei.c:3650 [inline]
 path_openat+0x18d6/0x1da0 fs/namei.c:3807
 do_filp_open+0xf7/0x200 fs/namei.c:3834
 do_sys_openat2+0xab/0x120 fs/open.c:1405
 do_sys_open fs/open.c:1420 [inline]
 __do_sys_open fs/open.c:1428 [inline]
 __se_sys_open fs/open.c:1424 [inline]
 __x64_sys_open+0xe6/0x110 fs/open.c:1424
 x64_sys_call+0x12d6/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f


Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/03 17:38 upstream c3f38fa61af7 0aba2352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fifo_open / wait_for_partner
2024/05/02 08:07 upstream 0106679839f7 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fifo_open / wait_for_partner
2024/04/12 11:16 upstream 586b5dfb51b9 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fifo_open / wait_for_partner
2024/04/03 09:15 upstream b1e6ec0a0fd0 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fifo_open / wait_for_partner
2024/04/01 04:06 upstream 18737353cca0 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fifo_open / wait_for_partner
* Struck through repros no longer work on HEAD.