syzbot


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

Status: auto-closed as invalid on 2022/04/01 01:04
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 281d, last: 281d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in pipe_poll / pipe_release (2) 1 717d 717d 0/24 auto-closed as invalid on 2021/01/19 18:58
upstream KCSAN: data-race in pipe_poll / pipe_release 3 1047d 1113d 0/24 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):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/02/25 00:55 upstream 73878e5eb1bd b28851a4 .config log report info KCSAN: data-race in pipe_poll / pipe_release
* Struck through repros no longer work on HEAD.