syzbot


KCSAN: data-race in do_splice / pipe_write (3)

Status: auto-obsoleted due to no activity on 2023/08/07 20:14
Subsystems: fs
[Documentation on labels]
First crash: 298d, last: 298d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_splice / pipe_write fs 1 1345d 1345d 0/26 auto-closed as invalid on 2020/09/24 19:27
upstream KCSAN: data-race in do_splice / pipe_write (2) fs 2 1181d 1181d 0/26 auto-closed as invalid on 2021/03/08 12:19

Sample crash report:
==================================================================
BUG: KCSAN: data-race in do_splice / pipe_write

write to 0xffff888162e7ca10 of 4 bytes by task 10371 on cpu 0:
 pipe_write+0x332/0xde0 fs/pipe.c:518
 call_write_iter include/linux/fs.h:1871 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x4ab/0x7d0 fs/read_write.c:584
 ksys_write+0xeb/0x1a0 fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __x64_sys_write+0x42/0x50 fs/read_write.c:646
 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

read to 0xffff888162e7ca10 of 4 bytes by task 10360 on cpu 1:
 ipipe_prep fs/splice.c:1605 [inline]
 splice_pipe_to_pipe fs/splice.c:1684 [inline]
 do_splice+0x1c9/0xf70 fs/splice.c:1270
 __do_splice fs/splice.c:1373 [inline]
 __do_sys_splice fs/splice.c:1584 [inline]
 __se_sys_splice+0x24c/0x380 fs/splice.c:1566
 __x64_sys_splice+0x78/0x90 fs/splice.c:1566
 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: 0x00000001 -> 0x00000002

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 10360 Comm: syz-executor.2 Tainted: G        W          6.4.0-syzkaller-10207-g99bdeae21d25 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/03 20:03 upstream 99bdeae21d25 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_splice / pipe_write
* Struck through repros no longer work on HEAD.