syzbot


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

Status: auto-obsoleted due to no activity on 2023/04/06 01:17
Subsystems: fs
[Documentation on labels]
First crash: 461d, last: 461d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in opipe_prep / pipe_write (2) fs 1 817d 817d 0/26 auto-closed as invalid on 2022/03/11 16:40
upstream KCSAN: data-race in opipe_prep / pipe_write fs 1 984d 984d 0/26 auto-closed as invalid on 2021/09/25 17:57

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

write to 0xffff88813bd807d0 of 4 bytes by task 14743 on cpu 1:
 pipe_write+0x4bd/0xdd0 fs/pipe.c:517
 call_write_iter include/linux/fs.h:2189 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x468/0x760 fs/read_write.c:584
 ksys_write+0xe8/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+0x3e/0x50 fs/read_write.c:646
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff88813bd807d0 of 4 bytes by task 14742 on cpu 0:
 opipe_prep+0x25/0x200 fs/splice.c:1403
 do_tee+0x292/0x620 fs/splice.c:1685
 __do_sys_tee fs/splice.c:1710 [inline]
 __se_sys_tee+0x99/0x130 fs/splice.c:1694
 __x64_sys_tee+0x51/0x60 fs/splice.c:1694
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00000000 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 14742 Comm: syz-executor.5 Not tainted 6.2.0-rc5-syzkaller-00045-g948ef7bb70c4-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/26 01:00 upstream 948ef7bb70c4 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in opipe_prep / pipe_write
* Struck through repros no longer work on HEAD.