syzbot


KCSAN: data-race in pipe_poll / pipe_release (3)

Status: auto-closed as invalid on 2022/04/01 01:04
Subsystems: fs
[Documentation on labels]
First crash: 790d, last: 790d
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 1226d 1226d 0/26 auto-closed as invalid on 2021/01/19 18:58
upstream KCSAN: data-race in pipe_poll / pipe_release (4) fs 1 49d 49d 0/26 auto-obsoleted due to no activity on 2024/04/10 23:01
upstream KCSAN: data-race in pipe_poll / pipe_release fs 3 1556d 1622d 0/26 auto-closed as invalid on 2020/03/30 06:30

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

write to 0xffff888130644128 of 4 bytes by task 19271 on cpu 1:
 pipe_release+0xc1/0x1e0 fs/pipe.c:722
 __fput+0x295/0x520 fs/file_table.c:317
 ____fput+0x11/0x20 fs/file_table.c:350
 task_work_run+0x8e/0x110 kernel/task_work.c:164
 exit_task_work include/linux/task_work.h:32 [inline]
 do_exit+0x5d6/0x16a0 kernel/exit.c:806
 do_group_exit+0x8b/0x160 kernel/exit.c:935
 __do_sys_exit_group+0xb/0x10 kernel/exit.c:946
 __se_sys_exit_group+0x5/0x10 kernel/exit.c:944
 __x64_sys_exit_group+0x16/0x20 kernel/exit.c:944
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888130644128 of 4 bytes by task 1799 on cpu 0:
 pipe_poll+0x181/0x260 fs/pipe.c:680
 vfs_poll include/linux/poll.h:88 [inline]
 ep_item_poll fs/eventpoll.c:853 [inline]
 ep_send_events fs/eventpoll.c:1692 [inline]
 ep_poll fs/eventpoll.c:1806 [inline]
 do_epoll_wait+0x6b7/0xf40 fs/eventpoll.c:2234
 do_epoll_pwait fs/eventpoll.c:2268 [inline]
 __do_sys_epoll_pwait fs/eventpoll.c:2281 [inline]
 __se_sys_epoll_pwait+0x12b/0x240 fs/eventpoll.c:2275
 __x64_sys_epoll_pwait+0x74/0x80 fs/eventpoll.c:2275
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000001 -> 0x00000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 1799 Comm: syz-fuzzer Not tainted 5.17.0-rc5-syzkaller-00041-g73878e5eb1bd-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/02/25 00:55 upstream 73878e5eb1bd b28851a4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in pipe_poll / pipe_release
* Struck through repros no longer work on HEAD.