KCSAN: data-race in pipe_lock / pipe_release (18)

Status: moderation: reported on 2026/10/21 01:39
Subsystems: fs
Labels: race:benign
[Documentation on labels]
Reported-by: syzbot+c4a4cf7debda88305d2b@syzkaller.appspotmail.com
First crash: 20h15m, last: 20h15m
▶ ▼ ✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
459e0e41 assessment-kcsan Benign: ✅ ❓ KCSAN: data-race in pipe_lock / pipe_release (18) 2026/10/21 02:22 2026/10/21 02:22 2026/10/21 03:02 61c200c7
▶ ▼ Similar bugs (17)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in pipe_lock / pipe_release (5) fs 6 1 1772d 1772d 0/29 auto-closed as invalid on 2022/01/18 04:35
upstream KCSAN: data-race in pipe_lock / pipe_release (8) fs 6 1 1520d 1520d 0/29 auto-closed as invalid on 2022/09/27 07:59
upstream KCSAN: data-race in pipe_lock / pipe_release (16) fs 6 5 293d 455d 0/29 auto-obsoleted due to no activity on 2026/02/26 17:04
upstream KCSAN: data-race in pipe_lock / pipe_release (13) fs 6 1 975d 975d 0/29 auto-obsoleted due to no activity on 2024/03/25 04:35
upstream KCSAN: data-race in pipe_lock / pipe_release (15) fs 6 3 635d 707d 0/29 auto-obsoleted due to no activity on 2025/03/21 15:25
upstream KCSAN: data-race in pipe_lock / pipe_release (4) fs 6 1 2033d 2033d 0/29 auto-closed as invalid on 2021/05/02 03:19
upstream KCSAN: data-race in pipe_lock / pipe_release (11) fs 6 1 1121d 1121d 0/29 auto-obsoleted due to no activity on 2023/10/31 07:05
upstream KCSAN: data-race in pipe_lock / pipe_release (17) prio:low fs 6 3 196d 235d 0/29 auto-obsoleted due to no activity on 2026/06/03 04:35
upstream KCSAN: data-race in pipe_lock / pipe_release (14) fs 6 2 864d 866d 0/29 auto-obsoleted due to no activity on 2024/07/14 01:56
upstream KCSAN: data-race in pipe_lock / pipe_release (6) fs 6 2 1699d 1701d 0/29 auto-closed as invalid on 2022/04/01 19:16
upstream KCSAN: data-race in pipe_lock / pipe_release (9) fs 6 6 1265d 1395d 0/29 auto-obsoleted due to no activity on 2023/06/09 03:35
upstream KCSAN: data-race in pipe_lock / pipe_release fs 6 2 2299d 2316d 0/29 auto-closed as invalid on 2020/08/09 18:16
upstream KCSAN: data-race in pipe_lock / pipe_release (3) fs 6 1 2191d 2191d 0/29 auto-closed as invalid on 2020/11/25 12:55
upstream KCSAN: data-race in pipe_lock / pipe_release (12) fs 6 1 1029d 1029d 0/29 auto-obsoleted due to no activity on 2024/01/31 07:04
upstream KCSAN: data-race in pipe_lock / pipe_release (7) fs 6 2 1631d 1659d 0/29 auto-closed as invalid on 2022/06/08 19:34
upstream KCSAN: data-race in pipe_lock / pipe_release (10) fs 6 2 1202d 1223d 0/29 auto-obsoleted due to no activity on 2023/08/10 23:17
upstream KCSAN: data-race in pipe_lock / pipe_release (2) fs 6 1 2241d 2241d 0/29 auto-closed as invalid on 2020/10/06 00:08

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

read-write to 0xffff88812966a564 of 4 bytes by task 5911 on cpu 0:
 put_pipe_info fs/pipe.c:797 [inline]
 pipe_release+0x16a/0x1d0 fs/pipe.c:827
 __fput+0x286/0x610 fs/file_table.c:512
 fput_close_sync+0xad/0x190 fs/file_table.c:618
 filp_close_sync+0x27/0x40 fs/open.c:1573
 __range_close fs/file.c:919 [inline]
 __do_sys_close_range fs/file.c:1003 [inline]
 __se_sys_close_range+0x915/0xa00 fs/file.c:954
 __x64_sys_close_range+0x43/0x50 fs/file.c:954
 x64_sys_call+0x2198/0x2550 arch/x86/include/generated/asm/syscalls_64.h:437
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff88812966a564 of 4 bytes by task 5912 on cpu 1:
 pipe_lock+0x17/0x50 fs/pipe.c:90
 iter_file_splice_write+0x11f/0xa60 fs/splice.c:682
 do_splice_from fs/splice.c:936 [inline]
 do_splice+0x823/0xf80 fs/splice.c:1377
 __do_splice fs/splice.c:1459 [inline]
 __do_sys_splice fs/splice.c:1662 [inline]
 __se_sys_splice+0x26c/0x3a0 fs/splice.c:1644
 __x64_sys_splice+0x78/0x90 fs/splice.c:1644
 x64_sys_call+0x1797/0x2550 arch/x86/include/generated/asm/syscalls_64.h:276
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x00000002 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 5912 Comm: syz.4.634 Not tainted syzkaller #0 PREEMPT(lazy) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/21 01:39 upstream 4cbdd58dfa7a df8746fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in pipe_lock / pipe_release
* Struck through repros no longer work on HEAD.