syzbot


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

Status: auto-obsoleted due to no activity on 2023/11/21 12:39
Subsystems: fs
[Documentation on labels]
First crash: 198d, last: 198d
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 292d 292d 0/26 auto-obsoleted due to no activity on 2023/08/18 19:43
upstream KCSAN: data-race in pipe_release / pipe_wait_readable fs 1 1307d 1307d 0/26 auto-closed as invalid on 2020/11/06 19:13
upstream KCSAN: data-race in pipe_release / pipe_wait_readable (3) fs 1 1147d 1147d 0/26 auto-closed as invalid on 2021/04/15 21:34
upstream KCSAN: data-race in pipe_release / pipe_wait_readable (4) fs 2 897d 905d 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 1195d 1195d 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

read-write to 0xffff88813b02d42c of 4 bytes by task 21114 on cpu 0:
 put_pipe_info fs/pipe.c:705 [inline]
 pipe_release+0x164/0x1c0 fs/pipe.c:735
 __fput+0x2fd/0x5f0 fs/file_table.c:384
 ____fput+0x15/0x20 fs/file_table.c:412
 task_work_run+0x135/0x1a0 kernel/task_work.c:180
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xd6/0xe0 kernel/entry/common.c:171
 exit_to_user_mode_prepare+0x6c/0xb0 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
 syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:296
 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff88813b02d42c of 4 bytes by task 21105 on cpu 1:
 pipe_lock_nested fs/pipe.c:81 [inline]
 pipe_lock fs/pipe.c:90 [inline]
 pipe_wait_readable+0x1ec/0x240 fs/pipe.c:1053
 splice_from_pipe_next+0x24e/0x390 fs/splice.c:547
 __splice_from_pipe+0xb0/0x4a0 fs/splice.c:608
 vmsplice_to_user fs/splice.c:1458 [inline]
 __do_sys_vmsplice fs/splice.c:1560 [inline]
 __se_sys_vmsplice+0x260/0xda0 fs/splice.c:1532
 __x64_sys_vmsplice+0x55/0x60 fs/splice.c:1532
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00000002 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 21105 Comm: syz-executor.3 Not tainted 6.6.0-rc6-syzkaller-00029-g213f891525c2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/17 12:36 upstream 213f891525c2 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in pipe_release / pipe_wait_readable
* Struck through repros no longer work on HEAD.