syzbot


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

Status: auto-obsoleted due to no activity on 2024/03/08 13:45
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+ad79ac1cfe402399a64b@syzkaller.appspotmail.com
First crash: 347d, last: 347d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in pipe_release / wait_for_partner fs 1 1542d 1542d 0/28 auto-closed as invalid on 2020/11/29 14:47

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

read-write to 0xffff88812e0a196c of 4 bytes by task 5906 on cpu 1:
 put_pipe_info fs/pipe.c:722 [inline]
 pipe_release+0x164/0x1c0 fs/pipe.c:752
 __fput+0x299/0x630 fs/file_table.c:376
 __fput_sync+0x44/0x50 fs/file_table.c:461
 __do_sys_close fs/open.c:1554 [inline]
 __se_sys_close+0xfa/0x1a0 fs/open.c:1539
 __x64_sys_close+0x1f/0x30 fs/open.c:1539
 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 0xffff88812e0a196c of 4 bytes by task 5899 on cpu 0:
 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_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

value changed: 0x00000002 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 5899 Comm: syz-executor.0 Not tainted 6.8.0-rc2-syzkaller-00199-g021533194476 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/02 13:44 upstream 021533194476 d61103fc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in pipe_release / wait_for_partner
* Struck through repros no longer work on HEAD.