syzbot


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

Status: auto-obsoleted due to no activity on 2023/09/28 09:43
Subsystems: fs
[Documentation on labels]
First crash: 316d, last: 270d
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 18d 49d 0/26 moderation: reported on 2024/04/01 04:07
upstream KCSAN: data-race in fifo_open / wait_for_partner (4) fs 8 103d 162d 0/26 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 354d 751d 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 798d 1260d 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 0xffff888167135eac of 4 bytes by task 12876 on cpu 0:
 put_pipe_info fs/pipe.c:706 [inline]
 fifo_open+0x2a6/0x5e0 fs/pipe.c:1219
 do_dentry_open+0x5cd/0xaf0 fs/open.c:914
 vfs_open+0x4a/0x50 fs/open.c:1048
 do_open fs/namei.c:3636 [inline]
 path_openat+0x17f2/0x1d10 fs/namei.c:3793
 do_filp_open+0xf6/0x200 fs/namei.c:3820
 do_sys_openat2+0xab/0x110 fs/open.c:1407
 do_sys_open fs/open.c:1422 [inline]
 __do_sys_openat fs/open.c:1438 [inline]
 __se_sys_openat fs/open.c:1433 [inline]
 __x64_sys_openat+0xf3/0x120 fs/open.c:1433
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff888167135eac of 4 bytes by task 12889 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:1086
 fifo_open+0x483/0x5e0 fs/pipe.c:1153
 do_dentry_open+0x5cd/0xaf0 fs/open.c:914
 vfs_open+0x4a/0x50 fs/open.c:1048
 do_open fs/namei.c:3636 [inline]
 path_openat+0x17f2/0x1d10 fs/namei.c:3793
 do_filp_open+0xf6/0x200 fs/namei.c:3820
 do_sys_openat2+0xab/0x110 fs/open.c:1407
 do_sys_open fs/open.c:1422 [inline]
 __do_sys_open fs/open.c:1430 [inline]
 __se_sys_open fs/open.c:1426 [inline]
 __x64_sys_open+0xe6/0x110 fs/open.c:1426
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00000002 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 12889 Comm: syz-executor.1 Not tainted 6.5.0-rc7-syzkaller-00022-ga5e505a99ca7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/24 09:42 upstream a5e505a99ca7 4d7ae7ab .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fifo_open / wait_for_partner
2023/08/01 15:25 upstream 5d0c230f1de8 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fifo_open / wait_for_partner
2023/07/09 23:11 upstream 06c2afb862f9 668cb1fa .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.