syzbot


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

Status: auto-obsoleted due to no activity on 2024/03/13 09:11
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+b7d953e0f3c3d6973332@syzkaller.appspotmail.com
First crash: 202d, last: 113d
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 (5) fs 4 28d 59d 0/26 moderation: reported on 2024/04/01 04:07
upstream KCSAN: data-race in fifo_open / wait_for_partner (3) fs 3 280d 325d 0/26 auto-obsoleted due to no activity on 2023/09/28 09:43
upstream KCSAN: data-race in fifo_open / wait_for_partner (2) fs 54 364d 761d 0/26 auto-obsoleted due to no activity on 2023/07/06 11:38
upstream KCSAN: data-race in fifo_open / wait_for_partner fs 66 808d 1270d 0/26 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 0xffff888118fefaec of 4 bytes by task 25123 on cpu 0:
 put_pipe_info fs/pipe.c:722 [inline]
 fifo_open+0x2a6/0x5e0 fs/pipe.c:1235
 do_dentry_open+0x637/0xbd0 fs/open.c:953
 vfs_open+0x4a/0x50 fs/open.c:1087
 do_open fs/namei.c:3641 [inline]
 path_openat+0x1821/0x1d40 fs/namei.c:3798
 do_filp_open+0xf6/0x200 fs/namei.c:3825
 do_sys_openat2+0xab/0x110 fs/open.c:1404
 do_sys_open fs/open.c:1419 [inline]
 __do_sys_open fs/open.c:1427 [inline]
 __se_sys_open fs/open.c:1423 [inline]
 __x64_sys_open+0xe6/0x110 fs/open.c:1423
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff888118fefaec of 4 bytes by task 25131 on cpu 1:
 pipe_lock_nested fs/pipe.c:81 [inline]
 pipe_lock fs/pipe.c:90 [inline]
 wait_for_partner+0x105/0x1d0 fs/pipe.c:1102
 fifo_open+0x483/0x5e0 fs/pipe.c:1169
 do_dentry_open+0x637/0xbd0 fs/open.c:953
 vfs_open+0x4a/0x50 fs/open.c:1087
 do_open fs/namei.c:3641 [inline]
 path_openat+0x1821/0x1d40 fs/namei.c:3798
 do_filp_open+0xf6/0x200 fs/namei.c:3825
 do_sys_openat2+0xab/0x110 fs/open.c:1404
 __do_sys_openat2 fs/open.c:1460 [inline]
 __se_sys_openat2+0x17d/0x1c0 fs/open.c:1438
 __x64_sys_openat2+0x55/0x60 fs/open.c:1438
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x00000002 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 25131 Comm: syz-executor.2 Not tainted 6.8.0-rc3-syzkaller-00010-g6d280f4d760e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
==================================================================

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/07 09:10 upstream 6d280f4d760e 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fifo_open / wait_for_partner
2024/02/04 16:56 upstream 54be6c6c5ae8 a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fifo_open / wait_for_partner
2024/01/15 18:19 upstream 052d534373b7 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fifo_open / wait_for_partner
2023/12/31 19:39 upstream 2639772a11c8 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fifo_open / wait_for_partner
2023/12/26 01:44 upstream fbafc3e621c3 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fifo_open / wait_for_partner
2023/11/30 01:24 upstream 3b47bc037bd4 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fifo_open / wait_for_partner
2023/11/23 04:30 upstream 9b6de136b5f0 fc59b78e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fifo_open / wait_for_partner
2023/11/10 10:21 upstream 89cdf9d55601 45e9b83e .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.