syzbot


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

Status: auto-obsoleted due to no activity on 2026/01/08 09:41
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+69b7188cba763e6a521d@syzkaller.appspotmail.com
First crash: 58d, last: 58d
Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in pipe_release / pipe_wait_readable (5) fs 6 1 911d 911d 0/29 auto-obsoleted due to no activity on 2023/08/18 19:43
upstream KCSAN: data-race in pipe_release / pipe_wait_readable (7) fs 6 1 592d 592d 0/29 auto-obsoleted due to no activity on 2024/07/03 04:49
upstream KCSAN: data-race in pipe_release / pipe_wait_readable (6) fs 6 1 816d 816d 0/29 auto-obsoleted due to no activity on 2023/11/21 12:39
upstream KCSAN: data-race in pipe_release / pipe_wait_readable fs 6 1 1926d 1926d 0/29 auto-closed as invalid on 2020/11/06 19:13
upstream KCSAN: data-race in pipe_release / pipe_wait_readable (3) fs 6 1 1766d 1766d 0/29 auto-closed as invalid on 2021/04/15 21:34
upstream KCSAN: data-race in pipe_release / pipe_wait_readable (4) fs 6 2 1516d 1524d 0/29 auto-closed as invalid on 2021/12/21 16:44
upstream KCSAN: data-race in pipe_release / pipe_wait_readable (2) fs 6 1 1814d 1814d 0/29 auto-closed as invalid on 2021/02/26 20:27
upstream KCSAN: data-race in pipe_release / pipe_wait_readable (8) fs 6 1 538d 538d 0/29 auto-obsoleted due to no activity on 2024/08/26 01:03

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

read-write to 0xffff88811d7badec of 4 bytes by task 8162 on cpu 0:
 put_pipe_info fs/pipe.c:714 [inline]
 pipe_release+0x16a/0x1d0 fs/pipe.c:744
 __fput+0x29b/0x650 fs/file_table.c:468
 ____fput+0x1c/0x30 fs/file_table.c:496
 task_work_run+0x131/0x1a0 kernel/task_work.c:227
 get_signal+0xe12/0xf70 kernel/signal.c:2807
 arch_do_signal_or_restart+0x96/0x440 arch/x86/kernel/signal.c:337
 exit_to_user_mode_loop+0x77/0x110 kernel/entry/common.c:40
 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline]
 syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline]
 do_syscall_64+0x1d6/0x200 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff88811d7badec of 4 bytes by task 8170 on cpu 1:
 pipe_lock fs/pipe.c:90 [inline]
 pipe_wait_readable+0x1c2/0x210 fs/pipe.c:1077
 ipipe_prep fs/splice.c:1669 [inline]
 do_tee+0x1fc/0x910 fs/splice.c:1963
 __do_sys_tee fs/splice.c:1995 [inline]
 __se_sys_tee+0x93/0x130 fs/splice.c:1979
 __x64_sys_tee+0x55/0x70 fs/splice.c:1979
 x64_sys_call+0xb7d/0x3000 arch/x86/include/generated/asm/syscalls_64.h:277
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x00000002 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 8170 Comm: syz.0.1654 Tainted: G        W           syzkaller #0 PREEMPT(voluntary) 
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/13 09:41 upstream e927c520e1ba 07e030de .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.