syzbot


KCSAN: data-race in pipe_double_lock / put_pipe_info (2)

Status: auto-closed as invalid on 2021/07/27 00:42
Subsystems: fs
[Documentation on labels]
First crash: 1041d, last: 1039d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in pipe_double_lock / put_pipe_info fs 79 1408d 1470d 0/26 auto-closed as invalid on 2020/07/23 00:05

Sample crash report:
==================================================================
BUG: KCSAN: data-race in pipe_double_lock / put_pipe_info

write to 0xffff88812c5e666c of 4 bytes by task 26937 on cpu 1:
 put_pipe_info+0x3d/0xe0 fs/pipe.c:688
 pipe_release+0x15e/0x170 fs/pipe.c:718
 __fput+0x25b/0x4e0 fs/file_table.c:280
 ____fput+0x11/0x20 fs/file_table.c:313
 task_work_run+0xae/0x130 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
 exit_to_user_mode_prepare+0x156/0x190 kernel/entry/common.c:209
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:302
 do_syscall_64+0x56/0x90 arch/x86/entry/common.c:57
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff88812c5e666c of 4 bytes by task 26959 on cpu 0:
 pipe_lock_nested fs/pipe.c:65 [inline]
 pipe_double_lock+0x79/0xe0 fs/pipe.c:102
 splice_pipe_to_pipe fs/splice.c:1463 [inline]
 do_splice+0x311/0xd30 fs/splice.c:1054
 __do_splice fs/splice.c:1144 [inline]
 __do_sys_splice fs/splice.c:1350 [inline]
 __se_sys_splice+0x2a6/0x390 fs/splice.c:1332
 __x64_sys_splice+0x74/0x80 fs/splice.c:1332
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000002 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 26959 Comm: syz-executor.1 Not tainted 5.13.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/22 00:39 upstream a96bfed64c89 aba2b2fb .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in pipe_double_lock / put_pipe_info
2021/06/20 02:01 upstream 913ec3c22ef4 aba2b2fb .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in pipe_double_lock / put_pipe_info
* Struck through repros no longer work on HEAD.