syzbot


KCSAN: data-race in pipe_poll / pipe_release

Status: auto-closed as invalid on 2020/03/30 06:30
Subsystems: fs
[Documentation on labels]
First crash: 1616d, last: 1551d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in pipe_poll / pipe_release (2) fs 1 1220d 1220d 0/26 auto-closed as invalid on 2021/01/19 18:58
upstream KCSAN: data-race in pipe_poll / pipe_release (3) fs 1 784d 784d 0/26 auto-closed as invalid on 2022/04/01 01:04
upstream KCSAN: data-race in pipe_poll / pipe_release (4) fs 1 43d 43d 0/26 auto-obsoleted due to no activity on 2024/04/10 23:01

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

read to 0xffff8881253d804c of 4 bytes by task 8025 on cpu 0:
 pipe_poll+0x11b/0x230 fs/pipe.c:642
 vfs_poll include/linux/poll.h:90 [inline]
 do_select+0x7d0/0x1020 fs/select.c:534
 core_sys_select+0x312/0x650 fs/select.c:677
 do_pselect.constprop.0+0x11d/0x160 fs/select.c:759
 __do_sys_pselect6 fs/select.c:784 [inline]
 __se_sys_pselect6 fs/select.c:769 [inline]
 __x64_sys_pselect6+0x12e/0x170 fs/select.c:769
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

write to 0xffff8881253d804c of 4 bytes by task 8341 on cpu 1:
 pipe_release+0xd6/0x170 fs/pipe.c:684
 __fput+0x1e1/0x520 fs/file_table.c:280
 ____fput+0x1f/0x30 fs/file_table.c:313
 task_work_run+0xf6/0x130 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x545/0x18c0 kernel/exit.c:797
 do_group_exit+0xb4/0x1c0 kernel/exit.c:895
 __do_sys_exit_group kernel/exit.c:906 [inline]
 __se_sys_exit_group kernel/exit.c:904 [inline]
 __x64_sys_exit_group+0x2e/0x30 kernel/exit.c:904
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 8341 Comm: passwd Not tainted 5.5.0-rc1-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
2020/01/20 06:25 https://github.com/google/ktsan.git kcsan 245a43005292 0342f8c7 .config console log report ci2-upstream-kcsan-gce
2020/01/06 06:26 https://github.com/google/ktsan.git kcsan 245a43005292 438e1227 .config console log report ci2-upstream-kcsan-gce
2019/11/15 12:28 https://github.com/google/ktsan.git kcsan 5863cc791e4c 79248ee8 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.