syzbot


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

Status: auto-closed as invalid on 2021/04/15 21:34
Subsystems: fs
[Documentation on labels]
First crash: 1140d, last: 1140d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in pipe_release / pipe_wait_readable (5) fs 1 285d 285d 0/26 auto-obsoleted due to no activity on 2023/08/18 19:43
upstream KCSAN: data-race in pipe_release / pipe_wait_readable (6) fs 1 190d 190d 0/26 auto-obsoleted due to no activity on 2023/11/21 12:39
upstream KCSAN: data-race in pipe_release / pipe_wait_readable fs 1 1300d 1300d 0/26 auto-closed as invalid on 2020/11/06 19:13
upstream KCSAN: data-race in pipe_release / pipe_wait_readable (4) fs 2 890d 897d 0/26 auto-closed as invalid on 2021/12/21 16:44
upstream KCSAN: data-race in pipe_release / pipe_wait_readable (2) fs 1 1188d 1188d 0/26 auto-closed as invalid on 2021/02/26 20:27

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

write to 0xffff88801dc131f0 of 4 bytes by task 22568 on cpu 1:
 put_pipe_info fs/pipe.c:688 [inline]
 pipe_release+0x186/0x1e0 fs/pipe.c:718
 __fput+0x263/0x4f0 fs/file_table.c:280
 ____fput+0x11/0x20 fs/file_table.c:313
 task_work_run+0x8e/0x110 kernel/task_work.c:140
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:174 [inline]
 exit_to_user_mode_prepare+0x17c/0x1b0 kernel/entry/common.c:208
 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
 syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:301
 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff88801dc131f0 of 4 bytes by task 22564 on cpu 0:
 pipe_lock_nested fs/pipe.c:65 [inline]
 pipe_lock fs/pipe.c:74 [inline]
 pipe_wait_readable+0x1e9/0x230 fs/pipe.c:1031
 splice_from_pipe_next+0x25e/0x3b0 fs/splice.c:499
 __splice_from_pipe+0xaa/0x500 fs/splice.c:560
 vmsplice_to_user fs/splice.c:1229 [inline]
 __do_sys_vmsplice fs/splice.c:1324 [inline]
 __se_sys_vmsplice+0x201/0x530 fs/splice.c:1296
 __x64_sys_vmsplice+0x51/0x60 fs/splice.c:1296
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 22564 Comm: syz-executor.2 Not tainted 5.12.0-rc2-syzkaller #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
2021/03/11 21:27 upstream 28806e4d9b97 429d8a6b .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in pipe_release / pipe_wait_readable
* Struck through repros no longer work on HEAD.